Skip to content

Commit

Permalink
Support Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Aug 16, 2024
1 parent 267b8a2 commit 861bd1a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
shell: bash

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
CIBW_CONFIG_SETTINGS: >- # Cython line tracing for coverage collection
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 861bd1a

Please sign in to comment.