Skip to content

Commit 8d4762e

Browse files
committed
Fix python-release.yml workflow?
1 parent 8702792 commit 8d4762e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/python-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ jobs:
8888
command: sdist
8989
args: --out dist
9090
working-directory: python/pecos-rslib
91+
manylinux: auto
92+
env:
93+
RUSTFLAGS: "-C link-arg=-Wl,--no-as-needed -C link-arg=-ldl -C link-arg=-lrt"
9194

9295
- name: Restore README.md
9396
if: always()
@@ -159,6 +162,8 @@ jobs:
159162
working-directory: python/pecos-rslib
160163
target: ${{ matrix.architecture == 'aarch64' && (matrix.os == 'macos-latest' && 'aarch64-apple-darwin' || 'aarch64-unknown-linux-gnu') || (matrix.os == 'macos-latest' && 'x86_64-apple-darwin' || '') }}
161164
manylinux: auto
165+
env:
166+
RUSTFLAGS: "-C link-arg=-Wl,--no-as-needed -C link-arg=-ldl -C link-arg=-lrt"
162167

163168
- name: Restore README.md
164169
if: always()

python/pecos-rslib/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "pecos_rslib"
1717
crate-type = ["cdylib", "rlib"]
1818

1919
[dependencies]
20-
pyo3 = { workspace=true, features = ["extension-module", "auto-initialize"] }
20+
pyo3 = { workspace=true, features = ["extension-module"] }
2121
pecos = { workspace = true }
2222
pecos-engines = { workspace = true }
2323
parking_lot = { workspace = true}

0 commit comments

Comments
 (0)