Skip to content

Commit d7bed4f

Browse files
Secboneclaude
andcommitted
fix: include toad/ Python package in wheel (#162)
Add [tool.maturin] python-packages config so maturin includes the toad/ source tree in built wheels. Without this, only toad_core/ was packaged after the Rust migration in 0.1.6. Bump version to 0.1.7. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5a1997e commit d7bed4f

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.7] - 2026-05-18
11+
12+
### Fixed
13+
- Fixed missing `toad/` Python package in wheels — only `toad_core` was installed on all platforms (#162)
14+
1015
## [0.1.6] - 2026-04-14
1116

1217
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "toad"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55
authors = ["ESC Team <secbone@gmail.com>"]
66
description = "Toad is dedicated to facilitating model development process, especially for a scorecard."

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ readme = {file = ["README.md"], content-type = "text/markdown"}
2626
dependencies = {file = ["requirements.txt"]}
2727
optional-dependencies = {nn = {file = ["requirements-nn.txt"]}, tools = {file = ["requirements-tools.txt"]}, pmml = {file = ["requirements-pmml.txt"]}, all = {file = ["requirements-nn.txt", "requirements-tools.txt", "requirements-pmml.txt"]} }
2828

29+
[tool.maturin]
30+
python-packages = ["toad"]
31+
exclude = ["toad/**/*_test.py"]
32+
2933
[build-system]
3034
requires = [
3135
"maturin>=1.0,<2.0",

toad/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version_info__ = (0, 1, 6, 'final', 0)
1+
__version_info__ = (0, 1, 7, 'final', 0)
22

33
def get_version(version):
44
main = '.'.join(str(x) for x in version[:3])

0 commit comments

Comments
 (0)