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 lock fails for packages with compiled deps after version 2021.5.29

See original GitHub issue

Issue description

Lock fails for packages with compiled deps like pyicu with pipenv version > 2021.5.29 With version 2021.5.29 it works fine.

pipenv lock fails with this Pipefile :

url = ""
verify_ssl = true
name = "pypi"


PyICU = "*"


python_version = "3.7"

python version: 3.7.12 pipenv version: 2021.11.23

What i get:

[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Disabling PEP 517 processing is invalid: project specifies a build backend of setuptools.build_meta in pyproject.toml

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:11

github_iconTop GitHub Comments

radeklatcommented, Jan 12, 2022

New version release 2022.1.8 was released yesterday, could someone reporting the issue here check if still an issue with newest version?

I no longer see the issue 👍 Thank you for fixing the bug 🎉

scott-sumcommented, Jan 12, 2022

works for me too now, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix locking failed in pipenv? - Stack Overflow
It seems like a library is requiring a version >= importlib-metadata 2.0 . When I pinned the following dependencies it didn't work at...
Read more >
pipenv Documentation - Read the Docs
Generates and checks file hashes for locked dependencies when installing from Pipfile.lock. • Automatically install required Python version when pyenv is ...
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
The second most common reason locking fails is that we attempt to install a package that is a pre-release version. You can resolve...
Read more >
pipenv · PyPI
Generates and checks file hashes for locked dependencies. ... You can install packages with pipenv from git and other version control systems using...
Read more >
30371 (Use pipenv to create venv for development) - Sage Trac
Moreover, the installation of some packages might fail (depending on your system ... could be compiled successfully since they rely on external dependencies...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found