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 22.1
and setuptools 62.2.0
break installation with --upgrade --no-binary :all:
options
#713
Comments
Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the GH issue is fixed.
This seems to happen during the install of the dependency pyparsing, processing build_reqs = ['railroad-diagrams ; extra == "diagrams"', 'jinja2 ; extra == "diagrams"'] I think this might be fixed by: I think the breaking requirement was introduced by a change to pyparsing released a few days ago in 3.0.9: |
…tion issues Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the issue is fixed.
…tion issues Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the issue is fixed.
…tion issues Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the issue is fixed.
…tion issues (#1867) Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the issue is fixed.
As @lathiat mentioned, pypa/pip#11112 could fix this issue. |
Would a negative match for the pyparsing version help as downstream workaround |
Installing pip from git master makes thing work for me again, so I'd assume this issue will be gone with the next release of pip. |
That is a good point, it works for me. |
Is this still relevant? I see a mention for a merged PR. |
A new pip release happened eventually, fixing the issue. |
Seems like the most recent
pip
andsetuptools
versions break thesetuptools_scm
installation when attempting an install with--upgrade --no-binary :all:
options.The installation process ends with an exception
pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.
and other error messages.Steps to reproduce
Expected behaviour
setuptools_scm
is installed with no error messages.Workaround
Pin
pip==22.0.4
andsetuptools==62.1.0
The text was updated successfully, but these errors were encountered: