-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump certifi #1080
Bump certifi #1080
Conversation
@joshmoore any idea why this is necessary? here's the log from a failed run. |
This last time I looked into this, I think I got dug long enough to find out that "conda and pip don't work flawlessly together". (cF. pypa/pip#5247) This is where the
Another option would be to try to force conda use the version of certifi that pip is expecting. NB: something I found while searching around that might be worth a second look -- https://picky-conda.readthedocs.io/en/latest/ |
Codecov Report
@@ Coverage Diff @@
## master #1080 +/- ##
=======================================
Coverage 90.81% 90.81%
=======================================
Files 164 164
Lines 6151 6151
=======================================
Hits 5586 5586
Misses 565 565 Continue to review full report at Codecov.
|
Looks like flags in the pip section of further confirmed with https://travis-ci.com/spacetx/starfish/builds/104144068 |
It seems like Docker build can't deal with requests to install older versions of certifi other than is installed by travis by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections to the bump, but I'm not completely aware of possible impact to existing virtualenvs/condas. Would it be an option to filter this out of the strict list?
Another alternative I've found is to use a pip config file:
$ head *
==> config <==
[install]
ignore-installed = true
==> Dockerfile <==
FROM continuumio/miniconda3
RUN useradd -m starfish
USER starfish
# Set up the initial conda environment
COPY --chown=starfish:starfish environment.yml /src/environment.yml
COPY --chown=starfish:starfish REQUIREMENTS* /src/
COPY --chown=starfish:starfish config /src/
WORKDIR /src
ENV PIP_CONFIG_FILE=/src/config
==> environment.yml <==
name: test
channels:
- defaults
dependencies:
- python>=3.6
- pip:
- -r REQUIREMENTS.txt
==> REQUIREMENTS.txt <==
certifi==2018.11.29
I prefer this approach. |
Closing in favor of #1085 |
It seems like Docker build can't deal with requests to install older versions of certifi other than is installed by travis by default.