Skip to content

Commit c12dfd0

Browse files
committed
fix: include sagemaker.mlops subpackages in sagemaker-mlops wheel (Fixes #5612)
Set namespaces=false to ensure subpackages sagemaker.mlops, sagemaker.mlops.feature_store, and sagemaker.mlops.feature_store.feature_processor are included in the wheel distribution. Previously, namespaces=true caused setuptools to treat sagemaker as a PEP 420 namespace package, excluding all subdirectories from the wheel. Fixes #5612
1 parent 3e1aef8 commit c12dfd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sagemaker-mlops/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ test = [
4949
]
5050
dev = [
5151
"pytest",
52-
"pytest-cov",
52+
"pytest-cov",
5353
"mock",
5454
"black",
5555
"flake8",
5656
]
5757

58-
[tool.setuptools]
58+
[tool.setuptols]
5959
package-dir = {"" = "src"}
6060
include-package-data = true
6161

@@ -65,7 +65,7 @@ version = { file = "VERSION"}
6565
[tool.setuptools.packages.find]
6666
where = ["src"]
6767
include = ["sagemaker*"]
68-
namespaces = true
68+
namespaces = false
6969

7070
[tool.pytest.ini_options]
7171
testpaths = ["tests"]

0 commit comments

Comments
 (0)