Skip to content

Commit bf802dc

Browse files
sungwyshaeqahmed
authored andcommitted
chore: Bump upload-artifact@v3 to v4 (apache#725)
1 parent 3741d30 commit bf802dc

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.github/workflows/release_python.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
command: sdist
5050
args: -o dist
5151
- name: Upload sdist
52-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5353
with:
54-
name: wheels
54+
name: wheels-sdist
5555
path: bindings/python/dist
5656

5757
wheels:
@@ -84,9 +84,9 @@ jobs:
8484
# Workaround ring 0.17 build issue
8585
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
8686
- name: Upload wheels
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
with:
89-
name: wheels
89+
name: wheels-${{ matrix.os }}-${{ matrix.target }}
9090
path: bindings/python/dist
9191

9292
pypi-publish:
@@ -105,9 +105,10 @@ jobs:
105105

106106
steps:
107107
- name: Download all the dists
108-
uses: actions/download-artifact@v3
108+
uses: actions/download-artifact@v4
109109
with:
110-
name: wheels
110+
pattern: wheels-*
111+
merge-multiple: true
111112
path: bindings/python/dist
112113
- name: Publish to PyPI
113114
uses: pypa/gh-action-pypi-publish@release/v1
@@ -118,7 +119,7 @@ jobs:
118119

119120
testpypi-publish:
120121
name: Publish Python 🐍 distribution 📦 to TestPypi
121-
needs: [ sdist, linux ]
122+
needs: [ sdist, wheels ]
122123
runs-on: ubuntu-latest
123124
# Only publish to TestPyPi if the tag is a pre-release
124125
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, '-')}}
@@ -132,9 +133,10 @@ jobs:
132133

133134
steps:
134135
- name: Download all the dists
135-
uses: actions/download-artifact@v3
136+
uses: actions/download-artifact@v4
136137
with:
137-
name: wheels
138+
pattern: wheels-*
139+
merge-multiple: true
138140
path: bindings/python/dist
139141
- name: Publish to TestPyPI
140142
uses: pypa/gh-action-pypi-publish@release/v1

bindings/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "pyiceberg_core_rust"
20-
version = "0.0.1"
20+
version = "0.1.0"
2121
edition = "2021"
2222
homepage = "https://rust.iceberg.apache.org"
2323
rust-version = "1.77.1"

bindings/python/pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "maturin"
2121

2222
[project]
2323
name = "pyiceberg_core"
24-
version = "0.0.1"
24+
version = "0.1.0"
2525
readme = "project-description.md"
2626
classifiers = [
2727
"Development Status :: 4 - Beta",
@@ -43,11 +43,7 @@ module-name = "pyiceberg_core.pyiceberg_core_rust"
4343
ignore = ["F403", "F405"]
4444

4545
[tool.hatch.envs.dev]
46-
dependencies = [
47-
"maturin>=1.0,<2.0",
48-
"pytest>=8.3.2",
49-
"pyarrow>=17.0.0",
50-
]
46+
dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "pyarrow>=17.0.0"]
5147

5248
[tool.hatch.envs.dev.scripts]
5349
develop = "maturin develop"

0 commit comments

Comments
 (0)