Skip to content

Commit

Permalink
Support Python 3.13 (#595)
Browse files Browse the repository at this point in the history
Co-authored-by: J. Nick Koston <[email protected]>
  • Loading branch information
edgarrmondragon and bdraco authored Aug 17, 2024
1 parent 6925aab commit 5284f53
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ jobs:
strategy:
matrix:
pyver:
- 3.13
- 3.12
- 3.11
- >-
Expand Down Expand Up @@ -215,6 +216,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyver }}
allow-prereleases: true
cache: pip
cache-dependency-path: requirements/*.txt
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions CHANGES/595.packaging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Declared Python 3.13 supported officially in the distribution package metadata.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- Contributors -
----------------
Andrew Svetlov
Edgar Ramírez-Mondragón
Marcin Konowalczyk
Martijn Pieters
Pau Freixes
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ classifiers =
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy

Expand Down
7 changes: 6 additions & 1 deletion tests/test_frozenlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
class FrozenListMixin:
FrozenList = NotImplemented

SKIP_METHODS = {"__abstractmethods__", "__slots__"}
SKIP_METHODS = {
"__abstractmethods__",
"__slots__",
"__static_attributes__",
"__firstlineno__",
}

def test___class_getitem__(self) -> None:
assert self.FrozenList[str] is not None
Expand Down

0 comments on commit 5284f53

Please sign in to comment.