Skip to content

Commit

Permalink
Prepare 0.12.1 release (#748)
Browse files Browse the repository at this point in the history
This commit prepares for the 0.12.1 bugfix release. It bumps all the
version numbers and adds a prelude release note to document the release.
Once this merges we should tag the 0.12.1 release from that merged
commit.
  • Loading branch information
mtreinish committed Nov 23, 2022
1 parent 1a097bf commit 1c08be9
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 36 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,27 +371,27 @@ jobs:
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: retworkx-ci
retworkx-compat-build:
name: Build retworkx
runs-on: ubuntu-latest
needs: ["build_wheels", "build-win32-wheels"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
- name: Install deps
run: pip install -U twine setuptools-rust
- name: Build sdist
run: python setup.py sdist bdist_wheel
env:
RUSTWORKX_PKG_NAME: retworkx
- uses: actions/upload-artifact@v2
with:
path: ./dist/*
- name: Upload to PyPI
run: twine upload ./dist/*
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: retworkx-ci
retworkx-compat-build:
name: Build retworkx
runs-on: ubuntu-latest
needs: ["build_wheels", "build-win32-wheels"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'
- name: Install deps
run: pip install -U twine setuptools-rust
- name: Build sdist
run: python setup.py sdist bdist_wheel
env:
RUSTWORKX_PKG_NAME: retworkx
- uses: actions/upload-artifact@v2
with:
path: ./dist/*
- name: Upload to PyPI
run: twine upload ./dist/*
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: retworkx-ci
8 changes: 4 additions & 4 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
@@ -1,7 +1,7 @@
[package]
name = "rustworkx"
description = "A python graph library implemented in Rust"
version = "0.12.0"
version = "0.12.1"
authors = ["Matthew Treinish <mtreinish@kortar.org>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -32,7 +32,7 @@ num-complex = "0.4"
quick-xml = "0.22.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rustworkx-core = { path = "rustworkx-core", version = "=0.12.0" }
rustworkx-core = { path = "rustworkx-core", version = "=0.12.1" }

[dependencies.pyo3]
version = "0.17.3"
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 @@


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

extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rustworkx Documentation

.. note::

The project has been renamed to **rustworkx**. You can still use the legavcy
The project has been renamed to **rustworkx**. You can still use the legacy
retworkx name for now but starting in the 1.0.0 release the retworkx name
will no longer be supported.

Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/prepare-0.12.1-e59878f49351baf1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
prelude: |
This release is a bugfix release that fixes bugs identified since the
0.12.0 release.
4 changes: 2 additions & 2 deletions rustworkx-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustworkx-core"
version = "0.12.0"
version = "0.12.1"
edition = "2018"
authors = ["Matthew Treinish <mtreinish@kortar.org>"]
description = "Rust APIs used for rustworkx algorithms"
Expand All @@ -27,4 +27,4 @@ version = "1.7"
features = ["rayon"]

[dev-dependencies]
rand = "0.8"
rand = "0.8"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def readme():
graphviz_extras = ['pillow>=5.4']

PKG_NAME = os.getenv('RUSTWORKX_PKG_NAME', "rustworkx")
PKG_VERSION = "0.12.0"
PKG_VERSION = "0.12.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 1c08be9

Please sign in to comment.