From 124f5c358c6a18b1a647e122cf88686a449552f9 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 5 Nov 2022 23:34:08 +0200 Subject: Add support for Python 3.11 --- .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 d527946..fda580a 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', '3.10'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/docs/documentation.md b/docs/documentation.md index 10ddb5f..766af7a 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -4,7 +4,7 @@ |---|---| |E-mail | michele.simionato@gmail.com| |Version| 5.1.1 (2022-01-07)| -|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10| +|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11| |Download page| http://pypi.python.org/pypi/decorator/5.1.1| |Installation| ``pip install decorator``| |License | BSD license| diff --git a/setup.py b/setup.py index e7b758d..d71c24b 100644 --- a/setup.py +++ b/setup.py @@ -31,6 +31,7 @@ if __name__ == '__main__': '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', 'Topic :: Software Development :: Libraries', 'Topic :: Utilities'], diff --git a/src/tests/documentation.py b/src/tests/documentation.py index bf3a0b0..375bb57 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, 3.10| +|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11| |Download page| http://pypi.python.org/pypi/decorator/$VERSION| |Installation| ``pip install decorator``| |License | BSD license| -- cgit v1.2.1 From 04b710246dd23c3b035514ff551ffdc3865445e8 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 5 Nov 2022 23:34:50 +0200 Subject: Update download links --- docs/documentation.md | 2 +- src/tests/documentation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documentation.md b/docs/documentation.md index 766af7a..fa3145f 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -5,7 +5,7 @@ |E-mail | michele.simionato@gmail.com| |Version| 5.1.1 (2022-01-07)| |Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11| -|Download page| http://pypi.python.org/pypi/decorator/5.1.1| +|Download page| https://pypi.org/project/decorator/5.1.1| |Installation| ``pip install decorator``| |License | BSD license| diff --git a/src/tests/documentation.py b/src/tests/documentation.py index 375bb57..b2794d4 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -15,7 +15,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, 3.10, 3.11| -|Download page| http://pypi.python.org/pypi/decorator/$VERSION| +|Download page| https://pypi.org/project/decorator/$VERSION| |Installation| ``pip install decorator``| |License | BSD license| -- cgit v1.2.1 From 099462d9355a3d92942b414c11e143b916b35b72 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 5 Nov 2022 23:36:28 +0200 Subject: Fix codespell errors --- CHANGES.md | 2 +- docs/documentation.md | 2 +- src/tests/documentation.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 36a5877..f76724b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,7 +32,7 @@ lacking dunder attributes, like `dict.__setitem__`. ## 5.0.7 (2021-04-14) The decorator module was not passing correctly the defaults inside the -`*args` tuple, thanks to Dan Shult for the fix. Also fixed some mispellings +`*args` tuple, thanks to Dan Shult for the fix. Also fixed some misspellings in the documentation and integrated codespell in the CI, thanks to Christian Clauss. diff --git a/docs/documentation.md b/docs/documentation.md index fa3145f..cc92eb9 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -1492,7 +1492,7 @@ with ``functools.singledispatch``, the assertion will break: ``g`` will return will insert the ``Container`` class right before ``S``. Notice that here I am not making any bold claim such as "the standard -library algorithm is wrong and my algorithm is right" or viceversa. It +library algorithm is wrong and my algorithm is right" or vice versa. It just point out that there are some subtle differences. The only way to understand what is really happening here is to scratch your head by looking at the implementations. I will just notice that diff --git a/src/tests/documentation.py b/src/tests/documentation.py index b2794d4..bbbe562 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -1171,7 +1171,7 @@ with ``functools.singledispatch``, the assertion will break: ``g`` will return will insert the ``Container`` class right before ``S``. Notice that here I am not making any bold claim such as "the standard -library algorithm is wrong and my algorithm is right" or viceversa. It +library algorithm is wrong and my algorithm is right" or vice versa. It just point out that there are some subtle differences. The only way to understand what is really happening here is to scratch your head by looking at the implementations. I will just notice that -- cgit v1.2.1