Repository navigation
chore(examples): move the example projects to Citry 1.0.0 - #731
Merged
Merged
Conversation
Raise every starter and demo to `citry>=1.0.0,<2` and the dev-group `citry-lsp>=1.0.0,<2`, so a project copied from a starter archive starts on Citry 1.0.0 instead of 0.6.0. citry-lsp 1.x pairs with Citry 1.x, and the `<2` bound follows the pin style on the versioning page. Refresh each lock with `uv lock`; the locks now name Citry 1.0.0, citry-core 2.1.0 and citry-lsp 1.0.0 (and `ty` 0.0.101, which citry-lsp 1.0.0 pins). Update the README sentence that states the supported Citry versions, and the catalog test that pins the citry-lsp range. No example depends on citry-ui. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
Release step 11 for Citry 1.0.0: move the example projects to the new releases, so a project copied from a starter archive starts on Citry 1.0.0 instead of 0.6.0.
What changes
examples/starters/{standalone,fastapi,django,flask,asgi,wsgi}andexamples/demos/{project_board,htmx}) now declarecitry>=1.0.0,<2and, in the dev group,citry-lsp>=1.0.0,<2. The<2bound follows the pin style on the versioning page.uv.lockwas refreshed withuv lock. The locks now name Citry 1.0.0, citry-core 2.1.0 and citry-lsp 1.0.0, plusty0.0.101, which citry-lsp 1.0.0 pins. Nothing else moved (frameworks and pytest keep their locked versions).examples/tests/test_catalog.pyexpectscitry-lsp>=1.0.0,<2in each project's dev group.docs_site/contentand the starter archive builder carry no starter version text, so they needed no change. The remaining 0.6.0 mentions are the 0.6.0 upgrade guide, benchmarks, changelog and older blog posts, which describe that release.The playground pins in
docs_site/static/playground/runtime.jsoncome from the Release docs workflow, which has already committed them tomain; this branch is rebased on that commit.Checks
python -m examples._internal.release_gatepasses on this branch (before the rebase it reported only the two playground pin errors, which the Release docs commit resolved).uv lock --checkpasses in all eight projects.pytest examples/tests -W error::DeprecationWarning: 36 passed.python -m examples._internal.qualify(the clean-copy check, tests and build for every project, installing from the new locks, so the published Citry 1.0.0): passed on Python 3.14 and 3.11 withPYTEST_ADDOPTS=-W error::citry.CitryDeprecationWarningas CI sets it, and on Python 3.14 with-W error::DeprecationWarning. The browser journeys run in the examples CI.scripts/validate.py: all validators passed.No changelog entry: the examples are not a published package.
🤖 Generated with Claude Code