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

Add Python 3.12.0 beta #677

Closed
4 of 5 tasks
hugovk opened this issue May 24, 2023 · 6 comments
Closed
4 of 5 tasks

Add Python 3.12.0 beta #677

hugovk opened this issue May 24, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@hugovk
Copy link
Contributor

hugovk commented May 24, 2023

Description:

Python 3.12 beta has been released on 22 May 2023 but isn't yet available for GitHub Actions.

The Python release manager asked maintainers to test the beta, so it would be great to be able to test on CI:

We strongly encourage maintainers of third-party Python projects to test with 3.12 during the beta phase and report issues found to [the Python bug tracker (Issues · python/cpython · GitHub) as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Monday, 2023-07-31). Our goal is to have no ABI changes after beta 4 and as few code changes as possible after 3.12.0rc1, the first release candidate. To achieve that, it will be extremely important to get as much exposure for 3.12 as possible during the beta phase.

Action version:

v4 = v4.6.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

3.12-dev

https://github.com/actions/python-versions/blob/main/versions-manifest.json

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

Set up Python using 3.12-dev:

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [
          "3.12-dev",
        ]
        os: [
          windows-latest,
          macOS-latest,
          ubuntu-latest,
        ]

    steps:
      - uses: actions/checkout@v3

      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python-version }}

https://github.com/hugovk/test/actions/runs/5057309868/workflow

Expected behavior:

3.12.0 beta 1 is installed:

Actual behavior:

3.12.0 alpha 7 is installed:

There's no 3.12 beta in https://github.com/actions/python-versions/blob/main/versions-manifest.json

@hugovk hugovk added bug Something isn't working needs triage labels May 24, 2023
@dmitry-shibanov
Copy link
Contributor

Hello @hugovk. Thank you for your report. We'll take a look on it.

@dmitry-shibanov
Copy link
Contributor

Hello @hugovk. The Python 3.12.0-beta.1 was added. For now I'm going to close the issue.

@hugovk
Copy link
Contributor Author

hugovk commented May 25, 2023

Confirmed, thank you! This will really help people test before the full release comes out in October, and make sure their own code is ready, and also help find bugs in Python itself. :)

@The-Compiler
Copy link

Beta 2 was released - will this need a manual update, or should that get pulled in automatically soon?

@nulano
Copy link

nulano commented Jun 7, 2023

Looks like it should already be available: https://github.com/actions/python-versions/releases/tag/3.12.0-beta.2-5200633613

@The-Compiler
Copy link

The-Compiler commented Jun 7, 2023

So far, I still see the beta 1 being used:

Run actions/setup-python@v4
  with:
    python-version: 3.12-dev
    check-latest: false
    token: ***
    update-environment: true
    allow-prereleases: false
  env: [...]
Installed versions
  Version ~3.12.0-0 was not found in the local cache
  Version ~3.12.0-0 is available for downloading
  Download from "https://github.com/actions/python-versions/releases/download/3.12.0-beta.1-5076755295/python-3.12.0-beta.1-linux-22.04-x64.tar.gz"

But from what it looks like, actions/python-versions#232 should fix that soon!

edit: merged now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants