Skip to content

chore(deps): pin flow360-schema to 25.10.1b1#2001

Merged
benflexcompute merged 1 commit intomainfrom
BenY/schema-version-pin
Apr 18, 2026
Merged

chore(deps): pin flow360-schema to 25.10.1b1#2001
benflexcompute merged 1 commit intomainfrom
BenY/schema-version-pin

Conversation

@benflexcompute
Copy link
Copy Markdown
Collaborator

@benflexcompute benflexcompute commented Apr 17, 2026

Summary

Pin `flow360-schema` to an exact version so the resolved dependency is deterministic for every commit hash.

  • `~0.1.24` → `= 25.10.1b1`
  • Aligned with the schema repo's new calendar-based version scheme (flexcompute/flex#11409).

Why this matters

With `~0.1.24` the resolved version is whatever CodeArtifact happens to have at install time. That makes a given compute commit hash nondeterministic — the solver + client combination we ran yesterday may differ from what the same hash installs tomorrow. Exact pinning eliminates that drift.

Follow-up

A separate PR on `flexcompute/compute` will add a CI check that enforces this pin style (no `~`/`^`/`>=`/path dependencies). It will also bump the Flow360 submodule pointer to this PR's merge commit.

Test Plan

  • CI: `poetry install` resolves `flow360-schema == 25.10.1b1` from CodeArtifact.
  • CI: `unit testing` workflow (`test.yml`) green on all matrix combinations.

🤖 Generated with Claude Code


Note

Medium Risk
Upgrades and exactly pins the flow360-schema dependency, which can change validation/serialization behavior across the client even though code changes are minimal.

Overview
Pins flow360-schema to the exact version 25.10.1b1 (instead of a compatible-range ~0.1.x) and updates poetry.lock accordingly to make dependency resolution deterministic.

Adjusts a simulation service test to reference the schema package’s __version__ (_SCHEMA_VERSION) when populating the version field.

Reviewed by Cursor Bugbot for commit b9e0b1a. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8d6fec3. Configure here.

Comment thread pyproject.toml
@benflexcompute benflexcompute force-pushed the BenY/schema-version-pin branch from 8d6fec3 to e44cdb2 Compare April 17, 2026 23:24
@benflexcompute benflexcompute changed the base branch from BenY/CentralizedSchema to main April 17, 2026 23:25
@benflexcompute benflexcompute force-pushed the BenY/schema-version-pin branch from e44cdb2 to 36c3b65 Compare April 18, 2026 00:33
Move from the tilde range (~0.1.24) to an exact pin so that the resolved
schema package version is deterministic for a given commit hash, regardless
of what CodeArtifact publishes later.

Matches the schema repo's calendar-based version scheme introduced in
flexcompute/flex#11409.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@benflexcompute benflexcompute force-pushed the BenY/schema-version-pin branch from 36c3b65 to b9e0b1a Compare April 18, 2026 00:46
@github-actions
Copy link
Copy Markdown
Contributor

Coverage report (flow360)

This PR does not seem to contain any modification to coverable code.

@benflexcompute benflexcompute enabled auto-merge (squash) April 18, 2026 00:57
@benflexcompute benflexcompute merged commit 0291eea into main Apr 18, 2026
21 checks passed
@benflexcompute benflexcompute deleted the BenY/schema-version-pin branch April 18, 2026 00:58
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