pipenv 2021.11.5 regresses back to issue #2961
See original GitHub issueIssue description
It appears that issue https://github.com/pypa/pipenv/issues/2961 has returned. This is occurring on a mac.
Expected result
pipenv should operate without throwing an exception.
Actual result
Traceback (most recent call last):
File "/Users/buildgimp/.new_local/bin/pipenv", line 5, in <module>
from pipenv import cli
File "/Users/buildgimp/.new_local/lib/python/site-packages/pipenv/__init__.py", line 22, in <module>
from pipenv.vendor.vistir.compat import ResourceWarning, fs_str
File "/Users/buildgimp/.new_local/lib/python/site-packages/pipenv/vendor/vistir/__init__.py", line 4, in <module>
from .compat import (
File "/Users/buildgimp/.new_local/lib/python/site-packages/pipenv/vendor/vistir/compat.py", line 13, in <module>
from .backports.tempfile import NamedTemporaryFile as _NamedTemporaryFile
File "/Users/buildgimp/.new_local/lib/python/site-packages/pipenv/vendor/vistir/backports/__init__.py", line 6, in <module>
from .tempfile import NamedTemporaryFile
File "/Users/buildgimp/.new_local/lib/python/site-packages/pipenv/vendor/vistir/backports/tempfile.py", line 15, in <module>
from backports.weakref import finalize
ImportError: No module named weakref
Steps to replicate
Pipenv is deeply embedded in a jhbuild install, so not able to extract to exactly reproduce. But it appears that pipenv is simply not functioning at all.
“Workaround”
pip install --upgrade --user pipenv==2021.5.29
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Release and Version History — pipenv 2022.12.20.dev0 ...
Fix regression: pipenv does not sync indexes to lockfile. ... Roll back sysconfig patch of pip because it was problematic for some --system...
Read more >pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >pipenv>2021.11.23 will fail to install package in docker ...
I faced issue that packages are installing which was working fine some days back so I tried whole day to check where is...
Read more >2020608 – pipenv-2022.5.2 is available - Red Hat Bugzilla
Bug 2020608 - pipenv-2022.5.2 is available ... Latest upstream release: 2021.11.5 Current version/release in rawhide: 2021.5.29-4.fc35 URL: ...
Read more >Add example of using EDNS0 options - Rthalley/Dnspython
This issue has been created since 2021-10-13. ... pipenv 2021.11.5 regresses back to issue #2961, 8, 2021-11-06, 2022-12-15.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Does this mean that things will start working again during builds without the workaround?
If you could please ping us when it’s out, that would be great.
Thank you for your help! 🙏🏼
I’m not using the workaround anymore. I think the issue has been fixed (but I’m not quite sure what I did so I’m not certain).