Skip to content

Pin h2o below 3.48 (3.48 requires a commercial license) - #1579

Merged
calderjo merged 1 commit into
mainfrom
pin-h2o-below-3.48
Dec 3, 2026
Merged

calderjo merged 1 commit into
mainfrom
pin-h2o-below-3.48

Conversation

@calderjo

@calderjo calderjo commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Main has failed on every scheduled build since Nov 27, with the same commit (e1dbc17) that last passed on Nov 26.

Root cause

h2o was unpinned. h2o 3.48.0.1 came out on PyPI on 2026-11-27, and its local server won't start without a commercial license:

H2O LICENSE ERROR
No valid H2O license found. Set H2O_LICENSE_KEY or H2O_LICENSE_FILE environment variable, or place license.sig in ~/.h2oai/license.sig

That makes tests/test_h2o.py::test_init_read fail, and its tearDown then crashes because no cluster started. Without a pin, Kaggle users would also get an h2o that doesn't work.

The PyPI metadata for 3.48.0.1 still says "Apache v2". The license enforcement lives inside h2o.jar:

3.46.0.12 3.48.0.1
Classes referencing H2O_LICENSE_KEY / license.sig 0 3 (water/license/LicenseManager, water/license/LicenseExtension, hex/genmodel/license/LicenseManager)
h2o.init() with no license and no network starts H2O LICENSE ERROR

Change

Pin h2o<3.48. There is no 3.47.x, so this resolves to 3.46.0.12, the version in the last passing :staging image.

Testing

  • I re-resolved /colab_requirements.txt plus the updated kaggle_requirements.txt on top of today's ci-pretest image. The only change across all 535 packages was h2o 3.48.0.1 -> 3.46.0.12.
  • I ran the CPU suite against that image using the same flags as ./test (--read-only --net=none, same environment variables). Results:
    • Before: Ran 205 tests ... FAILED (errors=2), both from h2o.
    • After: Ran 205 tests ... OK (skipped=13).
  • I didn't run the GPU suite or the kaggle-environments test locally. This PR's Jenkins run will cover them.

Follow-up

3.48 also adds a license check in hex/genmodel (MOJO scoring). That suggests H2O is moving the package to a licensed model, so this pin will probably need to stay. We should decide whether to keep h2o on 3.46.x or drop it from the image.

h2o 3.48.0.1 (released 2026-11-27) refuses to start its local server
without an H2O license (H2O_LICENSE_KEY / license.sig). Because h2o was
unpinned, every main build since Nov 27 picked it up and test_h2o fails
with "H2O LICENSE ERROR".

Pin to <3.48, which resolves to 3.46.0.12 (there is no 3.47.x).
@calderjo
calderjo merged commit d3550a7 into main Dec 3, 2026
8 of 9 checks passed
@calderjo
calderjo deleted the pin-h2o-below-3.48 branch December 3, 2026 22:35
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.

1 participant