summaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-15 18:33:32 +0100
committerAndreas Enge <andreas@enge.fr>2025-12-17 11:20:20 +0100
commit86ea7a4aae5f6e703e67cff58f28f93af78dac3f (patch)
tree82b1ef250f15f8a30b283ee2c80e52582b9d5f44 /gnu/packages/databases.scm
parent0ec90936c98cc088e9a1fbfac52526258eea08e3 (diff)
gnu: python-asyncpg: Fix build.
* gnu/packages/databases.scm (python-asyncpg): Fix build. [arguments]<#:test-flags>: Disable failing test. [propagated-inputs]: Remove python-async-timeout. [native-inputs]: Remove python-wheel. Change-Id: I7d989120dee90abd4bb40b700d2c98a8b1143e28 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ef2665b8880..1e649040c7e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3715,24 +3715,29 @@ for many database kinds that tortoise-orm doesn't need, for example.")
(define-public python-asyncpg
(package
(name "python-asyncpg")
+ ;; asyncpg 0.31.0 requires Cython(>=3.2.1,<4.0.0), got Cython==3.1.2
(version "0.30.0")
(source
(origin
+ ;; git-fetch leads to errors like
+ ;; ValueError: 'asyncpg/pgproto/pgproto.pyx' doesn't match any files
(method url-fetch)
(uri (pypi-uri "asyncpg" version))
(sha256
(base32 "0lf8xbrsb2ycpqx1vzlb05p48g5sh9zq24a8yh17cw5nia9fjlf5"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; raises ValueError("Invalid IPv6 URL") ; Maybe due to urllib?
+ #~(list "-k" "not TestConnectParams")))
(native-inputs
(list postgresql
python-cython
python-pytest
python-uvloop
python-distro
- python-setuptools
- python-wheel))
- (propagated-inputs
- (list python-async-timeout))
+ python-setuptools))
(home-page "https://github.com/MagicStack/asyncpg")
(synopsis "Fast PostgreSQL database client library for Python")
(description "@code{asyncpg} is a database interface library designed