Description
A fresh installation of kagglehub==1.0.2 on Python 3.11+ resolves kagglesdk==0.1.32, after which import kagglehub fails.
Reproduction
python -m venv venv
source venv/bin/activate
python -m pip install kagglehub==1.0.2 kagglesdk==0.1.32
python -c "import kagglehub"
Expected result
kagglehub imports successfully.
Actual result
ModuleNotFoundError: No module named 'kagglesdk.competitions.legacy'
kagglesdk/competitions/types/host_service.py imports:
from kagglesdk.competitions.legacy.types.legacy_competition_host_service import EvaluationMetricParameter
However, kagglesdk/competitions/legacy is absent from both the published wheel and the repository source.
Both 0.1.31 and 0.1.32 are affected. Constraining the dependency to kagglesdk<0.1.31 resolves 0.1.30 and restores the import.
Affected environments observed: Python 3.11, 3.12, 3.13, and 3.14.
Example downstream CI failure:
https://github.com/NVIDIA/NVFlare/actions/runs/28473335329
Suggested resolution
Please regenerate or publish the SDK with the referenced legacy package, or remove the stale generated import. Yanking the affected releases may also prevent fresh environments from resolving them while a corrected release is prepared.
Description
A fresh installation of
kagglehub==1.0.2on Python 3.11+ resolveskagglesdk==0.1.32, after whichimport kagglehubfails.Reproduction
Expected result
kagglehubimports successfully.Actual result
kagglesdk/competitions/types/host_service.pyimports:However,
kagglesdk/competitions/legacyis absent from both the published wheel and the repository source.Both 0.1.31 and 0.1.32 are affected. Constraining the dependency to
kagglesdk<0.1.31resolves 0.1.30 and restores the import.Affected environments observed: Python 3.11, 3.12, 3.13, and 3.14.
Example downstream CI failure:
https://github.com/NVIDIA/NVFlare/actions/runs/28473335329
Suggested resolution
Please regenerate or publish the SDK with the referenced legacy package, or remove the stale generated import. Yanking the affected releases may also prevent fresh environments from resolving them while a corrected release is prepared.