Skip to content

chore(packaging): add PyPI classifiers and keywords and extension keywords so directories can find Citry - #812

Merged
JuroOravec merged 1 commit into
mainfrom
chore/discovery-metadata
Nov 19, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
chore/discovery-metadata

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

(Sonnet 5.5)

Adds package metadata so PyPI, Django Packages, Flask's extension search and the editor marketplaces can find Citry. Metadata only, no behavior change.

Changes

  • citry classifiers: Environment :: Web Environment, Framework :: AsyncIO, Framework :: Django (with 5.2 and 6.0), Framework :: FastAPI, Framework :: Flask, Intended Audience :: Developers, Operating System :: OS Independent, Programming Language :: Python :: 3 :: Only, seven Topic :: classifiers and Typing :: Typed.
  • citry keywords: django, fastapi, flask, vue, python frontend, server events, typed.
  • citry-core: Typing :: Typed (it ships py.typed).
  • VS Code extension keywords: django, fastapi, flask, vue, language server, lsp, jinja, python templates (15 of the 30 allowed).
  • The PyPI summary and description are unchanged.

Choices

  • Django versions: only 5.2 and 6.0. CI tests Django 5.2.0 (the framework-floors job) and the locked 6.0.6, and the Compatibility page lists 5.2.0 as the oldest supported and 6 as the newest major. Django Packages reads these lines to score Django support. Add 6.1 only when the lock moves.
  • No License :: classifier: the package uses the SPDX license = "MIT" expression, and setuptools fails the build when both are present (checked with a throwaway project). A comment above classifiers says so.
  • citry-core gets no Operating System :: classifier, because it ships platform wheels.

Checks

  • Every classifier validated against the trove-classifiers package: none invalid, none duplicated.
  • Built the citry sdist and wheel once; the built METADATA and PKG-INFO carry all 26 classifiers and the new keywords.
  • scripts/validate.py passes and uv lock --check passes. Nothing in the repo pins these lists; scripts/supported_versions.py reads only Programming Language :: Python :: N.M, so 3 :: Only does not affect it.
  • Not run: the full scripts/check.py gate (it builds the Rust workspace, too much disk for a metadata change) and the VS Code pnpm run check (the JSON edit only adds strings to an existing array).
  • An independent reviewer found no problems; its one comment fix (the setuptools note) is included.

Versioning and changelog

  • Breaks nothing the 1.x promise covers: no API, format or behavior changes.
  • No changelog entry: nobody who uses the packages needs to do or know anything differently.

Release

Takes effect on PyPI only with the next citry patch release and, for the keywords and Marketplace listings, the next extension release. The maintainer decides when. citry is at 1.1.0 now, so that patch release is 1.1.1, not 1.0.1. citry-core is untouched in behavior and needs a release of its own only if the maintainer wants Typing :: Typed on its PyPI page.

🤖 Generated with Claude Code

…words so directories can find Citry

Metadata only, no behavior change.

- citry: add Environment, Framework (AsyncIO, Django 5.2 and 6.0, FastAPI,
  Flask), Intended Audience, Operating System, Python 3 :: Only, Topic and
  Typing :: Typed classifiers, plus seven keywords.
- citry-core: add Typing :: Typed (the package ships py.typed).
- VS Code extension: add eight keywords.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 77ddaaa into main Nov 19, 2026
9 of 19 checks passed
JuroOravec added a commit that referenced this pull request Nov 19, 2026
Packaging-only patch release so the PyPI classifiers and keywords added in
#812 reach PyPI. Bumps citry to 1.1.1 in its manifest and uv.lock and adds
the v1.1.1 changelog entry. citry-core, citry-lsp, citry-ui and the VS Code
extension are not bumped, and the exact citry-core pin stays at 2.1.2.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
JuroOravec added a commit that referenced this pull request Nov 19, 2026
Bumps the VS Code extension to 1.0.1 so the eight keywords added in #812
(django, fastapi, flask, vue, language server, lsp, jinja, python
templates) reach the Marketplace and Open VSX. Renames the changelog's
Unreleased section to 1.0.1. citry.lspVersion stays at 1.0.0 because
citry-lsp is not released. pnpm-lock.yaml records no extension version.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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