From 91f8f785a5ae0d6750fac2b129feabf550fd6a5c Mon Sep 17 00:00:00 2001 From: James Beith Date: Tue, 28 Jan 2025 16:05:01 +1100 Subject: [PATCH] Add support for Python 3.13 --- .github/workflows/test.yaml | 3 ++- Cargo.toml | 2 +- README.md | 1 + noxfile.py | 1 + pyproject.toml | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0b935a2..da4dd70 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,8 +19,9 @@ jobs: uses: actions/setup-python@v5 with: python-version: | - 3.12 3.11 + 3.12 + 3.13 cache: 'pip' cache-dependency-path: | pyproject.toml diff --git a/Cargo.toml b/Cargo.toml index 2313c38..f9acef7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ name = "rustfluent" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.22.5", features = ["chrono"] } +pyo3 = { version = "0.23.4", features = ["chrono"] } fluent = "0.16.1" unic-langid = "0.9.5" fluent-bundle = "0.15.3" diff --git a/README.md b/README.md index 67dcc68..593c519 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ This package supports: - Python 3.11 - Python 3.12 +- Python 3.13 ## Installation diff --git a/noxfile.py b/noxfile.py index e4c828f..340e254 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,6 +20,7 @@ [ nox.param("3.11", id="python=3.11"), nox.param("3.12", id="python=3.12"), + nox.param("3.13", id="python=3.13"), ], ) def tests(session: nox.Session) -> None: diff --git a/pyproject.toml b/pyproject.toml index ac3213a..52868f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Rust", ] # Do not manually edit the version, use `make version_{type}` instead.