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 bd30f04d..96688a68 100644 --- a/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml +++ b/.github/workflows/hqs-build-deploy-sphinx-doc-rust-pyo3.yml @@ -8,7 +8,7 @@ on: jobs: publish_documentation: - uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_unittests_rust_pyo3.yml@main + uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_publish_documenation_rust_sphinx.yml@main with: py_interface_folder: "qoqo" py_docs_folder: "qoqo/docs" diff --git a/.github/workflows/temp_test.yml b/.github/workflows/temp_test.yml index b2a9e791..577099bc 100644 --- a/.github/workflows/temp_test.yml +++ b/.github/workflows/temp_test.yml @@ -14,6 +14,4 @@ jobs: py_interface_folder: "qoqo_calculator_pyo3" # Try to build python wheels with universal2 for arm and x86 universal2: true - deploy: false - - + deploy: false \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 11b66589..d24c18ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ This changelog track changes to the qoqo project starting at version v0.5.0 +## 1.2.5 + +* Updated to pyo3 0.18.1 + + ## 1.2.4 * Updated to pyo3 0.18, qoqo_calculator 1.1.1 and nalgebra 0.32 diff --git a/Cargo.lock b/Cargo.lock index d4992736..522c014e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -380,9 +380,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.0" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "parking_lot" @@ -415,9 +415,9 @@ checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" [[package]] name = "petgraph" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" +checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", "indexmap", @@ -478,9 +478,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccd4149c8c3975099622b4e1962dac27565cf5663b76452c3e2b66e0b6824277" +checksum = "06a3d8e8a46ab2738109347433cb7b96dffda2e4a218b03ef27090238886b147" dependencies = [ "cfg-if", "indoc", @@ -496,9 +496,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd09fe469834db21ee60e0051030339e5d361293d8cb5ec02facf7fdcf52dbf" +checksum = "75439f995d07ddfad42b192dfcf3bc66a7ecfd8b4a1f5f6f046aa5c2c5d7677d" dependencies = [ "once_cell", "target-lexicon", @@ -506,9 +506,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c427c9a96b9c5b12156dbc11f76b14f49e9aae8905ca783ea87c249044ef137" +checksum = "839526a5c07a17ff44823679b68add4a58004de00512a95b6c1c98a6dcac0ee5" dependencies = [ "libc", "pyo3-build-config", @@ -516,9 +516,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b822bbba9d60630a44d2109bc410489bb2f439b33e3a14ddeb8a40b378a7c4" +checksum = "bd44cf207476c6a9760c4653559be4f206efafb924d3e4cbf2721475fc0d6cc5" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -528,9 +528,9 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ae898104f7c99db06231160770f3e40dad6eb9021daddc0fedfa3e41dff10a" +checksum = "dc1f43d8e30460f36350d18631ccf85ded64c059829208fe680904c65bcd0a4c" dependencies = [ "proc-macro2", "quote", @@ -539,7 +539,7 @@ dependencies = [ [[package]] name = "qoqo" -version = "1.2.4" +version = "1.2.5" dependencies = [ "bincode", "nalgebra", @@ -563,7 +563,7 @@ dependencies = [ [[package]] name = "qoqo-macros" -version = "1.2.4" +version = "1.2.5" dependencies = [ "proc-macro2", "quote", @@ -661,7 +661,7 @@ dependencies = [ [[package]] name = "roqoqo" -version = "1.2.4" +version = "1.2.5" dependencies = [ "async-trait", "bincode", @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "roqoqo-derive" -version = "1.2.4" +version = "1.2.5" dependencies = [ "proc-macro2", "quote", @@ -697,7 +697,7 @@ dependencies = [ [[package]] name = "roqoqo-test" -version = "1.2.4" +version = "1.2.5" dependencies = [ "nalgebra", "ndarray", @@ -758,9 +758,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.92" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7434af0dc1cbd59268aa98b4c22c131c0584d2232f6fb166efb993e2832e896a" +checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" dependencies = [ "itoa", "ryu", @@ -817,24 +817,24 @@ dependencies = [ [[package]] name = "target-lexicon" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" +checksum = "8ae9980cab1db3fceee2f6c6f643d5d8de2997c58ee8d25fb0cc8a9e9e7348e5" [[package]] name = "test-case" -version = "2.2.2" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21d6cf5a7dffb3f9dceec8e6b8ca528d9bd71d36c9f074defb548ce161f598c0" +checksum = "679b019fb241da62cc449b33b224d19ebe1c6767b495569765115dd7f7f9fba4" dependencies = [ "test-case-macros", ] [[package]] -name = "test-case-macros" -version = "2.2.2" +name = "test-case-core" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e45b7bf6e19353ddd832745c8fcf77a17a93171df7151187f26623f2b75b5b26" +checksum = "72dc21b5887f4032c4656502d085dc28f2afbb686f25f216472bb0526f4b1b88" dependencies = [ "cfg-if", "proc-macro-error", @@ -843,6 +843,19 @@ dependencies = [ "syn", ] +[[package]] +name = "test-case-macros" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3786898e0be151a96f730fd529b0e8a10f5990fa2a7ea14e37ca27613c05190" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "syn", + "test-case-core", +] + [[package]] name = "thiserror" version = "1.0.38" diff --git a/compatibility_test/Cargo.toml b/compatibility_test/Cargo.toml index f9512e19..835b8add 100644 --- a/compatibility_test/Cargo.toml +++ b/compatibility_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compatibility_test" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" edition = "2021" @@ -21,9 +21,9 @@ publish = false [dependencies] test_roqoqo_1_0 = {package = "roqoqo", version="=1.0.0"} test_roqoqo_derive_1_0 = {package = "roqoqo-derive", version="=1.0.0"} -qoqo_calculator = { version="1.1.1" } -roqoqo = {version="1.2.4", path="../roqoqo", features=["serialize", "overrotate"]} +qoqo_calculator = { version="1.1" } +roqoqo = {version="1.2.5", path="../roqoqo", features=["serialize", "overrotate"]} bincode = {version="1.3"} [dev-dependencies] -test-case = "2.0" \ No newline at end of file +test-case = "3.0" \ No newline at end of file diff --git a/qoqo-macros/Cargo.toml b/qoqo-macros/Cargo.toml index a84aeef9..8d71cd09 100644 --- a/qoqo-macros/Cargo.toml +++ b/qoqo-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "qoqo-macros" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" readme = "../README.md" diff --git a/qoqo/Cargo.toml b/qoqo/Cargo.toml index 1cef4d3f..5972bc9f 100644 --- a/qoqo/Cargo.toml +++ b/qoqo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "qoqo" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" homepage = "https://github.com/HQSquantumsimulations/qoqo" @@ -30,16 +30,16 @@ serde = { version = "1.0", features = ["derive"] } ndarray = "0.15" num-complex = "0.4" thiserror = "1.0" -qoqo_calculator = { version="1.1.1" } -qoqo_calculator_pyo3 = {version="1.1.1", default-features=false} -qoqo-macros = {version="1.2.4", path="../qoqo-macros"} -roqoqo = {version="1.2.4", path="../roqoqo", features=["serialize", "overrotate"]} +qoqo_calculator = { version="1.1" } +qoqo_calculator_pyo3 = {version="1.1", default-features=false} +qoqo-macros = {version="1.2.5", path="../qoqo-macros"} +roqoqo = {version="1.2.5", path="../roqoqo", features=["serialize", "overrotate"]} numpy = "0.18" bincode = "1.3" serde_json = "1.0" [dev-dependencies] -test-case = "2.0" +test-case = "3.0" nalgebra = "0.32" [build-dependencies] diff --git a/qoqo/pyproject.toml b/qoqo/pyproject.toml index 5f8ef4a2..0bb255e4 100644 --- a/qoqo/pyproject.toml +++ b/qoqo/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "qoqo" -version = "1.2.4" +version = "1.2.5" dependencies = [ 'numpy', 'qoqo_calculator_pyo3>=1.1', diff --git a/qoqo/qoqo/DEPENDENCIES b/qoqo/qoqo/DEPENDENCIES index c25ea283..66ccd7d1 100644 --- a/qoqo/qoqo/DEPENDENCIES +++ b/qoqo/qoqo/DEPENDENCIES @@ -4924,7 +4924,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================== -once_cell 1.17.0 +once_cell 1.17.1 https://github.com/matklad/once_cell by Aleksey Kladov Single assignment cells and lazy values. @@ -5884,11 +5884,11 @@ DEALINGS IN THE SOFTWARE. ==================================================== -petgraph 0.6.2 +petgraph 0.6.3 https://github.com/petgraph/petgraph by bluss, mitchmindtree Graph data structure library. Provides graph types and graph algorithms. -License: MIT/Apache-2.0 +License: MIT OR Apache-2.0 ---------------------------------------------------- LICENSE-APACHE: @@ -7054,7 +7054,7 @@ DEALINGS IN THE SOFTWARE. ==================================================== -pyo3 0.18.0 +pyo3 0.18.1 https://github.com/pyo3/pyo3 by PyO3 Project and Contributors Bindings to Python interpreter @@ -7254,7 +7254,7 @@ LICENSE: ==================================================== -pyo3-build-config 0.18.0 +pyo3-build-config 0.18.1 https://github.com/pyo3/pyo3 by PyO3 Project and Contributors Build configuration for the PyO3 ecosystem @@ -7454,7 +7454,7 @@ LICENSE: ==================================================== -pyo3-ffi 0.18.0 +pyo3-ffi 0.18.1 https://github.com/pyo3/pyo3 by PyO3 Project and Contributors Python-API bindings for the PyO3 ecosystem @@ -8082,7 +8082,7 @@ docs/license.html_lib. ==================================================== -pyo3-macros 0.18.0 +pyo3-macros 0.18.1 https://github.com/pyo3/pyo3 by PyO3 Project and Contributors Proc macros for PyO3 package @@ -8282,7 +8282,7 @@ LICENSE: ==================================================== -pyo3-macros-backend 0.18.0 +pyo3-macros-backend 0.18.1 https://github.com/pyo3/pyo3 by PyO3 Project and Contributors Code generation for PyO3 package @@ -8482,7 +8482,7 @@ LICENSE: ==================================================== -qoqo 1.2.4 +qoqo 1.2.5 https://github.com/HQSquantumsimulations/qoqo by HQS Quantum Simulations Quantum computing circuit toolkit. Python interface of roqoqo @@ -8694,7 +8694,7 @@ LICENSE: ==================================================== -qoqo-macros 1.2.4 +qoqo-macros 1.2.5 by HQS Quantum Simulations Macros for the qoqo crate License: Apache-2.0 @@ -10764,7 +10764,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ==================================================== -roqoqo 1.2.4 +roqoqo 1.2.5 https://github.com/HQSquantumsimulations/qoqo by HQS Quantum Simulations Rust Quantum Computing Toolkit by HQS @@ -10976,7 +10976,7 @@ LICENSE: ==================================================== -roqoqo-derive 1.2.4 +roqoqo-derive 1.2.5 by HQS Quantum Simulations Macros for the roqoqo crate License: Apache-2.0 @@ -11187,7 +11187,7 @@ LICENSE: ==================================================== -roqoqo-test 1.2.4 +roqoqo-test 1.2.5 https://github.com/HQSquantumsimulations/qoqo by HQS Quantum Simulations Testing helper functions for roqoqo toolkit @@ -12623,7 +12623,7 @@ DEALINGS IN THE SOFTWARE. ==================================================== -serde_json 1.0.92 +serde_json 1.0.93 https://github.com/serde-rs/json by Erick Tryzelaar , David Tolnay A JSON serialization file format @@ -13768,7 +13768,7 @@ DEALINGS IN THE SOFTWARE. ==================================================== -target-lexicon 0.12.5 +target-lexicon 0.12.6 https://github.com/bytecodealliance/target-lexicon by Dan Gohman Targeting utilities for compilers and related tools @@ -13999,7 +13999,7 @@ Software. ==================================================== -test-case 2.2.2 +test-case 3.0.0 https://github.com/frondeus/test-case by Marcin Sas-Szymanski , Wojciech Polak , Łukasz Biel Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily @@ -14031,7 +14031,14 @@ SOFTWARE. ==================================================== -test-case-macros 2.2.2 +test-case-core 3.0.0 +https://github.com/frondeus/test-case +by Marcin Sas-Szymanski , Wojciech Polak , Łukasz Biel +Provides core functionality for parsing #[test_case(...)] procedural macro attribute for generating parametrized test cases easily +License: MIT + +==================================================== +test-case-macros 3.0.0 https://github.com/frondeus/test-case by Marcin Sas-Szymanski , Wojciech Polak , Łukasz Biel Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily diff --git a/roqoqo-derive/Cargo.toml b/roqoqo-derive/Cargo.toml index 23037da4..208a8dbd 100644 --- a/roqoqo-derive/Cargo.toml +++ b/roqoqo-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roqoqo-derive" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" edition = "2021" diff --git a/roqoqo-test/Cargo.toml b/roqoqo-test/Cargo.toml index dff8df40..30aa78d8 100644 --- a/roqoqo-test/Cargo.toml +++ b/roqoqo-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roqoqo-test" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" edition = "2021" @@ -18,8 +18,8 @@ doctest = false crate-type = ["rlib"] [dependencies] -qoqo_calculator = { version="1.1.1" } -roqoqo = {version="1.2.4", path="../roqoqo", features=["serialize"]} +qoqo_calculator = { version="1.1" } +roqoqo = {version="1.2.5", path="../roqoqo", features=["serialize"]} rand = "0.8" nalgebra = "0.32" ndarray = { version = "0.15" } diff --git a/roqoqo/Cargo.toml b/roqoqo/Cargo.toml index d5f4c5bd..8f58172a 100644 --- a/roqoqo/Cargo.toml +++ b/roqoqo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "roqoqo" -version = "1.2.4" +version = "1.2.5" authors = ["HQS Quantum Simulations "] license = "Apache-2.0" edition = "2021" @@ -27,8 +27,8 @@ ndarray = { version = "0.15" } num-complex = { version = "0.4"} thiserror = "1.0" dyn-clone = {version="1.0", optional=true} -qoqo_calculator = { version="1.1.1"} -roqoqo-derive = {version="1.2.4", path="../roqoqo-derive"} +qoqo_calculator = { version="1.1"} +roqoqo-derive = {version="1.2.5", path="../roqoqo-derive"} typetag = {version="0.2", optional=true} nalgebra = "0.32" # schemars = { version="0.8", features = ["num-complex", "ndarray"], optional=true } @@ -41,7 +41,7 @@ bincode = {version="1.3", optional=true} [dev-dependencies] serde_test = "1.0" -test-case = "2.0" +test-case = "3.0" serde_json = "1.0" [build-dependencies]