You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by xu...@apache.org on 2024/11/28 06:49:42 UTC

(iceberg-rust) branch main updated: chore: Bump upload-artifact@v3 to v4 (#725)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 4e5187b5 chore: Bump upload-artifact@v3 to v4 (#725)
4e5187b5 is described below

commit 4e5187b5023833926d385f0bce7db3c8e6e133ec
Author: Sung Yun <10...@users.noreply.github.com>
AuthorDate: Thu Nov 28 01:49:38 2024 -0500

    chore: Bump upload-artifact@v3 to v4 (#725)
---
 .github/workflows/release_python.yml | 20 +++++++++++---------
 bindings/python/Cargo.toml           |  2 +-
 bindings/python/pyproject.toml       |  8 ++------
 3 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/release_python.yml b/.github/workflows/release_python.yml
index 7199eaad..cf606f61 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 c2769d8c..64c992c9 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 058415a1..c0ade939 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"