Skip to content

asyncmy: add build-asyncmy.yml for riscv64 wheels - #1674

Merged
luhenry merged 1 commit into
mainfrom
asyncmy
Sep 10, 2026
Merged

asyncmy: add build-asyncmy.yml for riscv64 wheels#1674
luhenry merged 1 commit into
mainfrom
asyncmy

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles asyncmy's Cython implementation of the MySQL/MariaDB wire protocol (charset, connection, converters, cursors, errors, pool, protocol) into per-interpreter riscv64 extensions. Upstream publishes no riscv64 wheel.

Mirrors upstream's pypi.yml.

Differs from upstream

  • Drops the removed cpython-freethreading cibuildwheel enable group - this repo pins cibuildwheel 4.2.0, which rejects it.

Testing

  • Runs only the DB-independent test files (test_converters.py, test_dbapi.py, test_errors.py, test_free_threading.py, test_gtid.py) - the rest of the suite needs a live MySQL/MariaDB server, and neither publishes a riscv64 image for the services: container upstream's own CI uses.

License: OK

Patches

  • 0001-pyproject-drop-the-cpython-freethreading-enable-group.patch - Inappropriate [upstream's own CI pins cibuildwheel v3.3.1, where the group is still valid]. Without it, cibuildwheel 4.2.0 fails to parse [tool.cibuildwheel] and no interpreter builds. Reproduces on any host, not riscv64-only.

Built on cp312; 14 passed, 2 skipped (the free-threading tests, which need a cp314t build).

Builds cp312/cp313/cp314/cp314t wheels for asyncmy's Cython MySQL/MariaDB
protocol extensions on manylinux_riscv64, mirroring upstream's pypi.yml
cibuildwheel build. Patches the removed cpython-freethreading cibuildwheel
enable group out of pyproject.toml (this repo pins cibuildwheel 4.2.0,
where the group no longer exists) and tests the DB-independent subset of
the suite, since MySQL/MariaDB publish no riscv64 image for the service
container upstream's own CI relies on.
luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry merged commit 72ff020 into main Sep 10, 2026
9 checks passed
@luhenry
luhenry deleted the asyncmy branch September 10, 2026 10:43
@luhenry luhenry linked an issue Sep 10, 2026 that may be closed by this pull request
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.

asyncmy riscv64 support

1 participant