This is an automated email from the ASF dual-hosted git repository. hgruszecki pushed a commit to branch python-ci-maturin-uv-edition in repository https://gitbox.apache.org/repos/asf/iggy.git
commit 51b95620fd223f5a6d2847bd44799ad3864ce79e Author: Hubert Gruszecki <[email protected]> AuthorDate: Fri Mar 20 16:23:32 2026 +0100 chore(python): bump SDK to 0.7.4-dev1, modernize CI and deps maturin upload/publish is deprecated (PyO3/maturin#2334) and will be removed in maturin 2.0. Replace with uv publish which the maturin maintainers recommend. Replace pyo3-stub-gen git rev pin with crates.io 0.19.0. The pin was needed in Sep 2025 when no release supported pyo3 >= 0.26.0; that's long resolved. Also update Rust edition to 2024, add missing Python 3.13 classifier, and regenerate stale uv.lock. --- .github/actions/python-maturin/post-merge/action.yml | 14 ++++++++------ foreign/python/Cargo.toml | 11 ++++------- foreign/python/pyproject.toml | 8 +++----- foreign/python/uv.lock | 2 +- 4 files changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/actions/python-maturin/post-merge/action.yml b/.github/actions/python-maturin/post-merge/action.yml index bb2d73f69..2bf428684 100644 --- a/.github/actions/python-maturin/post-merge/action.yml +++ b/.github/actions/python-maturin/post-merge/action.yml @@ -151,11 +151,13 @@ runs: echo "View on PyPI: https://pypi.org/project/apache-iggy/$VERSION/" shell: bash - - name: Publish to PyPI using maturin + - name: Install uv if: inputs.dry_run == 'false' - uses: PyO3/maturin-action@v1 + uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + + - name: Publish to PyPI + if: inputs.dry_run == 'false' + run: uv publish --check-url https://pypi.org/simple/ --token "$PYPI_API_TOKEN" ${{ inputs.wheels_path }}/* + shell: bash env: - MATURIN_PYPI_TOKEN: ${{ env.PYPI_API_TOKEN }} - with: - command: upload - args: --non-interactive --skip-existing ${{ inputs.wheels_path }}/* + PYPI_API_TOKEN: ${{ env.PYPI_API_TOKEN }} diff --git a/foreign/python/Cargo.toml b/foreign/python/Cargo.toml index b7aa35d7a..827b38c3a 100644 --- a/foreign/python/Cargo.toml +++ b/foreign/python/Cargo.toml @@ -17,12 +17,9 @@ [package] name = "apache-iggy" -version = "0.7.3-dev1" -edition = "2021" -authors = [ - "Dario Lencina Talarico <[email protected]>", - "Albin Skott <[email protected]>", -] +version = "0.7.4-dev1" +edition = "2024" +authors = ["Iggy Committers <[email protected]>"] license = "Apache-2.0" description = "Apache Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second." documentation = "https://iggy.apache.org/docs/" @@ -37,7 +34,7 @@ pyo3-async-runtimes = { version = "0.28.0", features = [ "attributes", "tokio-runtime", ] } -pyo3-stub-gen = { git = "https://github.com/Jij-Inc/pyo3-stub-gen.git", rev = "63e77533b55782799df28ea4b4676c42d203779e" } +pyo3-stub-gen = "0.19.0" tokio = "1.50.0" [lib] diff --git a/foreign/python/pyproject.toml b/foreign/python/pyproject.toml index 24c52c973..ba57ad43c 100644 --- a/foreign/python/pyproject.toml +++ b/foreign/python/pyproject.toml @@ -22,14 +22,11 @@ build-backend = "maturin" [project] name = "apache-iggy" requires-python = ">=3.10" -version = "0.7.3.dev1" +version = "0.7.4.dev1" description = "Apache Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second." readme = "README.md" license = { file = "LICENSE" } -authors = [ - { name = "Dario Lencina Talarico", email = "[email protected]" }, - { name = "Albin Skott", email = "[email protected]" }, -] +authors = [{ name = "Iggy Committers", email = "[email protected]" }] keywords = ["streaming", "messaging", "pubsub", "iggy", "rust", "performance"] classifiers = [ "Development Status :: 4 - Beta", @@ -40,6 +37,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", diff --git a/foreign/python/uv.lock b/foreign/python/uv.lock index e17b932d8..fae5c66cd 100644 --- a/foreign/python/uv.lock +++ b/foreign/python/uv.lock @@ -4,7 +4,7 @@ requires-python = ">=3.10" [[package]] name = "apache-iggy" -version = "0.7.3.dev1" +version = "0.7.4.dev1" source = { editable = "." } [package.optional-dependencies]
