-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
2022.10.10 install fails with "inconsistent version: filename has '20.0.5', but metadata has '0.0.0'" #5398
Comments
I believe this is due to the change to no_build_isolation from #5366. I hit this with setuptools SCM, are you using that as well? |
This is unfortunate; the no build isolation change has a lot of devils in the details with reasons to want it both ways, I wish their was a hybrid approach--what is the story with setuptools SCM? |
not setuptools-scm, but setuptools-git-versioning which is similar |
This is the simplest reproduction I could come up with that matches how we ran into internally. For better or worse, in my case an updated pip/setuptools combo let's me get past it, because it picks up the info from pyproject.toml: https://github.com/steved/pipenv-isolation-repro. |
If it continues to be an issue, you could also try installing those packages as a prerequisite -- there are some similar examples on this issue report here: #5391 |
Hmmm, so I wonder if it would be better to default back to build isolation -- there is only one failing test and I can fix it by requiring for that case that |
|
I can confirm that this resolved the issue for me. big thank you to @matteius |
Issue description
pipenv install fails with below error in 2022.10.10, works ok in previous builds running 2022.10.4
Expected result
I'm expecting it to install all of our libraries
Actual result
Seems to be failing on our (private) library called
pygain-lib
because of some confusion around the version being0.0.0
. However I can't find anything in the tarball of that library referencing0.0.0
.Steps to replicate
(this works fine if I pin to 2022.10.4)
pipenv install --dev -v
I'd be happy to provide
pipenv --support
output in a non-public place to avoid disclosing any info hereThe text was updated successfully, but these errors were encountered: