Skip to content

feat: rc support#231

Merged
cjames23 merged 5 commits into
ofek:masterfrom
flying-sheep:pa/rcs
Jun 26, 2026
Merged

feat: rc support#231
cjames23 merged 5 commits into
ofek:masterfrom
flying-sheep:pa/rcs

Conversation

@flying-sheep

@flying-sheep flying-sheep commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Doesn’t in any way discriminate the RCs, they just pop up in the list.

Testing by changing != 'rc' to not in {'rc', 'b'}, I noticed that only for 3.15, betas popped up. Do they delete beta assets from old releases?

Fixes #232

@ofek ofek left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks! Let's try running it to see the generated output.

Comment thread scripts/update_distributions.py Outdated
@flying-sheep

flying-sheep commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Thanks! Let's try running it to see the generated output.

The generated output is exactly the same as running it without my change, as there are currently no rcs active.

I ran it with betas and rcs though to demonstrate, which

  1. updated all URLs to refer to the newest release (20260610), and

  2. added all 3.15 betas as expected:

    Details
    ("3.15", "linux", "aarch64", "gnu", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "aarch64", "gnu", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "aarch64", "musl", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-unknown-linux-musl-install_only_stripped.tar.gz"),
    ("3.15", "linux", "aarch64", "musl", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-unknown-linux-musl-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "armv7", "gnueabi", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-armv7-unknown-linux-gnueabi-install_only_stripped.tar.gz"),
    ("3.15", "linux", "armv7", "gnueabi", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-armv7-unknown-linux-gnueabi-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "armv7", "gnueabihf", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-armv7-unknown-linux-gnueabihf-install_only_stripped.tar.gz"),
    ("3.15", "linux", "armv7", "gnueabihf", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-armv7-unknown-linux-gnueabihf-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "powerpc64", "gnu", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-ppc64le-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "powerpc64", "gnu", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-ppc64le-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "riscv64", "gnu", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-riscv64-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "riscv64", "gnu", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-riscv64-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "s390x", "gnu", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-s390x-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "s390x", "gnu", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-s390x-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v1", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v1", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v2", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v2-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v2", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v2-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v3", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v3-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v3", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v3-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v4", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v4-unknown-linux-gnu-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "gnu", "v4", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v4-unknown-linux-gnu-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v1", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-unknown-linux-musl-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v1", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-unknown-linux-musl-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v2", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v2-unknown-linux-musl-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v2", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v2-unknown-linux-musl-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v3", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v3-unknown-linux-musl-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v3", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v3-unknown-linux-musl-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v4", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v4-unknown-linux-musl-install_only_stripped.tar.gz"),
    ("3.15", "linux", "x86_64", "musl", "v4", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64_v4-unknown-linux-musl-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "windows", "aarch64", "msvc", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-pc-windows-msvc-install_only_stripped.tar.gz"),
    ("3.15", "windows", "aarch64", "msvc", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-pc-windows-msvc-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "windows", "x86", "msvc", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-i686-pc-windows-msvc-install_only_stripped.tar.gz"),
    ("3.15", "windows", "x86", "msvc", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-i686-pc-windows-msvc-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "windows", "x86_64", "msvc", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-pc-windows-msvc-install_only_stripped.tar.gz"),
    ("3.15", "windows", "x86_64", "msvc", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-pc-windows-msvc-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "macos", "aarch64", "", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-apple-darwin-install_only_stripped.tar.gz"),
    ("3.15", "macos", "aarch64", "", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-aarch64-apple-darwin-freethreaded-install_only_stripped.tar.gz"),
    ("3.15", "macos", "x86_64", "", "", "",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-apple-darwin-install_only_stripped.tar.gz"),
    ("3.15", "macos", "x86_64", "", "", "freethreaded",
        "https://github.com/astral-sh/python-build-standalone/releases/download/20260610/cpython-3.15.0b2%2B20260610-x86_64-apple-darwin-freethreaded-install_only_stripped.tar.gz"),
    

@ofek

ofek commented Jun 12, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b1b6aa21a9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/update_distributions.py Outdated
@flying-sheep flying-sheep requested a review from ofek June 14, 2026 20:10
@flying-sheep

Copy link
Copy Markdown
Contributor Author

@cjames23 do you also have maintainer rights here btw?

@cjames23

Copy link
Copy Markdown
Collaborator

No I do not. Pyapp is separate from hatch and hatchling.

@flying-sheep

Copy link
Copy Markdown
Contributor Author

How does uv do Python version downloads? I feel like they probably have an index of all available distributions that we might be able to use, no?

@flying-sheep

Copy link
Copy Markdown
Contributor Author

@ofek ping

@cjames23

Copy link
Copy Markdown
Collaborator

@flying-sheep I will try to review this in the next 2 days.

@cjames23 cjames23 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks for starting the work on this!

@cjames23 cjames23 merged commit 5fdb47b into ofek:master Jun 26, 2026
11 of 12 checks passed
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.

RC support

3 participants