Debian Patches

Status for asyncpg/0.31.0-1

Patch Description Author Forwarded Bugs Origin Last update
replace-pkg-resources-with-packaging.patch Use packaging instead of pkg_resources for the Cython version check setup.py validates the installed Cython version with pkg_resources, which
setuptools removed in 84.0.0. Because debian/rules builds with
--cython-always the check always runs, so the build now fails with
ModuleNotFoundError before anything is compiled. Port the check to the
packaging library, which setuptools itself depends on for this purpose.
.
The same change has been proposed upstream independently, by a third
party, in the PR linked below; neither it nor the issue reporting the
problem has had a maintainer response as of 2026-09-12. A competing
upstream PR, https://github.com/MagicStack/asyncpg/pull/1314, instead
drops the version check altogether to avoid depending on packaging at
all; if that one is merged, this patch and
relax-cython-version-requirement.patch can both be dropped.
Dale Richards <dale@dalerichards.net> yes upstream 2026-09-12
relax-cython-version-requirement.patch Relax the minimum Cython version requirement Upstream requires Cython >= 3.2.1, but the newest Cython packaged in
Debian is 3.1.6. That version compiles all of asyncpg's .pyx sources
cleanly, including under the freethreading_compatible directive (which
3.0.x does not support), so the stricter upstream floor would only
block the build. Not forwarded: upstream is entitled to require the
version it tests against, and this only tracks what Debian ships.
Dale Richards <dale@dalerichards.net> not-needed 2026-09-12
skip-test_connect-test.patch Skip test_connect to work around upstream bug Simon Quigley <tsimonq2@debian.org> yes debian upstream vendor 2026-09-04

All known versions for source package 'asyncpg'

Links