Skip to content

Commit

Permalink
Update to add support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Oct 14, 2024
1 parent fbc56ea commit 5fbd31e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "Cargo"
directory: "/"
schedule:
interval: "monthly"
groups:
rust: # group all rust deps into a single PR
patterns:
- "*"
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
coverage: codecov
toxdeps: tox-pypi-filter
envs: |
- linux: py312
- linux: py313
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -68,6 +68,7 @@ jobs:
envs: |
- windows: py311
- macos: py310
- linux: py312
- linux: py310-oldestdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down Expand Up @@ -123,18 +124,20 @@ jobs:
test_command: 'pytest -p no:warnings --doctest-rst --pyargs streamtracer'
submodules: false
targets: |
- cp3{10,11,12}-manylinux_x86_64
- cp3{10,11,12}-musllinux_x86_64
- cp3{10,11,12}-macosx_x86_64
- cp3{10,11,12}-macosx_arm64
- cp3{10,11,12}-win_amd64
- cp3{10,11,12,13}-manylinux_x86_64
- cp3{10,11,12,13}-musllinux_x86_64
- cp3{10,11,12,13}-macosx_x86_64
- cp3{10,11,12,13}-macosx_arm64
- cp3{10,11,12,13}-win_amd64
# Build aarch64 one wheel per job as they be slow
- cp310-musllinux_aarch64
- cp311-musllinux_aarch64
- cp312-musllinux_aarch64
- cp313-musllinux_aarch64
- cp310-manylinux_aarch64
- cp311-manylinux_aarch64
- cp312-manylinux_aarch64
- cp313-manylinux_aarch64
secrets:
pypi_token: ${{ secrets.pypi_token }}

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ name = "streamtracer"
crate-type = ["cdylib"]

[dependencies]
pyo3 = {version = "0.21", features = ["extension-module"]}
numpy = "0.21"
pyo3 = {version = "0.22", features = ["extension-module"]}
numpy = "0.22" # I think this should follow the pyo3 version, but it can be slow to release
num-traits = "0.2"
num-derive = "0.4"
rayon = "1.8"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
version = "2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ min_version = 4.0
requires =
tox-pypi-filter>=0.14
envlist =
py{310,311,312}
py{310,311,312,313}
py312-devdeps
py310-oldestdeps
codestyle
Expand Down

0 comments on commit 5fbd31e

Please sign in to comment.