Skip to content

build: raise the citry wheel size cap to 1,448 KiB - #439

Merged
JuroOravec merged 1 commit into
mainfrom
build/raise-citry-wheel-cap-1448
Oct 27, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
build/raise-citry-wheel-cap-1448

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

Main is red on citry-ui-wheel-build (run 40502014569, commit 9f8ee0d): citry-0.6.0-py3-none-any.whl is 1463548 bytes; the release cap is 1458176 bytes, 5 KB over.

What grew since #380

I built the citry wheel at #380's merge (4d3f138) and at main, then compared every file in it. The wheel grew by about 26 KB compressed, all of it shipped Python source:

File Compressed growth
citry/util/deep_json.py (new, #412) +4.4 KB
_vue/direct_capture.py +3.0 KB
_checker.py +2.6 KB
_vue/json_data.py +2.1 KB
nodes/__init__.py +2.0 KB
component_render.py +1.7 KB
about 20 smaller files +11 KB

The only new file is deep_json.py, a real runtime module. No data, docs or test file got into the wheel, so there is nothing to trim.

The new cap

1,448 KiB (1,482,752 bytes) leaves about 19 KB above the measured CI size. That is close to the margin #380 left. The comment above MAX_WHEEL_BYTES now records the measured size.

No open PR changes packages/py/citry/citry/ right now, so nothing queued uses this headroom yet.

Checks

  • Ruff is clean.
  • The change is a constant and its comment.

🤖 Generated with Claude Code

main's citry-ui-wheel-build fails: the citry wheel is 1,463,548 bytes,
5 KB over the 1,424 KiB cap set in #380. A member-by-member diff of the
wheel built at #380 (4d3f138) against main shows about 26 KB of
compressed growth, all shipped Python source: the new util/deep_json.py
(#412) and growth in _vue/direct_capture.py, _checker.py,
_vue/json_data.py, nodes/__init__.py and component_render.py. The only
new member is deep_json.py, and no data, docs or test file entered the
wheel, so nothing is left out. The cap now leaves about 19 KB above the
measured CI size, close to the margin #380 left.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec
JuroOravec merged commit 8a7b423 into main Oct 27, 2026
19 of 29 checks passed
@JuroOravec
JuroOravec deleted the build/raise-citry-wheel-cap-1448 branch October 27, 2026 16:10
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