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

ci: drop python 3.8, add official 3.13 support #774

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
14 changes: 3 additions & 11 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,27 +88,19 @@ jobs:
- windows-latest
- macos-latest
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13-dev'
- '3.13'
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
- '3.13'
- '3.13'
- '3.14-dev'

constraints: ['']
post_install: ['']
exclude:
# C extension builds failing.
# Remove exclusions after Python 3.13 release.
- os: windows-latest
python-version: '3.13-dev'
- os: macos-latest
python-version: '3.13-dev'
include:
Copy link
Owner

Choose a reason for hiding this comment

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

I wonder if this will be needed for 3.14-dev...

Suggested change
include:
exclude:
# C extension builds failing.
# Remove exclusions after Python 3.14 release.
- os: windows-latest
python-version: '3.14-dev'
- os: macos-latest
python-version: '3.14-dev'
include:

- os: ubuntu-latest
python-version: '3.8'
python-version: '3.9'
constraints: '--constraint constraints-oldest.txt'
- os: ubuntu-latest
python-version: '3.12'
python-version: '3.13'
post_install: pip uninstall -y -r constraints-future.txt ;
pip install -r constraints-future.txt
--upgrade --upgrade-strategy=eager
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ These features will be included in the next release:

Added
-----
- Drop python 3.8, add python 3.13 official support
Copy link
Owner

@akaihola akaihola Jan 3, 2025

Choose a reason for hiding this comment

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

Suggested change
- Drop python 3.8, add python 3.13 official support
- Add python 3.13 official support and test on 3.14-dev.

Copy link
Owner

Choose a reason for hiding this comment

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

In the Removed section, add

- Drop support for end-of-life Python 3.8.

- New exit codes 2 for file not found, 3 for invalid command line arguments, 4 for
missing dependencies and 123 for unknown failures.
- Display exit code in parentheses after error message.
Expand Down
Loading