Skip to content

Commit

Permalink
Prepare 0.14.1 release
Browse files Browse the repository at this point in the history
This commit prepares for a 0.14.1 release which just includes Qiskit#1109 to
fix ppc64le builds and Qiskit#1096 to fix the overhead of `__getitem__` on
custom sequence return types.
  • Loading branch information
mtreinish committed Feb 22, 2024
1 parent d1f0a1c commit ca6d5a7
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ members = [
]

[workspace.package]
version = "0.14.0"
version = "0.14.1"
edition = "2021"
rust-version = "1.64"
authors = ["Matthew Treinish <mtreinish@kortar.org>"]
Expand Down Expand Up @@ -57,7 +57,7 @@ rand_pcg.workspace = true
rayon.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rustworkx-core = { path = "rustworkx-core", version = "=0.14.0" }
rustworkx-core = { path = "rustworkx-core", version = "=0.14.1" }

[dependencies.pyo3]
version = "0.20.2"
Expand Down
28 changes: 28 additions & 0 deletions releasenotes/notes/prepare-0.14.1-e5065553a44eb035.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
prelude: >
The rustworkx 0.14.1 release is a small bug fix release that fixes two issues,
first it address a performance regression that was introduced in 0.12.0
for accessing items of custom sequence return types such as
:class:`.NodeIndices`. Secondly, it fixes a build configuration issue for
Linux ppc64le with Python 3.12 and 3.8 which prevented publishing wheels in
0.14.0.
fixes:
- |
Fixed an performance issue with the custom sequence return type classes'
``__getitem__`` method (used for element access and iteration). When support
for slice access was added to these classes in rustworkx 0.12.0 this was
previously implemented in a way that added unnecessary overhead to index
based access, which has been corrected. This fix applies to ``__getitem__``
on:
* :class:`.BFSSuccessors`
* :class:`.BFSPredecessors`
* :class:`.NodeIndices`
* :class:`.EdgeIndices`
* :class:`.EdgeList`
* :class:`.WeightedEdgeList`
* :class:`.Chains`
See `#1090 <https://github.com/Qiskit/rustworkx/issues/1090>`__ for more
details.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def readme():
graphviz_extras = ["pillow>=5.4"]

PKG_NAME = os.getenv("RUSTWORKX_PKG_NAME", "rustworkx")
PKG_VERSION = "0.14.0"
PKG_VERSION = "0.14.1"
PKG_PACKAGES = ["rustworkx", "rustworkx.visualization"]
PKG_INSTALL_REQUIRES = ["numpy>=1.16.0,<2"]
RUST_EXTENSIONS = [RustExtension("rustworkx.rustworkx", "Cargo.toml",
Expand Down

0 comments on commit ca6d5a7

Please sign in to comment.