Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python version to 0.0.8 #58

Merged
merged 1 commit into from
Nov 13, 2024
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
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
Loading