Skip to content

build: raise the citry wheel size cap to 1,536 KiB - #530

Merged
JuroOravec merged 1 commit into
mainfrom
fix/citry-wheel-size
Oct 28, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
fix/citry-wheel-size

Conversation

@JuroOravec

@JuroOravec JuroOravec commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Main is red on citry-ui-wheel-build (run 40773452229): citry-0.6.0-py3-none-any.whl is 1526915 bytes; the release cap is 1482752 bytes, about 44 KB over.

What grew since #439

I built the citry wheel at #439's merge (8a7b423) and at main (f67bb05), then compared every member. The local build at main is 1,526,915 bytes, the same as CI. The wheel grew by about 63 KB compressed, all of it shipped Python source:

File Compressed growth From
citry/_model_base.py (new) +7.3 KB #455, #461
citry/_vue/direct_capture.py +5.1 KB #514, #525, #526, #445, #468
citry/ext/events/state.py +5.1 KB #455, #461
citry/_slot_props.py (new) +4.8 KB #521
citry/nodes/__init__.py +3.3 KB several
citry/_markup_lint.py +3.0 KB several
citry/_vue/static_template.py +2.7 KB several
citry/_vue/runtime.js +2.2 KB several
about 40 smaller files +29 KB

Nothing ships by mistake.

  • The only new members are five runtime modules: _model_base.py, _slot_props.py, _sub_path.py, _authored_expression.py and _symbol_table.py.
  • No member was removed.
  • The only files that are not Python are the same four as at build: raise the citry wheel size cap to 1,448 KiB #439: py.typed, _vue/runtime.js, _vue/dev_checks.min.js and the i18n vue-plugin.source.js.
  • No test, fixture, docs or data file is in the wheel.

The new cap

The cap is now 1,536 KiB (1,572,864 bytes), about 45 KB above the measured size. #439 left 19 KB, which lasted about a day, so this cap leaves more room. The comment above MAX_WHEEL_BYTES names what grew.

Trimming would not help much here: the growth is spread over many runtime modules, and the largest non-Python member, _vue/runtime.js, is already a minified bundle.

Checks

  • verify_wheel passes on the locally built wheel.
  • test_distribution_artifacts.py passes: 11 tests.
  • Ruff is clean.

🤖 Generated with Claude Code

The citry wheel measured 1,526,915 bytes on main at f67bb05, about 44 KB
over the 1,448 KiB cap. Since #439 the merged features and fixes added about
63 KB of compressed Python source and no data, test or docs files; the only
new members are five runtime modules. The new cap leaves about 45 KB of
headroom, and the comment records what grew.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 2524cc4 into main Oct 28, 2026
2 of 18 checks passed
@JuroOravec
JuroOravec deleted the fix/citry-wheel-size branch October 28, 2026 22: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