Skip to content

setup to use a patched version of 3.14.4 for testing a garbage collection fix#19874

Closed
ewdurbin wants to merge 3 commits into
mainfrom
try-zanies-gc-build
Closed

setup to use a patched version of 3.14.4 for testing a garbage collection fix#19874
ewdurbin wants to merge 3 commits into
mainfrom
try-zanies-gc-build

Conversation

@ewdurbin
Copy link
Copy Markdown
Member

@ewdurbin ewdurbin commented Apr 15, 2026

@zanieb prepared https://github.com/astral-sh/python-build-standalone/pull/1091/changes with a gc patch that seems to address the memory behavior we saw in our initial upgrade to 3.14:

Screenshot 2026-04-15 at 3 53 29 PM

memory usage for test.pypi.org from last 6 months, the elevated usage was 3.14

This sets up warehouse to run from a build with the patch from python-build-standalone #1091 as a diagnostic.

@ewdurbin ewdurbin requested a review from a team as a code owner April 15, 2026 19:59
@ewdurbin
Copy link
Copy Markdown
Member Author

FWIW I do not recommend we merge this as is, rather we would temporarily deploy test.pypi.org from the branch this PR introduces.

@zanieb
Copy link
Copy Markdown

zanieb commented Apr 15, 2026

As a note, we probably want to test astral-sh/python-build-standalone#1091 instead (which is just subbing 1091 instead of 1089) as that's the approach we're considering more seriously.

@ewdurbin
Copy link
Copy Markdown
Member Author

As a note, we probably want to test astral-sh/python-build-standalone#1091 instead (which is just subbing 1091 instead of 1089) as that's the approach we're considering more seriously.

will bump.

@zanieb
Copy link
Copy Markdown

zanieb commented Apr 16, 2026

(I'll need to rebuild and publish that branch, so it'll be a minute)

@miketheman
Copy link
Copy Markdown
Member

Closing for now, in favor of waiting for 3.14.5
https://discuss.python.org/t/reverting-the-incremental-gc-in-python-3-14-and-3-15/107014

@miketheman miketheman closed this Apr 16, 2026
@zanieb
Copy link
Copy Markdown

zanieb commented Apr 29, 2026

Hey! We still want to test this with a build of CPython 3.14 HEAD before the patch release.

The build is from astral-sh/python-build-standalone#1110

ARG PYTHON_STANDALONE_AMD64_URL=https://astral-sh-dev-artifacts.s3.us-east-2.amazonaws.com/public/python/cpython-3.14.4-x86_64-unknown-linux-gnu-pgo%2Blto-1110-20260429T1133.tar.zst
ARG PYTHON_STANDALONE_AMD64_SHA256=1988240030d33952727d828d5df699598bf6ef6d15dfd242dbc3192a413b81e4
ARG PYTHON_STANDALONE_ARM64_URL=https://astral-sh-dev-artifacts.s3.us-east-2.amazonaws.com/public/python/cpython-3.14.4-aarch64-unknown-linux-gnu-pgo%2Blto-1110-20260429T1133.tar.zst
ARG PYTHON_STANDALONE_ARM64_SHA256=77f5da4daceffc8c93a372b24aab57825cfbfb264061db142b6046446181f19e

@JacobCoffee
Copy link
Copy Markdown
Member

lgtm, let me make sure security folks are happy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants