The current yaml-file tells circleCI to pip install loanpy - i.e. the latest stable version on pypi. I can't make a new stable release for every minor change I make. But I want to run all the tests for every minor change I make. Therefore, I must change the yaml file, so that it pip installs from the latest commit. A quick web search for "pip install from github" led me to: https://pythoninoffice.com/python-pip-install-from-github/
python3.9 -m pip install git+https://github.com/martino-vic/[email protected]
Collecting git+https://github.com/martino-vic/[email protected]
Cloning https://github.com/martino-vic/loanpy.git (to revision 2.0-beta) to /tmp/pip-req-build-euxg2hai
Running command git clone --filter=blob:none --quiet https://github.com/martino-vic/loanpy.git /tmp/pip-req-build-euxg2hai
Resolved https://github.com/martino-vic/loanpy.git to commit c345c9912aec7c742d5c7778e1e6534a0cb2478b
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
/home/viktor/Documents/cldfvenv3.9/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running egg_info
creating /tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info
writing /tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-snob2_1c/loanpy.egg-info/SOURCES.txt'
error: package directory 'loanpy' does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.