From 7002507b86f90a79777d65129e39c4cce96587e2 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 11 Oct 2021 20:36:18 +0300 Subject: Add support for Python 3.10 --- .github/workflows/python-package.yml | 2 +- docs/documentation.md | 2 +- setup.py | 1 + src/tests/documentation.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6ded973..d527946 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.5', '3.6', '3.7', '3.8', '3.9'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 diff --git a/docs/documentation.md b/docs/documentation.md index 2c896c4..cbbc540 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -4,7 +4,7 @@ |---|---| |E-mail | michele.simionato@gmail.com| |Version| 5.1.0 (2021-09-11)| -|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9| +|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10| |Download page| http://pypi.python.org/pypi/decorator/5.1.0| |Installation| ``pip install decorator``| |License | BSD license| diff --git a/setup.py b/setup.py index de78244..e7b758d 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ if __name__ == '__main__': 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development :: Libraries', 'Topic :: Utilities'], diff --git a/src/tests/documentation.py b/src/tests/documentation.py index 85e57ad..ebd55d5 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -14,7 +14,7 @@ doc = r"""# Decorators for Humans |---|---| |E-mail | michele.simionato@gmail.com| |Version| $VERSION ($DATE)| -|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9| +|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10| |Download page| http://pypi.python.org/pypi/decorator/$VERSION| |Installation| ``pip install decorator``| |License | BSD license| -- cgit v1.2.1 From a3a8c1d573cc4abc4c05c2b6ccbaa6ba0153b909 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 13 Oct 2021 20:54:19 +0300 Subject: setup.cfg: Replace dashes with underscores Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Signed-off-by: Arthur Zamarin --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2c1db5a..da3b708 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [upload_docs] -upload-dir = docs +upload_dir = docs -- cgit v1.2.1