Skip to content

Commit

Permalink
Bump version numbers after 0.12.0 release (Qiskit#693)
Browse files Browse the repository at this point in the history
* Bump version numbers after 0.12.0 release

Now that the 0.12.0 release is out the door this commit bumps the
version numbers to indicate that the main branch is now ahead of the
0.12.0 release. At the same time this commit fixes an indentation issue
in the CI wheel publish jobs that we hit during the 0.12.0 release.

* Update setup.py

Co-authored-by: Ivan Carvalho <[email protected]>

Co-authored-by: Ivan Carvalho <[email protected]>
  • Loading branch information
mtreinish and IvanIsCoding authored Oct 9, 2022
1 parent 749491e commit 791ea0d
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 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
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ pull_request_rules:
actions:
backport:
branches:
- stable/0.11
- stable/0.12
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
@@ -1,7 +1,7 @@
[package]
name = "rustworkx"
description = "A python graph library implemented in Rust"
version = "0.12.0"
version = "0.13.0"
authors = ["Matthew Treinish <[email protected]>"]
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.13.0" }

[dependencies.pyo3]
version = "0.16.6"
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.13.0'
# The full version, including alpha/beta/rc tags.
release = '0.12.0'
release = '0.13.0'

extensions = ['sphinx.ext.autodoc',
'sphinx.ext.autosummary',
Expand Down
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.13.0"
edition = "2018"
authors = ["Matthew Treinish <[email protected]>"]
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.13.0"
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 791ea0d

Please sign in to comment.