Repository navigation
Conversation
mlflow 3.14.0 now declares matplotlib, scikit-learn, and scipy as dependencies (metadata updated on PyPI). Regenerating the lock file picks up these packages and their transitive dependencies. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Seph Mard <[email protected]>
mlflow 3.14.0 updated its PyPI metadata to declare matplotlib, scikit-learn, scipy (and their transitive deps: contourpy, cycler, joblib, kiwisolver, narwhals, pillow, threadpoolctl) as dependencies. Gym does not use these packages — mlflow is only used in gitlab_utils.py as an HTTP client for the GitLab model registry API. Add all 10 packages to exclude-dependencies alongside the existing mlflow exclusions (flask, sqlalchemy, etc.) and regenerate uv.lock. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Seph Mard <[email protected]>
|
This PR was extracted from a reviewer request on #1840. @kajalj22 asked to update |
|
Closing — this PR was based on a misunderstanding. The 10 packages (matplotlib, scipy, narwhals, etc.) were added to exclude-dependencies by mistake; PR #1835 deliberately removed them because server venvs depend on them. The uv.lock refresh can come as a separate clean PR from current main when needed. |
Summary
Excludes new unwanted mlflow transitive deps from
uv.lockand regenerates the lockfile.What changed
mlflow 3.14.0updated its PyPI metadata to declarematplotlib,scikit-learn,scipy(and their transitive deps:contourpy,cycler,joblib,kiwisolver,narwhals,pillow,threadpoolctl) as dependencies. Gym does not use these packages — mlflow is only used ingitlab_utils.pyas an HTTP client for the GitLab model registry API.These 10 packages are added to the existing
exclude-dependencieslist inpyproject.toml(alongsideflask,sqlalchemy, etc.) so they are never pulled into Gym installs.Test plan
uv syncsucceeds on a clean venv🤖 Generated with Claude Code