Skip to content

Commit

Permalink
Merge pull request #327: Explicitly support Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Nov 18, 2023
2 parents c4c679a + b19007a commit 3643b2e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
- '3.11'

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

# __NEXT__

This release drops support for Python versions 3.6 and 3.7.
([#325](https://github.com/nextstrain/cli/pull/325))
This release drops support for Python versions 3.6 and 3.7 and adds support for
3.11. ([#325](https://github.com/nextstrain/cli/pull/325),
[#327](https://github.com/nextstrain/cli/pull/327))

## Improvements

Expand Down
2 changes: 1 addition & 1 deletion nextstrain/cli/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if sys.version_info >= (3, 11):
from importlib.resources import files as _files, as_file as _as_file
else:
from importlib_resources import files as _files, as_file as _as_file
from importlib_resources import files as _files, as_file as _as_file # type: ignore[import]

from pathlib import Path
from typing import ContextManager
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def find_namespaced_packages(namespace):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],

# Install a "nextstrain" program which calls nextstrain.cli.__main__.main()
Expand Down

0 comments on commit 3643b2e

Please sign in to comment.