Skip to content

Conversation

@jselig-rigetti
Copy link
Contributor

#532 wheels apparently aren't building correctly in python 3.9 this will at least test installing them in all environments.

@github-actions
Copy link

github-actions bot commented Feb 10, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://rigetti.github.io/qcs-sdk-rust/pr-preview/pr-533/

Built to branch qcs-sdk-python-docs at 2025-02-10 19:32 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@jselig-rigetti
Copy link
Contributor Author

jselig-rigetti commented Feb 10, 2025

Testing locally with this:

# on my host machine
docker run -it --platform="linux/x86_64" --entrypoint /bin/bash -v $(pwd):/code --network="host" quay.io/pypa/manylinux_2_34_x86_64:latest

# inside container
export CXXFLAGS="-std=c++11"

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
cargo install cargo-make

cd /code/crates/python
rm -rf .venv
python3.9 -m venv .venv
source .venv/bin/activate

cargo make install-deps

maturin build -i 3.9 --release

uses: messense/maturin-action@v1
with:
manylinux: '2_28'
manylinux: '2_34'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jselig-rigetti jselig-rigetti changed the title fix: test all python releases individually fix: test all python releases individually, use manylinux 2_34 Feb 10, 2025
@jselig-rigetti jselig-rigetti merged commit 9e9d7d9 into main Feb 10, 2025
2 checks passed
@jselig-rigetti jselig-rigetti deleted the fix-maturin-release branch February 10, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants