Skip to content

chore(deps): update dependency scikit-learn to v1.9.1 - #280

Closed
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/scikit-learn-1.x
Closed

renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/scikit-learn-1.x

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
scikit-learn (changelog) ==1.7.2 → ==1.9.1 age confidence

Release Notes

scikit-learn/scikit-learn (scikit-learn)

v1.9.1

Compare Source

v1.9.0

Compare Source

v1.8.0

Compare Source

We're happy to announce the 1.8.0 release.

You can read the release highlights under https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_8_0.html and the long version of the change log under https://scikit-learn.org/stable/whats_new/v1.8.html

This version supports Python versions 3.11 to 3.14 and features support of free-threaded CPython.

You can upgrade with pip as usual:

pip install -U scikit-learn

The conda-forge builds can be installed using:

conda install -c conda-forge scikit-learn

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@iht

iht commented Sep 14, 2026

Copy link
Copy Markdown
Member

Review Verdict: Do Not Merge

This PR cannot be merged because it breaks the cross-language version consistency contract for gaming_analytics_java and causes fatal CI check failures.

CI Failures

  1. Java pipelines build (PinnedVersionsConsistencyTest > testHarnessRequirementsMatchTheScriptRequirements):
    scikit-learn in scripts/requirements-model.txt (1.9.1) does not match RecommendationInference.HARNESS_REQUIREMENTS (1.7.2).
  2. Docker images build (python /tmp/train_model.py):
    Fails fast because sklearn.__version__ (1.9.1) != PINNED_SKLEARN_VERSION (1.7.2).

Architectural Context

In pipelines/gaming_analytics_java, scikit-learn is intentionally pinned across three places that must move together:

  • pipelines/gaming_analytics_java/scripts/requirements-model.txt
  • RecommendationInference.HARNESS_REQUIREMENTS in src/main/java/.../gaming_analytics/transform/RecommendationInference.java
  • PINNED_SKLEARN_VERSION in scripts/train_model.py

Furthermore, these versions are strictly pinned to match what is pre-baked into the Apache Beam Python SDK harness base image (apache/beam_python3.13_sdk:2.76.0). Updating scikit-learn in isolation causes unpickling incompatibilities and model scoring errors on Dataflow workers. These pins should only be updated in tandem when bumping the Apache Beam SDK version.

Closing this PR accordingly.

@iht iht closed this Sep 14, 2026
@forking-renovate

Copy link
Copy Markdown

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==1.9.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate-bot
renovate-bot deleted the renovate/scikit-learn-1.x branch September 14, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants