diff --git a/.circleci/config.yml b/.circleci/config.yml index 95559ccf39b..345327aa458 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -260,6 +260,13 @@ jobs: command: | apt-get update apt-get install -y python3 python3-dev + - when: + condition: + equal: [ << parameters.target >>, x86_64-unknown-linux-musl ] + steps: + - run: + name: add -crt-satic flag + command: export RUSTFLAGS="-C target-feature=-crt-static" - run: name: Install Target command: rustup target add << parameters.target >> diff --git a/influxdb3_py_api/Cargo.toml b/influxdb3_py_api/Cargo.toml index 4f6c3ae54f4..803356d2aa1 100644 --- a/influxdb3_py_api/Cargo.toml +++ b/influxdb3_py_api/Cargo.toml @@ -24,7 +24,7 @@ tokio.workspace = true [dependencies.pyo3] version = "0.23.3" # this is necessary to automatically initialize the Python interpreter -features = ["auto-initialize", "experimental-async"] +features = ["auto-initialize", "experimental-async", "abi3"] optional = true diff --git a/influxdb3_server/Cargo.toml b/influxdb3_server/Cargo.toml index 0a606ae7d5a..66121345561 100644 --- a/influxdb3_server/Cargo.toml +++ b/influxdb3_server/Cargo.toml @@ -81,7 +81,7 @@ unicode-segmentation.workspace = true [dependencies.pyo3] version = "0.23.3" # this is necessary to automatically initialize the Python interpreter -features = ["auto-initialize"] +features = ["auto-initialize", "abi3"] optional = true [features]