Skip to content

Commit 9e8c517

Browse files
committed
ci: fix
1 parent 84dc1aa commit 9e8c517

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/workflows/ci-python.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,19 @@ jobs:
2727
strategy:
2828
matrix:
2929
os: [ubuntu-latest, macos-latest, windows-latest]
30-
python-version: ["3.8", "3.12"]
30+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3131
exclude:
32+
# Skip some combinations to reduce CI time
3233
- os: macos-latest
3334
python-version: "3.8"
35+
- os: macos-latest
36+
python-version: "3.9"
3437
- os: windows-latest
3538
python-version: "3.8"
39+
- os: windows-latest
40+
python-version: "3.9"
41+
- os: windows-latest
42+
python-version: "3.10"
3643

3744
defaults:
3845
run:
@@ -70,11 +77,6 @@ jobs:
7077
uv run ruff check .
7178
uv run ruff format --check .
7279
73-
- name: Run type checking
74-
run: |
75-
cd fcb_py
76-
uv run mypy python/
77-
7880
- name: Run tests
7981
run: |
8082
cd fcb_py
@@ -97,7 +99,7 @@ jobs:
9799
- name: Set up Python
98100
uses: actions/setup-python@v5
99101
with:
100-
python-version: "3.11"
102+
python-version: "3.12"
101103

102104
- name: Install Rust toolchain
103105
uses: dtolnay/rust-toolchain@stable
@@ -129,7 +131,7 @@ jobs:
129131
- name: Set up Python
130132
uses: actions/setup-python@v5
131133
with:
132-
python-version: "3.11"
134+
python-version: "3.12"
133135

134136
- name: Install Rust toolchain
135137
uses: dtolnay/rust-toolchain@stable

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Set up Python
6868
uses: actions/setup-python@v5
6969
with:
70-
python-version: "3.11"
70+
python-version: "3.12"
7171

7272
- name: Install Rust toolchain
7373
uses: dtolnay/rust-toolchain@stable

.github/workflows/publish-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Python
3636
uses: actions/setup-python@v5
3737
with:
38-
python-version: "3.11"
38+
python-version: "3.12"
3939

4040
- name: Install dependencies
4141
run: pip install toml

src/rust/fcb_py/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ name = "_fcb"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
pyo3 = { version = "0.20", features = ["extension-module"] }
11+
pyo3 = { version = "0.22", features = ["extension-module"] }
1212
fcb_core = { workspace = true }
1313
cjseq = { workspace = true }
1414
serde_json = { workspace = true }
1515
thiserror = { workspace = true }
1616
ordered-float = { workspace = true }
1717
chrono = { workspace = true }
1818
fallible-streaming-iterator = { workspace = true }
19-
pyo3-asyncio = { version = "0.20", features = [
19+
pyo3-asyncio = { version = "0.22", features = [
2020
"tokio-runtime",
2121
], optional = true }
2222
tokio = { workspace = true, optional = true }
@@ -28,4 +28,4 @@ default = ["http"]
2828
http = ["fcb_core/http", "tokio", "reqwest", "pyo3-asyncio"]
2929

3030
[build-dependencies]
31-
pyo3-build-config = "0.20"
31+
pyo3-build-config = "0.22"

0 commit comments

Comments
 (0)