Skip to content

Commit

Permalink
Prepare 0.14.1 release (#1111)
Browse files Browse the repository at this point in the history
* Prepare 0.14.1 release

This commit prepares for a 0.14.1 release which just includes #1109 to
fix ppc64le builds and #1096 to fix the overhead of `__getitem__` on
custom sequence return types.

* Update releasenotes/notes/prepare-0.14.1-e5065553a44eb035.yaml

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>

* Update version in docs config too

---------

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>
  • Loading branch information
mtreinish and IvanIsCoding authored Feb 22, 2024
1 parent 5dc2a31 commit 4770a56
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 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
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
docs_url_prefix = ""

# The short X.Y version.
version = '0.14.0'
version = '0.14'
# The full version, including alpha/beta/rc tags.
release = '0.14.0'
release = '0.14.1'

extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
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,
firstly 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 4770a56

Please sign in to comment.