Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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, '-')}}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 2 additions & 6 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
Loading