From f537dd7d8eeed1d96d703701e8401939338346b3 Mon Sep 17 00:00:00 2001 From: Jun <164005568@qq.com> Date: Thu, 19 Mar 2026 10:33:14 +0800 Subject: [PATCH] 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 --- sagemaker-mlops/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sagemaker-mlops/pyproject.toml b/sagemaker-mlops/pyproject.toml index 1ec3540758..598b4459c0 100644 --- a/sagemaker-mlops/pyproject.toml +++ b/sagemaker-mlops/pyproject.toml @@ -65,7 +65,7 @@ version = { file = "VERSION"} [tool.setuptools.packages.find] where = ["src"] include = ["sagemaker*"] -namespaces = true +namespaces = false [tool.pytest.ini_options] testpaths = ["tests"]