diff options
| author | Bobby <[email protected]> | 2022-12-22 11:30:46 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-12-22 11:30:46 -0500 |
| commit | 589017b4680b4843c171120c127ba73e5f024ea7 (patch) | |
| tree | fc42638bd2486775673bf7762b9750c5d28c5716 | |
| parent | 7ea5ae6ded1e4c5705d31932c49991d90d042947 (diff) | |
| download | edify-589017b4680b4843c171120c127ba73e5f024ea7.tar.xz edify-589017b4680b4843c171120c127ba73e5f024ea7.zip | |
Add Support for Python 3.11
| -rw-r--r-- | CONTRIBUTING.rst | 6 | ||||
| -rwxr-xr-x | setup.py | 1 | ||||
| -rwxr-xr-x | tests.local.sh | 3 | ||||
| -rw-r--r-- | tox.ini | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3df2ad8..e0fed58 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -49,10 +49,14 @@ To set up `edify` for local development: Now you can make your changes locally. -4. When you're done making changes run all the checks and docs builder with `tox <https://tox.wiki/en/latest/install.html>`_ one command:: +4. When you're done making changes run all the checks and docs builder with `tox <https://tox.wiki/en/latest/installation.html>`_ one command:: tox + (Optional) If you're using a UNIX Like OS you can run the tests by running the following shell script:: + + ./tests.local.sh + 5. Commit your changes and push your branch to GitHub:: git add . @@ -50,6 +50,7 @@ setup( 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', # uncomment if you test on these interpreters: diff --git a/tests.local.sh b/tests.local.sh index 031d6e4..730aeee 100755 --- a/tests.local.sh +++ b/tests.local.sh @@ -28,6 +28,9 @@ elif [ "$PYTHON_VERSION" = "3.9" ]; then elif [ "$PYTHON_VERSION" = "3.10" ]; then # Build using python 3.10 tox -e py310 -v +elif [ "$PYTHON_VERSION" = "3.11" ]; then + # Build using python 3.11 + tox -e py311 -v else # Show error message echo "Python version $PYTHON_VERSION is not supported" @@ -14,7 +14,7 @@ envlist = clean, check, docs, - {py37,py38,py39,py310,pypy37,pypy38}, + {py37,py38,py39,py310,py311,pypy37,pypy38}, report ignore_basepython_conflict = true @@ -26,6 +26,7 @@ basepython = py38: {env:TOXPYTHON:python3.8} py39: {env:TOXPYTHON:python3.9} py310: {env:TOXPYTHON:python3.10} + py311: {env:TOXPYTHON:python3.11} {bootstrap,clean,check,report,docs,codecov}: {env:TOXPYTHON:python3} setenv = PYTHONPATH={toxinidir}/tests |
