Skip to content

Restore CI contracts and release 3.0.0b9#136

Merged
zhongwangwei merged 2 commits into
mainfrom
fix/ci-regressions
Jul 16, 2026
Merged

Restore CI contracts and release 3.0.0b9#136
zhongwangwei merged 2 commits into
mainfrom
fix/ci-regressions

Conversation

@zhongwangwei

@zhongwangwei zhongwangwei commented Jul 16, 2026

Copy link
Copy Markdown
Owner

What changed

  • format metrics.py so the Ruff format gate passes
  • validate compute expressions with the shared AST assignment parser, preserving keyword arguments such as isel(lake=0)
  • restore required station_matching metadata and remove eight incomplete generated station registry entries
  • restore the TE Albedo compatibility key and the ReaLSAT monthly resolution
  • preserve the new OPENBENCH_HOME/station_lists behavior and update its stale path tests

Root cause

The merged registry update mixed generated catalog data and breaking key/path changes with existing runtime contracts. The CLI validator also treated every = as an assignment, so a valid keyword argument was parsed as invalid syntax.

Validation

  • ruff check src/ tests/
  • ruff format --check src/ tests/
  • affected suites: 240 passed, 4 skipped
  • full suite: 1572 passed, 10 skipped

Release

  • bumps package, conda recipe, README, and changelog to 3.0.0b9
  • local wheel and sdist pass twine check and artifact validation

Constraint: Preserve OPENBENCH_HOME station-list behavior introduced by PR #134.
Rejected: Reverting station-list output to reference/catalog roots | would discard read-only reference-root support.
Confidence: high
Scope-risk: moderate
Directive: Keep bundled station entries paired with fulllist or station_matching.
Tested: ruff check src/ tests/; ruff format --check src/ tests/; pytest tests/ -q --tb=short (1572 passed, 10 skipped)
Not-tested: GitHub Actions matrix after push
Constraint: PyPI release versions are immutable and 3.0.0b8 is already published.
Rejected: Publishing from an unversioned working tree | would make source and package metadata diverge.
Confidence: high
Scope-risk: moderate
Directive: Publish and tag only the merged main commit carrying version 3.0.0b9.
Tested: version consistency tests; package build; twine check; build artifact tests; ruff check and format check.
Not-tested: GitHub Actions matrix and PyPI upload.
@zhongwangwei zhongwangwei changed the title Restore CI contracts after registry merge Restore CI contracts and release 3.0.0b9 Jul 16, 2026
@zhongwangwei
zhongwangwei marked this pull request as ready for review July 16, 2026 14:44
@zhongwangwei
zhongwangwei merged commit 22e812e into main Jul 16, 2026
11 checks passed
@zhongwangwei
zhongwangwei deleted the fix/ci-regressions branch July 21, 2026 05:54
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