Skip to content
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

Bump python3 to 3.12.7 #3

Merged
merged 5 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Garden Linux package python3.11
# Garden Linux package python3.12

5 changes: 5 additions & 0 deletions prepare_binary
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nobench nolto nopgo"
# We need libgdbm-compat-dev for x86 or the build process fails.
apt install python3-pip libgdbm-compat-dev -y
# Python uses blurb to create NEWS entries and there is not debian package.
# Do a unclean installation via pip to allow to generate the NEWS.
pip install --break-system-packages blurb
6 changes: 5 additions & 1 deletion prepare_source
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
apt_src python3.12
# 3.12.7 isn't in testing yet.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a good reason why we need 3.12.7 now? no objection, just trying to understand the tradeoffs between fixed issues and effort of customized build

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would take some days until the maintainer would push it into testing. The patch was accepted on the 3rd of October and will probably land in testing on the 13th of October. I do not want to wait and get this out of the door now.

git_src --branch 3.12.7-1 https://salsa.debian.org/cpython-team/python3.git
# Debian does not keep track of the source-code within salsa. Hence, we need
# to download the code ourself.
git_src --branch v3.12.7 https://github.com/python/cpython.git
apply_patches