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 support #965

Merged
merged 4 commits into from Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -67,9 +67,15 @@ jobs:
needs: [pre-commit, towncrier, package]
strategy:
matrix:
platform: ['macos', 'ubuntu', 'windows']
python-version: ['3.8', '3.9', '3.10', '3.11']
platform: ["macos", "ubuntu", "windows"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"]
include:
- experimental: false

- python-version: "3.12-dev"
experimental: true
runs-on: ${{ matrix.platform }}-latest
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v3.1.0
with:
Expand Down
1 change: 1 addition & 0 deletions changes/965.feature.rst
@@ -0,0 +1 @@
Support for Python 3.12 was added.
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Copy link
Member

Choose a reason for hiding this comment

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

By declaring this. we're committing to fixing any Python 3.12 compatibility issues before each Briefcase release from now on, which should be manageable. But by adding it to CI the same way as the other versions, we would be forced to fix any Python 3.12 issues immediately, which could be inconvenient, and isn't necessary so early in the 3.12 release cycle.

Can we use the continue-on-error setting as shown here to make Python 3.12 failures non-fatal for now? Then we can make them fatal next year when it reaches RC status.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call. Fixed.

Programming Language :: Python :: 3 :: Only
Topic :: Software Development
Topic :: Utilities
Expand Down