Repository navigation
Finish the 0.3.0 version bump; RELEASING.md follow-ups - #24
Merged
Merged
Conversation
The v0.3.0 bump updated pyproject.toml and uv.lock, which `uv version` writes, but not world.py's `version=` or openenv.yaml's `version:`, which are set by hand. Both now say 0.3.0. The fixtures keep the world_version they were frozen at. tests/test_package.py now checks that all four places agree, so a bump that misses one fails the check list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FVqE8sQ6jvyHDJJjQ1yaWK
…xtra commands - Section 1 says uv.lock is never edited by hand. `uv version` writes it during a bump, and `uv lock` or `uv sync` after any other pyproject.toml change. The table gets a "Written by" column, and the text points to the test that fails unless all four places agree. - openenv, hf and huggingface_hub come only from the serve extra, and a plain `uv sync` removes that extra. So every command that runs one of them now uses `uv run --extra serve`: openenv validate, hf auth login, openenv push, the Space-card `python -c` (which failed with ModuleNotFoundError: huggingface_hub) and the Space test snippet. Section 3 explains why, and drops the separate `uv sync --extra serve`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FVqE8sQ6jvyHDJJjQ1yaWK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #23, which was merged before these commits were ready.
Summary
Finish the 0.3.0 version bump (
345fa0f):pyproject.tomlanduv.lock.src/seahaven_stripe_world/world.pyandopenenv.yamlnow also say0.3.0.world_versionthey were frozen at.test_the_version_agrees_in_all_four_placesintests/test_package.py. It fails unless all four places agree, so a bump that misses one fails CI. Against the old tree it fails and namesworld.pyandopenenv.yaml.RELEASING.md follow-ups (
7c0e58c):uv.lockis never edited by hand. The table in section 1 has a new "Written by" column. The text says uv writes the lock:uv versionduring a bump, anduv lockoruv syncafter any otherpyproject.tomlchange.--extra serveon every command that needs it.openenv,hfandhuggingface_hubare installed only by theserveextra, and a plainuv syncremoves that extra. Run without it, the Space-card command failed withModuleNotFoundError: No module named 'huggingface_hub'.uv run --extra serve …:openenv validate,hf auth login,openenv push, the Space-cardpython -cand the Space test snippet.uv sync --extra servestep is gone, and the doc still says the extra needs Python 3.14 final.Note: PyPI's
seahaven-stripe-world==0.3.0was built before this fix and still reportsworld.version == "0.2.0". The next release (0.3.1 or later) fixes that.Test plan
uv run ruff format --check && uv run ruff check,uv run ty check,uv run seahaven check: cleanuv run pytest: 1300 passed, 2 skippedsmall_coloads under world version 0.3.0 with its fixture still atworld_version: 0.2.0uv sync, theModuleNotFoundErrorandFailed to spawn: openenverrors reproduce. With--extra serve, all of these work:openenv validate .(only the expected missing-validation:failure)hf auth login --helpopenenv push --helpfrom huggingface_hub import metadata_updatefrom openenv import AutoEnvuv publishandopenenv pushwere not run, since they publishGenerated by Claude Code