Skip to content

Commit

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

This commit prepares the 0.13.1 release, this consists of bumping the
version number to 0.13.1 in all the appropriate files. It also adds a
prelude release note to provide a brief introduction to the release. When
this commit merges it should be tagged as the 0.13.1 release.

Closes #893

* Add missing fix notes

* Apply suggestions from code review

Co-authored-by: Edwin Navarro <[email protected]>

---------

Co-authored-by: Edwin Navarro <[email protected]>
  • Loading branch information
mtreinish and enavarro51 authored Jul 29, 2023
1 parent 69ab37f commit a0bca3a
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 19 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rustworkx"
description = "A python graph library implemented in Rust"
version = "0.13.0"
version = "0.13.1"
authors = ["Matthew Treinish <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -33,10 +33,10 @@ ndarray-stats = "0.5.1"
quick-xml = "0.28"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rustworkx-core = { path = "rustworkx-core", version = "=0.13.0" }
rustworkx-core = { path = "rustworkx-core", version = "=0.13.1" }

[dependencies.pyo3]
version = "0.19.0"
version = "0.19.1"
features = ["extension-module", "hashbrown", "num-bigint", "num-complex", "indexmap"]

[dependencies.hashbrown]
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 = "ecosystem/rustworkx"

# The short X.Y version.
version = '0.13.0'
version = '0.13.1'
# The full version, including alpha/beta/rc tags.
release = '0.13.0'
release = '0.13.1'

extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
Expand Down
25 changes: 25 additions & 0 deletions releasenotes/notes/prepare-0.13.1-45317a1fda68b4ca.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
prelude: >
rustworkx 0.13.1 is a bugfix release, addressing some issues identified
since the 0.13.0 release.
fixes:
- |
Fixed a potential source of non-determinism in the output of the
``token_swapper()`` function in rustworkx-core along with its matching
function in the Python rustworkx package: :func:`~.graph_token_swapper`.
- |
Fixed the rustworkx-core dependencies to loosen the constraints on the
version of ``hashbrown`` and ``indexmap`` used. Previously, they were fixed
to the latest version which was compatible with rustworkx's MSRV. This has
been updated so a range of versions can be used, which will enable users
that don't have as restrictive of an MSRV to use newer versions of these
libraries with rustworkx-core.
issues:
- |
The type hint stub files included in this release (and 0.13.0) are not
compatible with Python 3.7's type hinting syntax. If you are now using
``mypy`` to partially validate the typing in your usage of rustworkx, you
should not run this with Python 3.7 as it will not function correctly.
The actual rustworkx code will continue to function as expected with
Python 3.7 for the 0.13.x release series, it was just the typing syntax
used in the stubs files which are incompatible with Python 3.7.
2 changes: 1 addition & 1 deletion rustworkx-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustworkx-core"
version = "0.13.0"
version = "0.13.1"
edition = "2021"
authors = ["Matthew Treinish <[email protected]>"]
description = "Rust APIs used for rustworkx algorithms"
Expand Down
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.13.0"
PKG_VERSION = "0.13.1"
PKG_PACKAGES = ["rustworkx", "rustworkx.visualization"]
PKG_INSTALL_REQUIRES = ['numpy>=1.16.0']
RUST_EXTENSIONS = [RustExtension("rustworkx.rustworkx", "Cargo.toml",
Expand Down

0 comments on commit a0bca3a

Please sign in to comment.