-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-113246: Updated bundled pip to 23.3.2 #113249
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
Conversation
sbidoul
commented
Dec 18, 2023
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Update bundled pip to 23.3.2 #113246
I'm not sure if the failing check is related or not. |
Please could you also update the pip version number here? cpython/Tools/build/generate_sbom.py Line 53 in f428c4d
And then run This is brand new tooling to generate a software bill-of-materials (SBOM), and this PR may be the first test of updating it :) Tracking issue: #112302. cc @sethmlarson |
We'll get this documented: python/devguide#1241 In the meantime, if you're on macOS or Linux and get this: ❯ make regen-sbom
make: *** No rule to make target `regen-sbom'. Stop. Run If you're on Windows, run |
58f8479
to
2ce1d53
Compare
I would suggest updating it to say
(assuming that works). I don't want us to have to manually update this every pip release - it's just another manual task that could trip people up. |
2ce1d53
to
396efee
Compare
@sbidoul I've triggered the backport PRs, but they'll probably need fixing for the SBOM stuff. Is that something you can do? |
Sorry, @sbidoul and @pfmoore, I could not cleanly backport this to
|
Sorry, @sbidoul and @pfmoore, I could not cleanly backport this to
|
Updated bundled pip to 23.3.2 (cherry picked from commit 4a24bf9)
Updated bundled pip to 23.3.2. (cherry picked from commit 4a24bf9) Co-authored-by: Stéphane Bidoul <[email protected]>
GH-113253 is a backport of this pull request to the 3.12 branch. |
GH-113254 is a backport of this pull request to the 3.11 branch. |
Updated bundled pip to 23.3.2 (cherry picked from commit 4a24bf9)
Updated bundled pip to 23.3.2. (cherry picked from commit 4a24bf9) Co-authored-by: Stéphane Bidoul <[email protected]>
Updated bundled pip to 23.3.2. (cherry picked from commit 4a24bf9) Co-authored-by: Stéphane Bidoul <[email protected]>
Updated bundled pip to 23.3.2. (cherry picked from commit 4a24bf9) Co-authored-by: Stéphane Bidoul <[email protected]>
Apologies for putting in a roadblock without the full documentation in place, I've submitted this PR to the devguide to remedy that situation. So this PR unfortunately has left the SBOM in an invalid state, pip has been upgraded to Luckily pip (unlike most vendored dependencies) is a part of a packaging ecosystem so is easier to get the version information automatically. I've created this issue to work on automating more of this process where possible. Happy to answer any questions about the SBOM work, this is one of the challenges of trying to add security features while minimizing the impact to core developers work so I'm looking to learn more from you all as well on what would work best. |
Thanks - sorry for merging without your input, as I said I assumed automerge would wait for any requested reviewers. My bad. Ideally, I'd hope that ultimately adding a new release of pip would mean simply updating the ensurepip Hopefully, your ultimate resolution will be to automate all of the SBOM generation from just the wheel filename. The format of a wheel filename is standardised, and you can extract the version from it, so I'd hope that would be possible (even if it needed a small amount of special-case code for ensurepip). |
@pfmoore No worries at all! I also didn't know that was a thing so now I've learned as well.
This is my vision as well, potentially with an added run of |
Yep, assuming there's a Windows equivalent of that (i.e. something that doesn't rely on make). I'm bound to forget to do it a few times, and I don't know where would be a good place to document it (thinking in terms of where I look when I need to remember the process) but we can sort details like that out. |
@sethmlarson Would you like this fixed for tomorrow's 3.13a3 release? If so, maybe fix directly, and update automation later if that will take a little longer. |
@hugovk I'll submit a PR quickly, thanks for the ping :) |
Created #113262 to fix the pip SBOM metadata. |
Updated bundled pip to 23.3.2
Updated bundled pip to 23.3.2
Updated bundled pip to 23.3.2