public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-asyncpg] rawhide: Update to 0.32.0 (close RHBZ#2547219)
Date: Wed, 07 Oct 2026 09:19:36 GMT [thread overview]
Message-ID: <179136477656.1.14547082759833812272.rpms-python-asyncpg-bf7d57b1dfeb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-asyncpg
Branch : rawhide
Commit : bf7d57b1dfeb21d45c08daa516aaee3adc1373c0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-07T08:01:57+01:00
Stats : +2/-77 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-asyncpg/c/bf7d57b1dfeb21d45c08daa516aaee3adc1373c0?branch=rawhide
Log:
Update to 0.32.0 (close RHBZ#2547219)
---
diff --git a/1314.patch b/1314.patch
deleted file mode 100644
index 0cd62cb..0000000
--- a/1314.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 969376ff0064d1b403fc884414ca414a3519d366 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 26 Mar 2026 22:53:15 +0000
-Subject: [PATCH] Drop the Cython version check from setup.py
-
-This avoids the dependency on the pkg_resources module, which has long
-been deprecated and is no longer shipped with current versions of
-setuptools.
----
- setup.py | 13 +------------
- 1 file changed, 1 insertion(+), 12 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index f9fafadf..d9f3a2d8 100644
---- a/setup.py
-+++ b/setup.py
-@@ -188,28 +188,17 @@ def finalize_options(self):
- need_cythonize = True
-
- if need_cythonize:
-- import pkg_resources
--
- # Double check Cython presence in case setup_requires
- # didn't go into effect (most likely because someone
- # imported Cython before setup_requires injected the
- # correct egg into sys.path.
- try:
-- import Cython
-+ from Cython.Build import cythonize
- except ImportError:
- raise RuntimeError(
- 'please install {} to compile asyncpg from source'.format(
- CYTHON_DEPENDENCY))
-
-- cython_dep = pkg_resources.Requirement.parse(CYTHON_DEPENDENCY)
-- if Cython.__version__ not in cython_dep:
-- raise RuntimeError(
-- 'asyncpg requires {}, got Cython=={}'.format(
-- CYTHON_DEPENDENCY, Cython.__version__
-- ))
--
-- from Cython.Build import cythonize
--
- directives = {
- 'language_level': '3',
- 'freethreading_compatible': 'True',
diff --git a/python-asyncpg.spec b/python-asyncpg.spec
index b8e3df7..f17f89a 100644
--- a/python-asyncpg.spec
+++ b/python-asyncpg.spec
@@ -3,7 +3,7 @@
Name: python-asyncpg
Summary: A fast PostgreSQL Database Client Library for Python/asyncio
-Version: 0.31.0
+Version: 0.32.0
Release: %autorelease
# The entire source is Apache-2.0, except:
@@ -19,13 +19,6 @@ License: Apache-2.0 AND 0BSD AND PSF-2.0
URL: https://github.com/MagicStack/asyncpg
Source: %{pypi_source asyncpg}
-# Drop the Cython version check from setup.py
-# https://github.com/MagicStack/asyncpg/pull/1314
-#
-# This removes a dependency on pkg_resources, which is removed from setuptools
-# 82+; see https://fedoraproject.org/wiki/Changes/Setuptools_82+.
-Patch: %{url}/pull/1314.patch
-
BuildSystem: pyproject
BuildOption(install): --assert-license asyncpg
BuildOption(generate_buildrequires): --extras gssauth --dependency-groups test
@@ -112,28 +105,6 @@ export ASYNCPG_BUILD_CYTHON_ALWAYS=1
%check -a
-# It is not clear why the tests always import asyncpg as ../asyncpg/__init__.py
-# even if we set PYTHONPATH to the installed sitearch directory. This
-# workaround is ugly, but there is nothing actually wrong with it, as the
-# install is already done by the time the check section runs:
-rm --recursive asyncpg
-ln --symbolic %{buildroot}%{python3_sitearch}/asyncpg/
-
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-k="${k-}${k+ and }not TestFlake8"
-
-# Test failure in test_executemany_server_failure_during_writes
-# https://github.com/MagicStack/asyncpg/issues/1099
-# This may be flaky and/or arch-dependent.
-k="${k-}${k+ and }not test_executemany_server_failure_during_writes"
-
-%if v"0%{?python3_version}" >= v"3.15"
-# Test failure in test_pool_handles_transaction_exit_in_asyncgen_2 with Python
-# 3.15.0a5, PYTHONASYNCIODEBUG=1
-# https://github.com/MagicStack/asyncpg/issues/1300
-k="${k-}${k+ and }not (TestPool and test_pool_handles_transaction_exit_in_asyncgen_2)"
-%endif
-
# See the “test” target in the Makefile:
PYTHONASYNCIODEBUG=1 %pytest -k "${k-}"
%pytest -k "${k-}"
diff --git a/sources b/sources
index 7b4e21b..4d10821 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asyncpg-0.31.0.tar.gz) = 150c5b989a0ecd9903e9c932030f30c58750a180e95d2fab7323cf2b8b20a13b85c346f9fae19efb74ced5dbe724fd2722bbd3b0c44eedca532fb79b42edf350
+SHA512 (asyncpg-0.32.0.tar.gz) = 707061f256de436a162aea7816e906591596bf86d979c9a899919f7e29a46566fd008d956d3b77a6d652910abbd042078663fc6516f42b3c866837832268ff0f
reply other threads:[~2026-10-07 9:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179136477656.1.14547082759833812272.rpms-python-asyncpg-bf7d57b1dfeb@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox