Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/build-asyncmy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@ jobs:
path: python-wheels
persist-credentials: false

# Only some versions need patching, so a missing directory is not an error.
- name: Apply patches
run: |
git apply -v python-wheels/patches/asyncmy/${{ env.ASYNCMY_VERSION }}/*.patch
patches="$PWD/python-wheels/patches/asyncmy/${ASYNCMY_VERSION}"
if [ -d "$patches" ]; then
git apply -v "$patches"/*.patch
fi

- name: Build wheels
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
Expand All @@ -88,14 +92,17 @@ jobs:
# Every other test needs a live MySQL/MariaDB server, which publishes no
# riscv64 image (upstream's own CI gets one via a `services:` container,
# unavailable here); these files exercise the compiled protocol/converters
# extensions without one.
# extensions without one. test_timedelta_binding_round_trip (added to
# test_converters.py in 0.2.17) takes the `connection` fixture and so also
# needs a live server, so it is deselected.
CIBW_TEST_SOURCES: >-
tests/test_converters.py tests/test_dbapi.py tests/test_errors.py
tests/test_free_threading.py tests/test_gtid.py
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >-
python -m pytest -v tests/test_converters.py tests/test_dbapi.py
tests/test_errors.py tests/test_free_threading.py tests/test_gtid.py
--deselect tests/test_converters.py::test_timedelta_binding_round_trip

- name: Check the Cython extensions made it into the wheel
run: |
Expand Down
1 change: 1 addition & 0 deletions docs/packages/asyncmy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ versions:
- filename: asyncmy-0.2.16-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: b412bad1f039d947abe064b9489b6545463548e488d10f0eab209d9ef10032a0
requires-python: '>=3.9'
- version: 0.2.17
Loading