question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pipenv 2021.11.5 regresses back to issue #2961

See original GitHub issue

Issue 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:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
majg0commented, Nov 8, 2021

yank the release of that problematic release

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! 🙏🏼

0reactions
lukasocommented, Dec 13, 2021

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found