Skip to content

Commit

Permalink
ci: Add Python 3.12 to testing (#113)
Browse files Browse the repository at this point in the history
* Add Python 3.12 to the CI testing matrix.
* Default to Python 3.12 in CI workflows.
* Add Python 3.12 to metadata.
  • Loading branch information
matthewfeickert committed Jun 17, 2024
1 parent e2152fd commit f15659e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
python -m pip list
- name: Lint with Pyflakes
if: matrix.python-version == '3.11'
if: matrix.python-version == '3.12'
run: |
python -m pyflakes packtivity
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
Expand Down

0 comments on commit f15659e

Please sign in to comment.