Skip to content

chore(examples): move the example projects to Citry 1.0.0 - #731

Merged
JuroOravec merged 1 commit into
mainfrom
chore/examples-1-0-0
Nov 16, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
chore/examples-1-0-0

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

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

  • All eight projects (examples/starters/{standalone,fastapi,django,flask,asgi,wsgi} and examples/demos/{project_board,htmx}) now declare citry>=1.0.0,<2 and, in the dev group, citry-lsp>=1.0.0,<2. The <2 bound follows the pin style on the versioning page.
  • Each uv.lock was refreshed with uv lock. The locks now name Citry 1.0.0, citry-core 2.1.0 and citry-lsp 1.0.0, plus ty 0.0.101, which citry-lsp 1.0.0 pins. Nothing else moved (frameworks and pytest keep their locked versions).
  • The README sentence that states the supported Citry versions now says "any Citry 1.x release, starting at Citry 1.0.0" (seven READMEs, and the htmx demo's support line).
  • examples/tests/test_catalog.py expects citry-lsp>=1.0.0,<2 in each project's dev group.
  • No example depends on citry-ui, so there is no citry-ui floor to raise.
  • Docs pages under docs_site/content and 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.json come from the Release docs workflow, which has already committed them to main; this branch is rebased on that commit.

Checks

  • python -m examples._internal.release_gate passes on this branch (before the rebase it reported only the two playground pin errors, which the Release docs commit resolved).
  • uv lock --check passes 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 with PYTEST_ADDOPTS=-W error::citry.CitryDeprecationWarning as 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

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]>
@JuroOravec
JuroOravec merged commit a5d797e into main Nov 16, 2026
25 checks passed
@JuroOravec
JuroOravec deleted the chore/examples-1-0-0 branch November 16, 2026 01:11
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