Skip to content

Commit

Permalink
[MNT] enable python 3.11 and 3.12 in package metadata and CI (#1407)
Browse files Browse the repository at this point in the history
Enables python 3.11 and 3.12 in package metadata and CI.

Tests run without problems, so 3.11 and 3.12 support is automatic.
  • Loading branch information
pavelzw authored Aug 25, 2024
1 parent 73a9106 commit 2424f5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13] # add windows-2019 when poetry allows installation with `-f` flag
python-version: ["3.8", "3.9", "3.10"]
defaults:
run:
shell: bash
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

Expand All @@ -40,7 +38,8 @@ jobs:
- name: Get full Python version
id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
shell: bash
run: echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT

- name: Install dependencies
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@ version = "1.0.0" # is being replaced automatically
authors = [
{name = "Jan Beitner"},
]
requires-python = ">=3.8,<3.11"
requires-python = ">=3.8,<3.13"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"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",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
Expand Down

0 comments on commit 2424f5a

Please sign in to comment.