Skip to content

ci: raise package size caps and fix three test failures for 0.7.0 - #588

Merged
JuroOravec merged 2 commits into
mainfrom
ci/citry-ui-size-caps
Nov 2, 2026
Merged

JuroOravec merged 2 commits into
mainfrom
ci/citry-ui-size-caps

Conversation

@JuroOravec

@JuroOravec JuroOravec commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Release qualification for 0.7.0 failed because the citry-ui files grew past their size caps (run 41491908015):

  • citry-ui 0.4.0 wheel: 835,154 bytes, cap 800 KiB. Raised to 1 MiB.
  • citry-ui 0.4.0 sdist: 796,436 bytes, cap 768 KiB. Raised to 1 MiB.
  • citry 0.7.0 wheel: 1,571,459 bytes, 1.4 KB under its 1,536 KiB cap. Raised to 1,792 KiB.

The file-list checks still pass, so the growth comes from new code rather than an extra file.

It also fixes three Python test failures that are on main too:

  • Windows: the html5gum license copy was checked out with CRLF, so its byte comparison with the wheel's notice failed. Both files are now pinned to LF in .gitattributes.
  • Python 3.11: the sandbox helper-name test looked for _sx_context only among plain locals; on 3.11 a comprehension stores it as a cell.
  • Python 3.15 on Ubuntu: the runner's build has only the pure-Python decimal module, which refuses to build a 60,000-digit value. The test is skipped there.

🤖 Generated with Claude Code

JuroOravec and others added 2 commits November 2, 2026 18:55
The citry-ui 0.4.0 wheel (835,154 bytes) and sdist (796,436 bytes) are
over their 800 KiB and 768 KiB caps, which failed release qualification.
The citry 0.7.0 wheel passes with only 1.4 KB to spare. The file-list
checks still pass, so the growth is the new runtime code, not a wrongly
bundled file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
….11 and 3.15

- Keep the html5gum license copy on LF in a Windows checkout, so the
  byte comparison with the wheel's notice matches.
- On Python 3.11 a comprehension stores the context it reads as a cell,
  so look for it in co_cellvars as well as co_varnames.
- Skip the 60,000-digit Decimal test where only the pure-Python decimal
  module exists; it refuses the value before Citry runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@JuroOravec JuroOravec changed the title ci: raise the citry and citry-ui package size caps for 0.7.0 ci: raise package size caps and fix three test failures for 0.7.0 Nov 2, 2026
@JuroOravec
JuroOravec merged commit a652b96 into main Nov 2, 2026
28 checks passed
@JuroOravec
JuroOravec deleted the ci/citry-ui-size-caps branch November 2, 2026 19: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