Skip to content

Commit ba81f86

Browse files
committed
fix: Python wheels for all platforms + Python 3.9-3.13 (was 3.12 only)
1 parent 6f12ae4 commit ba81f86

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/python.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,29 @@ on:
77

88
jobs:
99
build:
10-
name: Build wheels (${{ matrix.os }})
10+
name: Build wheels (${{ matrix.os }} py${{ matrix.python }})
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1516
steps:
1617
- uses: actions/checkout@v4
1718
- uses: dtolnay/rust-toolchain@stable
1819
- uses: actions/setup-python@v5
1920
with:
20-
python-version: "3.12"
21+
python-version: ${{ matrix.python }}
2122
- uses: arduino/setup-protoc@v3
2223
with:
2324
repo-token: ${{ secrets.GITHUB_TOKEN }}
2425
- run: pip install maturin
2526
- name: Build wheel
26-
run: maturin build --release -m sdks/python/Cargo.toml -o dist/
27+
run: maturin build --release -m sdks/python/Cargo.toml -o dist/ -i python${{ matrix.python }}
2728
env:
2829
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
2930
- uses: actions/upload-artifact@v4
3031
with:
31-
name: wheels-${{ matrix.os }}
32+
name: wheels-${{ matrix.os }}-py${{ matrix.python }}
3233
path: dist/*.whl
3334

3435
sdist:

crates/thetadatadx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thetadatadx"
3-
version = "1.2.2"
3+
version = "1.2.3"
44
edition = "2021"
55
rust-version = "1.85"
66
authors = ["userFRM"]

ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thetadatadx-ffi"
3-
version = "1.2.2"
3+
version = "1.2.3"
44
edition = "2021"
55
description = "C FFI layer for thetadatadx — used by Go and C++ SDKs"
66
license = "GPL-3.0-or-later"

sdks/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thetadatadx-py"
3-
version = "1.2.2"
3+
version = "1.2.3"
44
edition = "2021"
55
description = "Python bindings for thetadatadx — native ThetaData SDK powered by Rust"
66

sdks/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "thetadatadx"
7-
version = "1.2.2"
7+
version = "1.2.3"
88
description = "No-JVM ThetaData Terminal — native Rust SDK for direct market data access (Python bindings)"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)