Skip to content

Commit b7bbaf7

Browse files
fix: update cargo.toml align versioning for github workflow
1 parent ab268c4 commit b7bbaf7

File tree

4 files changed

+39
-18
lines changed

4 files changed

+39
-18
lines changed

.github/workflows/release-python.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,29 @@ jobs:
2222
with:
2323
python-version: 3.9
2424

25-
- name: Create source distribution
26-
uses: PyO3/maturin-action@v1
27-
with:
28-
command: sdist
29-
args: >
30-
--manifest-path Cargo.toml
31-
--out dist
25+
# - name: Create source distribution
26+
# uses: PyO3/maturin-action@v1
27+
# with:
28+
# command: sdist
29+
# args: >
30+
# --manifest-path Cargo.toml
31+
# --out dist
3232

33+
- name: Build with maturin
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install maturin
37+
maturin sdist --manifest-path Cargo.toml --out dist
38+
39+
40+
- name: Inspect Source Distribution
41+
run: |
42+
for file in dist/*.tar.gz; do
43+
echo "Inspecting $file"
44+
tar -tzf "$file" | grep PKG-INFO || echo "PKG-INFO not found"
45+
tar -xOf "$file" */PKG-INFO || echo "Unable to read PKG-INFO"
46+
done
47+
3348
- name: Test sdist
3449
run: |
3550
python -m pip install --upgrade pip

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

612
[lib]
713
# The name of the native library. This is the name which will be used in Python to import the

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "polodb-python"
3-
version = "0.1.15"
3+
version = "0.1.16"
44
description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.9"

0 commit comments

Comments
 (0)