Skip to content

Commit

Permalink
Bump Python version to 3.13 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn authored Oct 11, 2024
1 parent 5cad948 commit 70b26d8
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 97 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
- name: Restore uv cache
uses: actions/cache@v4
with:
Expand Down
30 changes: 17 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
manylinux: auto
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -44,13 +44,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: aarch64-unknown-linux-gnu
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -65,13 +65,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: armv7
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
container: messense/manylinux_2_24-cross:armv7
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -86,13 +86,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: x86_64
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
manylinux: musllinux_1_1
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: aarch64
Expand All @@ -128,12 +128,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -147,12 +147,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
command: build
sccache: true
args: --release -o dist --target universal2-apple-darwin -i 3.9 3.10 3.11 3.12
args: --release -o dist --target universal2-apple-darwin -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -163,6 +163,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CodSpeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
jobs:
benchmark_with_codspeed:
name: Continuous Benchmarking with CodSpeed
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Collect Workflow Telemetry
uses: runforesight/workflow-telemetry-action@v2
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
- name: Restore uv cache
uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
Expand Down
72 changes: 36 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requires-python = ">=3.9"

[project.optional-dependencies]
pytz = ["pytz>=2024.2"]
tzdata = ["tzdata>=2024.1"]
tzdata = ["tzdata>=2024.2"]

[project.urls]
Documentation = "https://github.com/ringsaturn/tzfpy"
Expand All @@ -34,14 +34,14 @@ features = ["pyo3/extension-module"]

[tool.uv]
dev-dependencies = [
"ruff>=0.6.5",
"ruff>=0.6.9",
"citiespy>=0.6.3",
"maturin>=1.7.1",
"maturin>=1.7.4",
"pytest>=8.3.3",
"pytest-benchmark>=4.0.0",
"pytest-cov>=5.0.0",
"pytest-pretty>=1.2.0",
"pytz>=2024.2",
"tzdata>=2024.1",
"tzdata>=2024.2",
"pytest-codspeed>=2.2.1",
]
Loading

0 comments on commit 70b26d8

Please sign in to comment.