-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Don't run regen-sbom in regen-all - it requires internet access #114240
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
Comments
Note that |
@befeleme Apologies for the added friction! I would like to keep |
I've implemented my proposal in this PR: #114255 |
It is, but it's not a part of |
The script and make target, added in Python 3.13.0a3, assumes a fixed location of pip wheel and other bundled libraries, resulting in an error and failed build when not found. Reported upstream: python#114240 and python#114244
The script and make target, added in Python 3.13.0a3, assumes a fixed location of pip wheel and other bundled libraries, resulting in an error and failed build when not found. Reported upstream: python#114240 and python#114244
This is still not working as expected. When the build happens offline:
This behavior was released in Python 3.12.2. |
The problem is from https://github.com/python/cpython/pull/114450/files#r1482058937 |
To clarify ours (= Fedora, i.e. including @befeleme) use case:
That combination indeed works, as was confirmed by @befeleme in #114450 (comment) However, we sometimes don't remove the ensurepip pip wheel. E.g. when we bootstrap new Python version or when the particular pip wheel version for a Fedora release is too old (or too new) for the given Python version. This happens for example with Python 3.12 on Fedora Linux 38 (our oldest still supported release). When we tried to update to 3.12.2, we had this combination:
That is when we have experienced the error. The same problem will likely happen when we try to update to 3.13.0a4 in Fedora Linux 38, unless fixed before the release. |
Apologies @hroncok, this would get fixed by moving the entire pip discovery process into the python/release-tools repository, something that I want to do for other reasons too. I've created this issue to track that work. |
The script and make target, added in Python 3.12.2, assumes a fixed location of pip wheel and other bundled libraries, resulting in an error and failed build when not found. Reported upstream: python#114240 and python#114244 Co-Authored-By: Tomáš Hrnčiar <[email protected]>
The script and make target, added in Python 3.12.2, assumes a fixed location of pip wheel and other bundled libraries, resulting in an error and failed build when not found. Reported upstream: python#114240 and python#114244 Co-Authored-By: Tomáš Hrnčiar <[email protected]>
Bug report
Bug description:
make regen-all
should be possible to run when building without the internet access.regen-sbom
hits PyPI to determine pip's metadata and exits if not successful, so it shouldn't be a part of theregen-all
target.In previous cases like this, the problematic targets were removed (#112120)
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: