Skip to content

[DAR-7975] Fix Linux AArch64 packaging for upolygon - #26

Merged
assemkozhekova merged 2 commits into
masterfrom
cursor/linux-aarch64-packaging-0826
Aug 12, 2026
Merged

assemkozhekova merged 2 commits into
masterfrom
cursor/linux-aarch64-packaging-0826

Conversation

@assemkozhekova

@assemkozhekova assemkozhekova commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • include Cython .pyx and .pxd sources in source distributions
  • bump upolygon to 0.2.3
  • build Linux AArch64 wheels with cibuildwheel and QEMU
  • use explicitly signed contour labels for consistent AArch64 behavior
  • run wheel tests through cibuildwheel
  • build, install, and test the sdist in an isolated environment in PR and release CI

Context

upolygon 0.2.2 has no Linux AArch64 wheel and its sdist omits the .pyx sources selected under PEP 517 build isolation. This causes installs such as darwin-py 3.6.0 on Python 3.13/Linux AArch64 to fail with ValueError: 'upolygon/draw_polygon.pyx' doesn't match any files.

ARM64 validation also exposed that plain char contour labels interpreted the -1 sentinel as unsigned, producing an incorrect inner contour. The labels now use signed char explicitly.

Validation

  • confirmed the 0.2.3 sdist contains all four .pyx extension sources
  • PR CI passes on Python 3.10, 3.11, 3.12, and 3.13
  • isolated sdist CI passes
  • built a candidate wheel and sdist under Linux AArch64/Python 3.13.15
  • installed darwin-py==3.6.0 with both the candidate wheel and forced sdist
  • pip check passes in both clean AArch64 environments
  • all 24 tests pass for both artifacts on AArch64
Open in Web Open in Cursor 

Co-authored-by: assemkozhekova <assemkozhekova@users.noreply.github.com>
@assemkozhekova assemkozhekova changed the title Fix Linux AArch64 packaging and isolated sdist builds [DAR-7975] Fix Linux AArch64 packaging and isolated sdist builds Aug 11, 2026
@linear-code

linear-code Bot commented Aug 11, 2026

Copy link
Copy Markdown

DAR-7975

Co-authored-by: assemkozhekova <assemkozhekova@users.noreply.github.com>
@assemkozhekova assemkozhekova changed the title [DAR-7975] Fix Linux AArch64 packaging and isolated sdist builds [DAR-7975] Fix Linux AArch64 packaging for upolygon Aug 12, 2026
@assemkozhekova
assemkozhekova marked this pull request as ready for review August 12, 2026 07:54

@vvihorev vvihorev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@assemkozhekova
assemkozhekova merged commit a7e3fa1 into master Aug 12, 2026
6 checks passed
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.

3 participants