diff --git a/.github/workflows/release_python.yml b/.github/workflows/release_python.yml index 7199eaad1..cf606f611 100644 --- a/.github/workflows/release_python.yml +++ b/.github/workflows/release_python.yml @@ -49,9 +49,9 @@ jobs: command: sdist args: -o dist - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: bindings/python/dist wheels: @@ -84,9 +84,9 @@ jobs: # Workaround ring 0.17 build issue CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8" - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ matrix.os }}-${{ matrix.target }} path: bindings/python/dist pypi-publish: @@ -105,9 +105,10 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true path: bindings/python/dist - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 @@ -118,7 +119,7 @@ jobs: testpypi-publish: name: Publish Python 🐍 distribution 📦 to TestPypi - needs: [ sdist, linux ] + needs: [ sdist, wheels ] runs-on: ubuntu-latest # Only publish to TestPyPi if the tag is a pre-release if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, '-')}} @@ -132,9 +133,10 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true path: bindings/python/dist - name: Publish to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index c2769d8c3..64c992c9d 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -17,7 +17,7 @@ [package] name = "pyiceberg_core_rust" -version = "0.0.1" +version = "0.1.0" edition = "2021" homepage = "https://rust.iceberg.apache.org" rust-version = "1.77.1" diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 058415a1b..c0ade9398 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -21,7 +21,7 @@ build-backend = "maturin" [project] name = "pyiceberg_core" -version = "0.0.1" +version = "0.1.0" readme = "project-description.md" classifiers = [ "Development Status :: 4 - Beta", @@ -43,11 +43,7 @@ module-name = "pyiceberg_core.pyiceberg_core_rust" ignore = ["F403", "F405"] [tool.hatch.envs.dev] -dependencies = [ - "maturin>=1.0,<2.0", - "pytest>=8.3.2", - "pyarrow>=17.0.0", -] +dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "pyarrow>=17.0.0"] [tool.hatch.envs.dev.scripts] develop = "maturin develop"