Skip to content

Commit 5284f53

Browse files
Support Python 3.13 (#595)
Co-authored-by: J. Nick Koston <[email protected]>
1 parent 6925aab commit 5284f53

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

.github/workflows/ci-cd.yml

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
strategy:
166166
matrix:
167167
pyver:
168+
- 3.13
168169
- 3.12
169170
- 3.11
170171
- >-
@@ -215,6 +216,7 @@ jobs:
215216
uses: actions/setup-python@v5
216217
with:
217218
python-version: ${{ matrix.pyver }}
219+
allow-prereleases: true
218220
cache: pip
219221
cache-dependency-path: requirements/*.txt
220222
- name: Install dependencies

CHANGES/595.packaging.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Declared Python 3.13 supported officially in the distribution package metadata.

CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
- Contributors -
22
----------------
33
Andrew Svetlov
4+
Edgar Ramírez-Mondragón
45
Marcin Konowalczyk
56
Martijn Pieters
67
Pau Freixes

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ classifiers =
3939
Programming Language :: Python :: 3.10
4040
Programming Language :: Python :: 3.11
4141
Programming Language :: Python :: 3.12
42+
Programming Language :: Python :: 3.13
4243
Programming Language :: Python :: Implementation :: CPython
4344
Programming Language :: Python :: Implementation :: PyPy
4445

tests/test_frozenlist.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
class FrozenListMixin:
1212
FrozenList = NotImplemented
1313

14-
SKIP_METHODS = {"__abstractmethods__", "__slots__"}
14+
SKIP_METHODS = {
15+
"__abstractmethods__",
16+
"__slots__",
17+
"__static_attributes__",
18+
"__firstlineno__",
19+
}
1520

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

0 commit comments

Comments
 (0)