Skip to content

Commit

Permalink
Update Python versions
Browse files Browse the repository at this point in the history
3.8 is EOL, 3.13 has been released.

* Test on 3.13, don't test on 3.8
* Test Mac on 3.9 (since that's Apples Python version)
* Do not require 3.9 yet: It makes sense to update the annotations at
  the same time (3.9 allows standard container types in annotations,
  deprecating most of typing module)

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
  • Loading branch information
jku committed Oct 8, 2024
1 parent 26f794b commit 605eac3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,31 @@ jobs:
fail-fast: false
matrix:
# Run tests once on each supported Python
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest]
toxenv: [py]
include:
# Run macOS, Windows and "special" tests on latest Python version only
- python-version: "3.11"
# Run macOS tests on 3.9 (current OS X python) and latest,
# Run Windows and "special" tests on latest Python version only
- python-version: "3.9"
os: macos-latest
toxenv: py
- python-version: "3.11"
- python-version: "3.13"
os: macos-latest
toxenv: py
- python-version: "3.13"
os: windows-latest
toxenv: py
- python-version: "3.11"
- python-version: "3.13"
os: ubuntu-latest
toxenv: purepy311
- python-version: "3.11"
- python-version: "3.13"
os: ubuntu-latest
toxenv: py311-no-gpg
- python-version: "3.11"
- python-version: "3.13"
os: ubuntu-latest
toxenv: py311-test-gpg-fails
- python-version: "3.11"
- python-version: "3.13"
os: ubuntu-latest
toxenv: lint

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ classifiers = [
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Topic :: Software Development",
Expand Down

0 comments on commit 605eac3

Please sign in to comment.