Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit 29f753a

Browse files
committed
Fix workflows
1 parent c2ed0ff commit 29f753a

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.github/workflows/periodic.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ jobs:
7070
shell: bash
7171
run: |
7272
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
73-
export PYO3_CROSS_PYTHON_VERSION=3.10
7473
cargo check --target "${{ matrix.platform.target }}" --all-features
7574
else
7675
cargo test --target "${{ matrix.platform.target }}" --all-features

.github/workflows/regression.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jobs:
7373
shell: bash
7474
run: |
7575
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
76-
export PYO3_CROSS_PYTHON_VERSION=3.10
7776
cargo check --target "${{ matrix.platform.target }}" --all-features
7877
else
7978
cargo test --target "${{ matrix.platform.target }}" --all-features

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
shell: bash
8181
run: |
8282
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
83-
export PYO3_CROSS_PYTHON_VERSION=3.10
8483
cargo check --target "${{ matrix.platform.target }}" --all-features
8584
else
8685
cargo test --target "${{ matrix.platform.target }}" --all-features
@@ -204,11 +203,6 @@ jobs:
204203
$content = $content -replace '^description = ".*"', 'description = "${{ matrix.features.package_description }}"'
205204
Set-Content -Path pyproject.toml -Value $content
206205
207-
- name: Set PYO3_CROSS_PYTHON_VERSION
208-
if: contains(matrix.platform.target, 'aarch64')
209-
shell: bash
210-
run: echo "PYO3_CROSS_PYTHON_VERSION=3.10" >> $GITHUB_ENV
211-
212206
- name: Build wheels
213207
uses: PyO3/maturin-action@v1
214208
env:

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ train = ["lindera/train"] # Enable training functionality
3939
default = ["train"] # No directories included
4040

4141
[dependencies]
42-
pyo3 = { version = "0.27.2", features = ["extension-module", "abi3-py310"] }
42+
pyo3 = { version = "0.27.2", features = ["extension-module", "abi3-py310", "generate-import-lib"] }
4343
serde = { version = "1.0.228", features = ["derive"] }
4444
serde_json = "1.0.149"
4545
num_cpus = "1.17.0"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.maturin]
22
module-name = "lindera"
3-
features = ["pyo3/abi3-py310"]
3+
features = ["pyo3/abi3-py310", "pyo3/generate-import-lib"]
44

55
[project]
66
name = "lindera-python"

0 commit comments

Comments
 (0)