Skip to content

Commit

Permalink
Bump python version to 0.0.8 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee authored Nov 13, 2024
1 parent c9f4760 commit 4e547f9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion py-denormalized/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "denormalized-python"
version = "0.0.7"
version = "0.0.9"
edition = "2021"
homepage = "https://github.com/probably-nothing-labs/denormalized.git"
repository = "https://github.com/probably-nothing-labs/denormalized.git"
Expand Down
25 changes: 25 additions & 0 deletions py-denormalized/build_wheels.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
set -euo pipefail

echo "🔨 Building macOS universal2 wheel..."
maturin build --zig --release --target universal2-apple-darwin

echo "🐋 Building Linux wheels using Zig..."
# docker run --rm -v $(pwd):/io ghcr.io/pyo3/maturin build --release --zig
maturin build --zig --release --target x86_64-unknown-linux-gnu
maturin build --zig --release --target aarch64-unknown-linux-gnu


echo "🎯 Building source distribution..."
maturin sdist

if [ -z "${MATURIN_PYPI_TOKEN}" ]; then
echo "Error: MATURIN_PYPI_TOKEN is not set" >&2
exit 1
fi
echo "⬆️ Uploading all distributions to PyPI..."
# make sure to set MATURIN_PYPI_TOKEN
maturin upload target/wheels/*.whl
maturin upload target/wheels/*.tar.gz

echo "✅ Done! Wheels and sdist have been uploaded to PyPI"
2 changes: 1 addition & 1 deletion py-denormalized/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "denormalized"
requires-python = ">=3.12"
classifiers = []
dynamic = ["version"] # Version specified in py-denormalized/Cargo.toml
description = ""
description = "Embeddable stream processing engine"
dependencies = ["pyarrow>=17.0.0", "datafusion>=40.1.0"]

[project.optional-dependencies]
Expand Down

0 comments on commit 4e547f9

Please sign in to comment.