diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85add3c2a..0bd44ba22 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,7 +57,7 @@ jobs: strategy: matrix: rust: [stable] - python-version: ['3.7.16', 3.8, 3.9, "3.10", "3.11"] + python-version: ['3.7.16', 3.8, 3.9, "3.10", "3.11", "3.12.0-rc.3"] platform: [ { os: "macOS-latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" }, { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" }, diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6780979d4..327b05e67 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -55,7 +55,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -97,7 +97,7 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -140,7 +140,7 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -183,7 +183,7 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -226,7 +226,7 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -270,7 +270,7 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse @@ -300,7 +300,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build wheels - uses: joerick/cibuildwheel@v2.10.1 + uses: joerick/cibuildwheel@v2.16.1 env: CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin CIBW_ARCHS_MACOS: arm64 universal2 @@ -338,7 +338,7 @@ jobs: run: rustup default stable-i686-pc-windows-msvc - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.10.1 twine + python -m pip install cibuildwheel==2.16.1 twine - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse diff --git a/Cargo.lock b/Cargo.lock index 0df15b9b3..7c299cc9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -188,9 +188,9 @@ checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" [[package]] name = "libm" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "lock_api" @@ -315,9 +315,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", "libm", @@ -414,9 +414,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb88ae05f306b4bfcde40ac4a51dc0b05936a9207a4b75b798c7729c4258a59" +checksum = "e681a6cfdc4adcc93b4d3cf993749a4552018ee0a9b65fc0ccfad74352c72a38" dependencies = [ "cfg-if", "hashbrown", @@ -435,9 +435,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "554db24f0b3c180a9c0b1268f91287ab3f17c162e15b54caaae5a6b3773396b0" +checksum = "076c73d0bc438f7a4ef6fdd0c3bb4732149136abd952b110ac93e4edb13a6ba5" dependencies = [ "once_cell", "target-lexicon", @@ -445,9 +445,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "922ede8759e8600ad4da3195ae41259654b9c55da4f7eec84a0ccc7d067a70a4" +checksum = "e53cee42e77ebe256066ba8aa77eff722b3bb91f3419177cf4cd0f304d3284d9" dependencies = [ "libc", "pyo3-build-config", @@ -455,9 +455,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a5caec6a1dd355964a841fcbeeb1b89fe4146c87295573f94228911af3cc5a2" +checksum = "dfeb4c99597e136528c6dd7d5e3de5434d1ceaf487436a3f03b2d56b6fc9efd1" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -467,9 +467,9 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0b78ccbb160db1556cdb6fd96c50334c5d4ec44dc5e0a968d0a1208fa0efa8b" +checksum = "947dc12175c254889edc0c02e399476c2f652b4b9ebd123aa655c224de259536" dependencies = [ "proc-macro2", "quote", @@ -589,7 +589,7 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustworkx" -version = "0.13.1" +version = "0.13.2" dependencies = [ "ahash 0.8.0", "fixedbitset", @@ -615,7 +615,7 @@ dependencies = [ [[package]] name = "rustworkx-core" -version = "0.13.1" +version = "0.13.2" dependencies = [ "ahash 0.8.0", "fixedbitset", diff --git a/Cargo.toml b/Cargo.toml index a58076837..0434b9dad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustworkx" description = "A python graph library implemented in Rust" -version = "0.13.1" +version = "0.13.2" authors = ["Matthew Treinish "] license = "Apache-2.0" readme = "README.md" @@ -33,7 +33,7 @@ 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.1" } +rustworkx-core = { path = "rustworkx-core", version = "=0.13.2" } [dependencies.pyo3] version = "0.19.1" diff --git a/docs/source/conf.py b/docs/source/conf.py index 1c4b581b9..19830b4cd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,9 +24,9 @@ docs_url_prefix = "ecosystem/rustworkx" # The short X.Y version. -version = '0.13.1' +version = '0.13.2' # The full version, including alpha/beta/rc tags. -release = '0.13.1' +release = '0.13.2' extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', diff --git a/releasenotes/notes/prepare-0.13.1-45317a1fda68b4ca.yaml b/releasenotes/notes/0.13/prepare-0.13.1-45317a1fda68b4ca.yaml similarity index 100% rename from releasenotes/notes/prepare-0.13.1-45317a1fda68b4ca.yaml rename to releasenotes/notes/0.13/prepare-0.13.1-45317a1fda68b4ca.yaml diff --git a/releasenotes/notes/prepare-0.13.2-release-fe9ec0911da8edd0.yaml b/releasenotes/notes/prepare-0.13.2-release-fe9ec0911da8edd0.yaml new file mode 100644 index 000000000..214693ed4 --- /dev/null +++ b/releasenotes/notes/prepare-0.13.2-release-fe9ec0911da8edd0.yaml @@ -0,0 +1,5 @@ +--- +prelude: > + rustworkx 0.13.2 is a minor release, adding support for Python 3.12. + Existing users of 0.13.1 should not be affected by this release, but + are still encouraged to upgraded. diff --git a/rustworkx-core/Cargo.toml b/rustworkx-core/Cargo.toml index 4267e4a60..ea88683ee 100644 --- a/rustworkx-core/Cargo.toml +++ b/rustworkx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustworkx-core" -version = "0.13.1" +version = "0.13.2" edition = "2021" authors = ["Matthew Treinish "] description = "Rust APIs used for rustworkx algorithms" diff --git a/setup.py b/setup.py index 6d20069a6..a69c1d410 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def readme(): graphviz_extras = ['pillow>=5.4'] PKG_NAME = os.getenv('RUSTWORKX_PKG_NAME', "rustworkx") -PKG_VERSION = "0.13.1" +PKG_VERSION = "0.13.2" PKG_PACKAGES = ["rustworkx", "rustworkx.visualization"] PKG_INSTALL_REQUIRES = ['numpy>=1.16.0'] RUST_EXTENSIONS = [RustExtension("rustworkx.rustworkx", "Cargo.toml", diff --git a/tox.ini b/tox.ini index aeab7f94c..72cab52bb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 4.4.0 -envlist = py37, py38, py39, py310, py311, lint +envlist = py37, py38, py39, py310, py311, py312, lint isolated_build = true [testenv]