This changelog track changes to the qoqo_calculator project starting at version 0.6.0
- Updated maturin version from 0.14-0.15 to >=1.4
- Updated to rust 1.70
- Added the
pyo3 = "0.21"
line to the Cargo.toml in the build dependencies.
- Reverts previous fix as it is no longer needed.
- Fixes a compatibility issue for from_pyany with struqture and qoqo.
- Update to pyo3 0.21
- Update to pyo3 0.20
- Fixes issue when deserializing a float from json when float is represented by integer (e.g.
1
instead of1.0
)
- Update to python 3.12
- Update to pyo3 0.19
- Update to pyo3 0.18
- Update dependencies, update qoqo_calculator_pyo3 to build with pyo3 0.17
- Moved metadata for python package to pyproject.toml
- Divergent version numbers in Python and Rust for qoqo_calculator_pyo3
- Uses PyO3 build config
- Updating naming scheme of internal wrappers in Python interface for downstream compatability
- Default towards immutable Calculator not allowing variable assignments to avoid side effects. The
parse_str
andparse_get
functions now take immutable Calculator references and return an error when parsing variable assignments. The old behaviour has been moved to theparse_str_aassign
function of Calculator. - Increased minimal Python version to 3.7
- Removed (soon to be) deprecaded Python::aquire_gil in pyo3 interface
- Updated pyo3 to 0.16
- FromStr implementation for CalculatorFloat that performs a partial sanity check of expressions scanning for unrecognized string sequences and assignments.
- Default for CalculatorFloat
- abs() alias for norm() function in CalculatorComplex
- support for schemars jsonschema creation for CalculatorFloat and CalculatorComplex
-
Switch CalculatorComplex serialization to produce a tuple of CalculatorFloat serialisations in line with num_complex
-
qoqo_calculator_pyo3 can now be built using a source distribution