Skip to content

Commit b2a1f22

Browse files
authored
update maturin and pyo3 (#292)
1 parent 1afd3cc commit b2a1f22

File tree

5 files changed

+21
-23
lines changed

5 files changed

+21
-23
lines changed

.github/workflows/pypi.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,5 @@ jobs:
2525
pip install maturin
2626
- name: Build Rust package
2727
run: maturin build --release
28-
- name: Build Python package
29-
run: poetry build -f sdist -o dist/
3028
- name: Publish package distributions to PyPI
3129
run: maturin publish

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
run: |
3333
curl -sSL https://install.python-poetry.org | python3 -
3434
echo "$HOME/.local/bin" >> $GITHUB_PATH
35-
poetry self add "poetry-dynamic-versioning[plugin]"
3635
3736
# Step 4: Install System Dependencies
3837
- name: Install Graphviz

Cargo.lock

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rshgf"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -10,5 +10,5 @@ crate-type = ["cdylib", "rlib"]
1010
path = "src/lib.rs" # The source file of the target.
1111

1212
[dependencies]
13-
pyo3 = { version = "0.23.4", features = ["extension-module"] }
14-
numpy = "0.23"
13+
pyo3 = { version = "0.24.2", features = ["extension-module"] }
14+
numpy = "0.24"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ sphinxcontrib-mermaid = "^1.0.0"
7070
treescope = "^0.1.9"
7171

7272
[build-system]
73-
requires = ["poetry-core", "poetry-dynamic-versioning>=1.0.0,<2.0.0", "maturin==1.8.3"]
73+
requires = ["poetry-core", "maturin==1.8.3"]
7474
build-backend = "maturin"
7575

7676
[tool.maturin]
7777
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
7878
features = ["pyo3/extension-module"]
79-
requires-python = ">=3.9,<3.13"
79+
requires-python = ">=3.10,<3.13"
8080
module-name = "pyhgf.rshgf" # Name of the Rust module when imported in Python
8181
bindings = "pyo3" # If using PyO3
8282
strip = true # Strips debugging symbols to reduce wheel size

0 commit comments

Comments
 (0)