From 38e2448f380db10f961caf6b81fd5d4c744602ea Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 11:57:25 +0000 Subject: [PATCH 1/3] asyncmy: Add version 0.2.17 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/asyncmy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/asyncmy.yaml b/docs/packages/asyncmy.yaml index e56bfce6a72a..9c5a908e4673 100644 --- a/docs/packages/asyncmy.yaml +++ b/docs/packages/asyncmy.yaml @@ -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 From d269439848eb919e8a65ece9b4bba929f9adee78 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Thu, 22 Oct 2026 22:03:21 +0800 Subject: [PATCH 2/3] asyncmy: Skip patching for versions without a patch directory 0.2.17 drops the [tool.cibuildwheel] section the 0.2.14-0.2.16 patch removed, so it needs no patch and has no patches/asyncmy/0.2.17. --- .github/workflows/build-asyncmy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-asyncmy.yml b/.github/workflows/build-asyncmy.yml index cf12d7d12a0c..d6b83dca6bec 100644 --- a/.github/workflows/build-asyncmy.yml +++ b/.github/workflows/build-asyncmy.yml @@ -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 From 37a38db0e3d57b4eee0803fac07e6b0f0669e7b7 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Sat, 24 Oct 2026 15:23:14 +0800 Subject: [PATCH 3/3] asyncmy: Deselect the one DB-backed test in test_converters.py --- .github/workflows/build-asyncmy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-asyncmy.yml b/.github/workflows/build-asyncmy.yml index d6b83dca6bec..5e6425249949 100644 --- a/.github/workflows/build-asyncmy.yml +++ b/.github/workflows/build-asyncmy.yml @@ -92,7 +92,9 @@ 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 @@ -100,6 +102,7 @@ jobs: 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: |