Skip to content

Commit 4770a56

Browse files
Prepare 0.14.1 release (#1111)
* 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>
1 parent 5dc2a31 commit 4770a56

File tree

5 files changed

+35
-7
lines changed

5 files changed

+35
-7
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ members = [
1616
]
1717

1818
[workspace.package]
19-
version = "0.14.0"
19+
version = "0.14.1"
2020
edition = "2021"
2121
rust-version = "1.64"
2222
authors = ["Matthew Treinish <mtreinish@kortar.org>"]
@@ -57,7 +57,7 @@ rand_pcg.workspace = true
5757
rayon.workspace = true
5858
serde = { version = "1.0", features = ["derive"] }
5959
serde_json = "1.0"
60-
rustworkx-core = { path = "rustworkx-core", version = "=0.14.0" }
60+
rustworkx-core = { path = "rustworkx-core", version = "=0.14.1" }
6161

6262
[dependencies.pyo3]
6363
version = "0.20.2"

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
docs_url_prefix = ""
2525

2626
# The short X.Y version.
27-
version = '0.14.0'
27+
version = '0.14'
2828
# The full version, including alpha/beta/rc tags.
29-
release = '0.14.0'
29+
release = '0.14.1'
3030

3131
extensions = ['sphinx.ext.autodoc',
3232
'sphinx.ext.autosummary',
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
prelude: >
3+
The rustworkx 0.14.1 release is a small bug fix release that fixes two issues,
4+
firstly it address a performance regression that was introduced in 0.12.0
5+
for accessing items of custom sequence return types such as
6+
:class:`.NodeIndices`. Secondly, it fixes a build configuration issue for
7+
Linux ppc64le with Python 3.12 and 3.8 which prevented publishing wheels in
8+
0.14.0.
9+
10+
fixes:
11+
- |
12+
Fixed an performance issue with the custom sequence return type classes'
13+
``__getitem__`` method (used for element access and iteration). When support
14+
for slice access was added to these classes in rustworkx 0.12.0 this was
15+
previously implemented in a way that added unnecessary overhead to index
16+
based access, which has been corrected. This fix applies to ``__getitem__``
17+
on:
18+
19+
* :class:`.BFSSuccessors`
20+
* :class:`.BFSPredecessors`
21+
* :class:`.NodeIndices`
22+
* :class:`.EdgeIndices`
23+
* :class:`.EdgeList`
24+
* :class:`.WeightedEdgeList`
25+
* :class:`.Chains`
26+
27+
See `#1090 <https://github.com/Qiskit/rustworkx/issues/1090>`__ for more
28+
details.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def readme():
2626
graphviz_extras = ["pillow>=5.4"]
2727

2828
PKG_NAME = os.getenv("RUSTWORKX_PKG_NAME", "rustworkx")
29-
PKG_VERSION = "0.14.0"
29+
PKG_VERSION = "0.14.1"
3030
PKG_PACKAGES = ["rustworkx", "rustworkx.visualization"]
3131
PKG_INSTALL_REQUIRES = ["numpy>=1.16.0,<2"]
3232
RUST_EXTENSIONS = [RustExtension("rustworkx.rustworkx", "Cargo.toml",

0 commit comments

Comments
 (0)