Open bregnery opened 5 years ago
Instead of trying to install the requirements and then the package did you try to just install the package directly? e.g. just:
$ pip install rpm/gempython_gemplotting-1.3.1-dev1.dev45.zip
Here pip
should look at the package, see what it requires, attempt to automatically install the requirements and then install the package. There might be an issue in the requirements
txt file but I expect installing the package itself would work.
I tried that and it failed. I don't have the error message. I could try again tomorrow with a new virtual environment and put the error message here.
Sorry, two separate issues here:
pip install -U -r requirements-dev.txt
should be used in the developing environment (these packages are required for running the build process)pip install -U -r requirements.txt
should be run in the testing environmentThese two steps are what the .ci/test_on_docker.sh
script is basically doing
These environments can be the same
The second issue is that requirements-dev.txt
seems broken currently, but should double check with the correct syntax (using -U
for upgrade, in addition to -r
to specify the requirements file)
Getting pip to install the correct packages in the virtual environment results in conflicts.
Types of issue
Expected Behavior
Then, the package is ready to use in the vitual environment
Current Behavior
Steps to Reproduce (for bugs)
Follow commands in current behavior
Possible Solution (for bugs)
Update
requirements-dev.txt
to be used with the commands contained in.ci/test_on_docker.sh
This correctly installs the package in the virtual environment
Context (for feature requests)
Trying to install package in virtual environment
Your Environment