diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8b49035e..1637bae5 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -54,6 +54,8 @@ jobs: args: --release --out dist --find-interpreter --manifest-path ./python-sdk/Cargo.toml sccache: 'true' manylinux: auto + before-script-linux: | + dnf install perl-core perl-IPC-Cmd - name: Upload wheels uses: actions/upload-artifact@v4 with: diff --git a/python-sdk/Cargo.toml b/python-sdk/Cargo.toml index 53f89df3..4eb02540 100644 --- a/python-sdk/Cargo.toml +++ b/python-sdk/Cargo.toml @@ -14,3 +14,10 @@ pyo3 = { version = "0.22.0" } pyo3-log = "0.11.0" serde-pyobject = "0.4.0" serde_json = "1.0.125" + +# We don't use reqwest directly, so the following overrides it to +# enable feature flag. native-tls-vendored is required to vendor +# OpenSSL on linux builds, so we don't depend on shared libraries. +# +# See: https://github.com/PyO3/maturin-action/discussions/78 +reqwest = { version = "*", features = ["native-tls-vendored"] }