Skip to content

Commit

Permalink
update python versions to 3.7-3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Dec 30, 2021
1 parent 3f09747 commit 65c736f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8']
python-version: ['3.7', '3.8', '3.9', '3.10']
defaults:
run:
shell: bash -l {0}
Expand All @@ -26,7 +26,7 @@ jobs:
- run: pytest -c pytest.python3.ini --cov-report=xml --cov=augur
- run: cram --shell=/bin/bash tests/functional/*.t tests/builds/*.t
- run: bash tests/builds/runner.sh
- if: matrix.python-version == 3.8
- if: matrix.python-version == 3.10
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: 2
python:
version: 3.6
version: 3.7
install:
- method: pip
path: .
Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/DEV_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please see the [project board](https://github.com/orgs/nextstrain/projects/6) fo

## Contributing code

We currently target compatibility with Python 3.6 and higher. As Python releases new versions,
We currently target compatibility with Python 3.7 and higher. As Python releases new versions,
the minimum target compatibility may be increased in the future.

Versions for this project, Augur, from 3.0.0 onwards aim to follow the
Expand Down
2 changes: 1 addition & 1 deletion docs/installation/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mamba install -c conda-forge -c bioconda augur

## Using pip from PyPi

Augur is written in Python 3 and requires at least Python 3.6.
Augur is written in Python 3 and requires at least Python 3.7.
It's published on [PyPi](https://pypi.org) as [nextstrain-augur](https://pypi.org/project/nextstrain-augur), so you can install it with `pip` like so:

```bash
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import setuptools
import sys

py_min_version = (3, 6) # minimal supported python version
py_min_version = (3, 7) # minimal supported python version
since_augur_version = (7, 0) # py_min_version is required since this augur version

if sys.version_info < py_min_version:
Expand Down Expand Up @@ -91,9 +91,10 @@

# Python 3 only
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
# Install an "augur" program which calls augur.__main__.main()
# https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation
Expand Down

0 comments on commit 65c736f

Please sign in to comment.