Skip to content

Commit da2af42

Browse files
authored
Merge pull request #74 from akhundMurad/feat/rust-only
build: fix maturin sdist path and package metadata
2 parents c82c973 + b3eabe7 commit da2af42

File tree

6 files changed

+39
-41
lines changed

6 files changed

+39
-41
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,11 @@ jobs:
103103
- name: Install Rust
104104
uses: dtolnay/rust-toolchain@stable
105105

106-
# Build typeid-python sdist (maturin)
107106
- name: Build sdist (maturin)
108107
uses: PyO3/maturin-action@v1
109108
with:
110109
command: sdist
111-
args: --out dist
110+
args: --manifest-path rust-base32/Cargo.toml --out dist
112111

113112
- name: Upload sdist
114113
uses: actions/upload-artifact@v4

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Murad Akhundov
3+
Copyright (c) 2025 Murad Akhundov
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
[project]
22
name = "typeid-python"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
description = "Python implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs"
55
authors = [{ name = "Murad Akhundov", email = "[email protected]" }]
66
requires-python = ">=3.10,<4"
77
readme = "README.md"
8-
license = "MIT"
9-
keywords = [
10-
"typeid",
11-
"uuid",
12-
"rust",
13-
"guid",
14-
"uuid7",
15-
]
8+
license = { file = "LICENSE" }
9+
keywords = ["typeid", "uuid", "rust", "guid", "uuid7"]
1610
classifiers = [
17-
"Development Status :: 3 - Alpha",
18-
"License :: OSI Approved :: MIT License",
19-
"Programming Language :: Python :: 3.10",
20-
"Programming Language :: Python :: 3.11",
21-
"Programming Language :: Python :: 3.12",
22-
"Programming Language :: Python :: 3.13",
23-
"Programming Language :: Python :: 3.14",
24-
"Operating System :: OS Independent",
11+
"Development Status :: 3 - Alpha",
12+
"License :: OSI Approved :: MIT License",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
18+
"Operating System :: OS Independent",
2519
]
2620
dependencies = ["uuid-utils>=0.12.0"]
2721

2822
[project.optional-dependencies]
2923
cli = ["click"]
3024
yaml = ["PyYAML"]
3125

32-
[project.urls]
26+
[project.urls]
3327
Homepage = "https://github.com/akhundMurad/typeid-python"
3428
Repository = "https://github.com/akhundMurad/typeid-python"
3529
"Bug Tracker" = "https://github.com/akhundMurad/typeid-python/issues"
@@ -39,22 +33,22 @@ typeid = "typeid.cli:cli"
3933

4034
[dependency-groups]
4135
dev = [
42-
"pytest>=7.3.2,<8",
43-
"black>=23.3.0,<24",
44-
"mypy>=1.3.0,<2",
45-
"requests>=2.31.0,<3",
46-
"ruff>=0.14.5,<0.15",
47-
"twine>=6.2.0,<7",
48-
"pyyaml>=6.0",
49-
"mkdocs-material>=9.7.1",
50-
"mkdocstrings[python]>=1.0.0",
51-
"mkdocs-git-revision-date-localized-plugin>=1.5.0",
52-
"mkdocs-gen-files>=0.6.0",
53-
"mkdocs-literate-nav>=0.6.2",
54-
"mkdocs-section-index>=0.3.10",
55-
"pytest-markdown-docs>=0.9.0",
56-
"pytest-benchmark>=5.0.1",
57-
"maturin>=1.5; platform_system != 'Windows'"
36+
"pytest>=7.3.2,<8",
37+
"black>=23.3.0,<24",
38+
"mypy>=1.3.0,<2",
39+
"requests>=2.31.0,<3",
40+
"ruff>=0.14.5,<0.15",
41+
"twine>=6.2.0,<7",
42+
"pyyaml>=6.0",
43+
"mkdocs-material>=9.7.1",
44+
"mkdocstrings[python]>=1.0.0",
45+
"mkdocs-git-revision-date-localized-plugin>=1.5.0",
46+
"mkdocs-gen-files>=0.6.0",
47+
"mkdocs-literate-nav>=0.6.2",
48+
"mkdocs-section-index>=0.3.10",
49+
"pytest-markdown-docs>=0.9.0",
50+
"pytest-benchmark>=5.0.1",
51+
"maturin>=1.5; platform_system != 'Windows'",
5852
]
5953

6054
[build-system]
@@ -66,3 +60,4 @@ python-source = "."
6660
manifest-path = "rust-base32/Cargo.toml"
6761
module-name = "typeid._base32"
6862
features = ["pyo3/extension-module"]
63+
include = ["LICENSE", "README.md", "typeid/**", "rust-base32/**"]

rust-base32/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust-base32/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[package]
22
name = "typeid-base32"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
edition = "2021"
55

6+
description = "Rust-accelerated base32 codec for typeid-python"
7+
license = "MIT"
8+
repository = "https://github.com/akhundMurad/typeid-python"
9+
610
[lib]
7-
name = "typeid_base32"
11+
name = "_base32"
812
crate-type = ["cdylib"]
913

1014
[dependencies]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)