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

Update Python versions in the CI workflow. #316

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Conversation

ezio-melotti
Copy link
Member

This PR updates the Python versions in the CI workflow.

@ezio-melotti ezio-melotti added the enhancement New feature or request label Nov 23, 2022
@ezio-melotti ezio-melotti self-assigned this Nov 23, 2022
.github/workflows/ci.yml Outdated Show resolved Hide resolved
Co-authored-by: Hugo van Kemenade <[email protected]>
@ezio-melotti
Copy link
Member Author

Looks like it worked! I was looking at https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-and-pypy and didn't see 3.12, so I just went with the safest option.

I was also considering keeping 3.11-dev because IIUC it will test e.g. 3.11.1a0 and following releases instead of waiting for 3.11.1 final. What do you think?

@hugovk
Copy link
Member

hugovk commented Nov 23, 2022

Looks like it worked! I was looking at https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-and-pypy and didn't see 3.12, so I just went with the safest option.

Yep, that links to the full list at https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json which has 3.12a0 - 3.12a2, and 3.12-dev maps onto the latest available.

I was also considering keeping 3.11-dev because IIUC it will test e.g. 3.11.1a0 and following releases instead of waiting for 3.11.1 final. What do you think?

GitHub's -dev follows the latest CPython releases, alpha, beta, RC, full. And there aren't 3.11.1a0 releases, just 3.11.1, 3.11.2 etc.

(Travis CI's -dev releases are different, they're nightly builds. If we ever want to test the cutting edge on GHA we can use https://github.com/deadsnakes/action)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants