Skip to content

Commit

Permalink
chore: add official support for Python 3.13 (#33)
Browse files Browse the repository at this point in the history
* Added support for Python 3.13

* Added check jobs
  • Loading branch information
ariostas authored Oct 16, 2024
1 parent 79aae52 commit f6e5ce8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-14]
python-version: ['3.9', '3.12']
python-version: ['3.9', '3.13']
include:
- os: windows-latest
python-version: ""
Expand Down Expand Up @@ -60,3 +60,15 @@ jobs:
- name: Run pytest
run: |
pytest -vv
check-python:
name: Check Python
if: always()
needs: [build-and-test]
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,15 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

check-rust:
name: Check Rust
if: always()
needs: [build-and-test]
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,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",
"Topic :: Scientific/Engineering",
Expand Down

0 comments on commit f6e5ce8

Please sign in to comment.