Skip to content

Commit

Permalink
Merge pull request #147 from hugovk/master
Browse files Browse the repository at this point in the history
Add support for Python 3.11
  • Loading branch information
micheles authored Nov 6, 2022
2 parents 6f4cf6f + 099462d commit b496c55
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
|---|---|
|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|
|Download page| http://pypi.python.org/pypi/decorator/5.1.1|
|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11|
|Download page| https://pypi.org/project/decorator/5.1.1|
|Installation| ``pip install decorator``|
|License | BSD license|

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
'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'],
Expand Down
6 changes: 3 additions & 3 deletions src/tests/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
|---|---|
|E-mail | michele.simionato@gmail.com|
|Version| $VERSION ($DATE)|
|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10|
|Download page| http://pypi.python.org/pypi/decorator/$VERSION|
|Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11|
|Download page| https://pypi.org/project/decorator/$VERSION|
|Installation| ``pip install decorator``|
|License | BSD license|
Expand Down Expand Up @@ -1171,7 +1171,7 @@ class ``C`` registered both as ``collections.abc.Iterable`` and
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
Expand Down

0 comments on commit b496c55

Please sign in to comment.