Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.13 #595

Merged
merged 6 commits into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r towncrier.txt
build==1.0.3
coverage==7.3.3
coverage==7.6.1
bdraco marked this conversation as resolved.
Show resolved Hide resolved
cython==3.0.6
pre-commit==3.5.0
pytest==7.4.3
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
Loading