Skip to content

Commit

Permalink
[Resolves #1225] Support python 3.10 (#1227)
Browse files Browse the repository at this point in the history
Run tests against python 3.10

depends on #1240
  • Loading branch information
zaro0508 committed Jun 17, 2022
1 parent a0fc6ff commit d932f27
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,18 @@ $ make coverage
```

Note: Sceptre aims to be compatible with Python 3, please run unit test
against both versions. You will need the corresponding versions of Python
installed on your system.
against all supported versions. You will need the corresponding versions
of Python installed on your system.

Run unit tests and coverage using tox for multiple Python versions:
Run unit tests and coverage on all supported python versions:

```bash
$ tox -e py36 -e py37
$ make test-all
```

If you use pyenv to manage Python versions, try `pip install tox-pyenv` to make
tox and pyenv play nicely.
Tox is used to manage python vresions for running unit tests. If you use pyenv
to manage Python versions, try `pip install tox-pyenv` to make tox and pyenv play
nicely.

## Integration Tests

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def get_version(rel_path):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
test_suite="tests",
install_requires=install_requirements,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.23.0
isolated_build = True
envlist = py{37,38,39},flake8
envlist = py{37,38,39,310},flake8
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit d932f27

Please sign in to comment.