Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly support Python 3.11 #327

Merged
merged 2 commits into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading