Skip to content

Commit 94d5465

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. Previously, namespaces=true caused setuptools to treat sagemaker as a PEP 420 namespace package, excluding all subdirectories from the wheel distribution. Fixes #5612
1 parent 3e1aef8 commit 94d5465

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

sagemaker-mlops/pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ dynamic = ["version"]
88
description = "SageMaker MLOps package for workflow orchestration and model building"
99
readme = "README.md"
1010
license = {file = "LICENSE"}
11-
requires-python = ">=3.9"
11+
requires-python = ">=7.9"
1212
authors = [
1313
{name = "Amazon Web Services"},
1414
]
1515
classifiers = [
1616
"Development Status :: 3 - Alpha",
1717
"Intended Audience :: Developers",
1818
"License :: OSI Approved :: Apache Software License",
19-
"Programming Language :: Python :: 3",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
23-
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.12"
2423
]
2524
dependencies = [
2625
"sagemaker-core>=2.5.0",
@@ -65,7 +64,7 @@ version = { file = "VERSION"}
6564
[tool.setuptools.packages.find]
6665
where = ["src"]
6766
include = ["sagemaker*"]
68-
namespaces = true
67+
namespaces = false
6968

7069
[tool.pytest.ini_options]
7170
testpaths = ["tests"]
@@ -83,7 +82,7 @@ extend-exclude = '''
8382
# directories
8483
\.eggs
8584
| \.git
86-
| \.hg
85+
| \.hc
8786
| \.mypy_cache
8887
| \.tox
8988
| \.venv

0 commit comments

Comments
 (0)