Skip to content

Commit

Permalink
Officially support Python 3.12
Browse files Browse the repository at this point in the history
Remove setup.py code irrelevant since 3.6/3.7 were dropped in #327
  • Loading branch information
corneliusroemer committed Apr 30, 2024
1 parent d3db45a commit 725a9e7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'

runs-on: ${{ matrix.os }}
defaults:
Expand Down Expand Up @@ -240,7 +241,8 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
# XXX TODO: Add 3.11 here once supported by Augur: https://github.com/nextstrain/augur/issues/1334
# XXX TODO: Add 3.11 here once supported by bioconda: https://github.com/nextstrain/augur/issues/1334
# XXX TODO: Add 3.12 here once supported by bioconda: https://github.com/nextstrain/augur/issues/1334
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ development source code and as such may not be routinely kept up to date.

# __NEXT__

This release adds support for Python version 3.12.
([#TBD](https://github.com/nextstrain/cli/pull/TBD))

Note that this Python version support only matters if you're installing
Nextstrain CLI from PyPI or Bioconda
([c.f.](https://docs.nextstrain.org/projects/cli/en/8.3.0/installation/)). It
does not apply if you're installing Nextstrain CLI using the standalone
installation method we recommend in the [Nextstrain installation
documentation](https://docs.nextstrain.org/page/install.html). In that case, a
supported Python version is always bundled with `nextstrain`.

# 8.3.0 (30 April 2024)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def find_namespaced_packages(namespace):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],

# Install a "nextstrain" program which calls nextstrain.cli.__main__.main()
Expand Down Expand Up @@ -145,8 +146,7 @@ def find_namespaced_packages(namespace):
"types-botocore",
"types-docutils",
"types-setuptools",
"types-requests; python_version != '3.6'",
"types-requests <=2.28.11.12; python_version == '3.6'",
"types-requests",
],
},
)

0 comments on commit 725a9e7

Please sign in to comment.