-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
pip freeze
on a fresh Miniconda env returns certifi @ file:///opt/conda/conda-bld/certifi_1655968806487/work/certifi
#11580
Comments
Right now, I'm running But, I imagine that won't work for many people who rely on actually capturing the packages that are affected by this. |
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨ Getting this as well. On Mac, getting:
I'm personally very surprised by this, since we pin everything; does miniconda automatically phone home to update + reinstall packages? (maybe this is related to
I can also workaround, but this seems like a major issue that should be fixed ASAP |
…ling from `reqs_stable-deps.txt` (see https://plwishmaster.stsci.edu:8081/job/Releases/job/JWSTDP/62/console, conda/conda#11580)
…ling from `reqs_stable-deps.txt` (see https://plwishmaster.stsci.edu:8081/job/Releases/job/JWSTDP/62/console, conda/conda#11580)
… to fix issue with installing from `reqs_stable-deps.txt` (see https://plwishmaster.stsci.edu:8081/job/Releases/job/JWSTDP/62/console, conda/conda#11580)
This is not a conda problem. It's the feedstock recipes for various packages interacting poorly with |
EDIT: See #11580 (comment). |
Encountered the same problem after running pip freeze. Although before that it was installing properly |
The introduction of https://peps.python.org/pep-0610/ |
For the conda envs I'm creating in container image builds, my workaround is this: find $CONDA_PREFIX/lib/python*/site-packages/ \
-maxdepth 2 -name direct_url.json \
-exec rm -f {} + |
Thank you for the links and additional context. The reason I'm still a bit confused is that, if |
That was a beta version of pip. After that:
Unfortunately, I don't know how to determine which version of pip was used to build a particular version of certifi. |
It looks like you are mainly using defaults, so if it's a feedstock issue, then it's this one. And the last commit there was pushed... 22 days ago 🕵️ |
- It is always better to pin deps. See below issue pip freeze with anaconda: https://stackoverflow.com/questions/66941260/pip-freeze-requirements-doesnt-work-well-with-anaconda conda/conda#11580
…a-packages are not included by following this suggestion conda/conda#11580 (comment)
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
Checklist
What happened?
On June 22nd, 2022, our GitHub Actions
ubuntu-latest
CI runs were working as usual.Then, on June 23rd, 2022, our CI workflow runs started failing with the following error:
I traced the source of the error to the following (reproducible) steps:
On my local Ubuntu 22.04 machine, running
pip freeze
prints:I believe this kind of output is what caused our CI error, since in our use-case, we
pip freeze
into arequirements.txt
file, then try topip install -r requirements.txt
. But, we can'tpip install
any@ file://
entries, as they don't exist. 😝Conda info
Conda config
Conda list
Additional Context
Before June 23rd, I was able to
pip freeze
and getcertifi==2022.6.15
, which is the latest version ofcertifi
as per conda-forge/certifi-feedstock@3ded6d9. So, I don't think this is an issue oncertifi
's end?Also, a quick GitHub-wide search for
certifi_1655968806487
returns my issue and1 other result21036 other results (so far).The
requirements.txt
file from the first result contains many@ file://
entries, leading me to believe that this issue is a conda-specific issue that affects more than just thecertifi
package.The text was updated successfully, but these errors were encountered: