From bfea0599ae997e0a0e2ed118cc7b604e7c977775 Mon Sep 17 00:00:00 2001 From: mlodi-hqs Date: Thu, 5 Dec 2024 09:57:33 +0100 Subject: [PATCH 1/3] clippy --- qoqo/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qoqo/build.rs b/qoqo/build.rs index 868cf04da..b0a015304 100644 --- a/qoqo/build.rs +++ b/qoqo/build.rs @@ -345,7 +345,7 @@ Raises: } } }; - if meth_doc.eq("") { + if meth_doc.is_empty() { continue; } let meth_args = From 091420a644cd38b2ed7509d05ce2502a9450447a Mon Sep 17 00:00:00 2001 From: mlodi-hqs Date: Thu, 5 Dec 2024 12:44:30 +0100 Subject: [PATCH 2/3] missing compat test --- .github/workflows/compatibility_tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/compatibility_tests.yml b/.github/workflows/compatibility_tests.yml index 0f94af9fd..0d5cddd77 100644 --- a/.github/workflows/compatibility_tests.yml +++ b/.github/workflows/compatibility_tests.yml @@ -231,6 +231,21 @@ jobs: cd ./.compatibility_tests/compatibility_test_1_15/ cargo test + unittests_check_compatibility_1_16: + name: unittests_check-compatibility-1-16 + runs-on: "ubuntu-latest" + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + default: true + - uses: Swatinem/rust-cache@v2 + - run: | + cd ./.compatibility_tests/compatibility_test_1_16/ + cargo test + unittests_check_circuit_decompositions: name: unittests_check_circuit_decompositions runs-on: "ubuntu-latest" From 432aacea916feb3b0bf91f170e6a9edf4e9d87c8 Mon Sep 17 00:00:00 2001 From: mlodi-hqs Date: Thu, 5 Dec 2024 12:44:44 +0100 Subject: [PATCH 3/3] py 313 param --- .github/workflows/hqs-build-deploy-rust-pyo3.yml | 3 +++ .github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml | 2 +- .github/workflows/hqs-ci-test-rust-pyo3.yml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hqs-build-deploy-rust-pyo3.yml b/.github/workflows/hqs-build-deploy-rust-pyo3.yml index f1446f0fa..1d5653cea 100644 --- a/.github/workflows/hqs-build-deploy-rust-pyo3.yml +++ b/.github/workflows/hqs-build-deploy-rust-pyo3.yml @@ -40,6 +40,7 @@ jobs: deploy: true # Whether to build for aarch64. Can fail if there are C/C++ dependencies build_for_arm: true + python_3_13: false secrets: inherit # Build macos wheels and upload them to PyPi @@ -50,6 +51,7 @@ jobs: with: py_interface_folder: "qoqo" deploy: true + python_3_13: false secrets: inherit # Build windows wheels and upload them to PyPi @@ -60,4 +62,5 @@ jobs: with: py_interface_folder: "qoqo" deploy: true + python_3_13: false secrets: inherit diff --git a/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml b/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml index 1ab5a983e..6fd5254f1 100644 --- a/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml +++ b/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml @@ -15,7 +15,7 @@ jobs: python-version: "3.11" - uses: peaceiris/actions-mdbook@v1 with: - version: latest + mdbook-version: latest - uses: actions-rs/toolchain@v1 with: profile: minimal diff --git a/.github/workflows/hqs-ci-test-rust-pyo3.yml b/.github/workflows/hqs-ci-test-rust-pyo3.yml index 59038c415..34011f19c 100644 --- a/.github/workflows/hqs-ci-test-rust-pyo3.yml +++ b/.github/workflows/hqs-ci-test-rust-pyo3.yml @@ -17,6 +17,7 @@ jobs: # Run tests also on macos runners macos: true rust_package_name: "roqoqo" + python_3_13: false features: "json_schema overrotate circuitdag unstable_chain_with_environment unstable_analog_operations unstable_operation_definition" build_tests: @@ -27,4 +28,5 @@ jobs: # Run tests also on macos runners macos: false py_interface_folder: "qoqo" + python_3_13: false has_python_tests: false