Skip to content

Commit

Permalink
fix: update cargo.toml align versioning for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Senhaji-Rhazi-Hamza committed Nov 28, 2024
1 parent ab268c4 commit 3288553
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 12 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ jobs:
--manifest-path Cargo.toml
--out dist
# - name: Build with maturin
# run: |
# python -m pip install --upgrade pip
# pip install maturin
# rm -rf target/ dist/ build/
# maturin sdist --manifest-path Cargo.toml --out dist


- name: Inspect Source Distribution
run: |
for file in dist/*.tar.gz; do
echo "Inspecting $file"
tar --wildcards -tzf "$file" | grep PKG-INFO || echo "PKG-INFO not found"
tar --wildcards -xOf "$file" */PKG-INFO || echo "Unable to read PKG-INFO"
done
- name: Test sdist
run: |
python -m pip install --upgrade pip
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[package]
name = "py-binding-polodb"
version = "0.1.2"
name = "polodb_python" # Must match the Python package name
version = "0.1.16"
edition = "2021"
description = "Python bindings for PoloDB"
license = "Apache License"
license-file = "LICENSE.txt"
repository = "https://github.com/PoloDB/polodb-python"
homepage = "https://github.com/PoloDB/polodb-python"
documentation = "https://github.com/PoloDB/polodb-python/blob/main/README.md"

[lib]
# The name of the native library. This is the name which will be used in Python to import the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "polodb-python"
version = "0.1.15"
version = "0.1.16"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.9"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit 3288553

Please sign in to comment.