guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 452e3a5c7e2094fa2e0c083e597db2600e29e25e
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 22 22:31:09 2025 +0100
gnu: python-psycopg2: Update to 2.9.11.
* gnu/packages/databases.scm (python-psycopg2): Update to 2.9.11.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Drop them.
Change-Id: I13c48ccfdaaf5bb1d5631192d38259e9e1eba9ad
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/databases.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0d0d218da3..39dfe2c6df 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4702,21 +4702,19 @@ libraries with SQLALchemy.")
(define-public python-psycopg2
(package
(name "python-psycopg2")
- (version "2.9.6")
+ (version "2.9.11")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "psycopg2" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/psycopg/psycopg2")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "04chl9f7v7k1zssa40pmk06jvpyqiss2lpjq50dq69nqix0mhlgi"))))
+ (base32 "04l2yzbl15nrw1pcjfkqycvqn6h9phcdh1xx9ynfy3dzfscq5ly5"))))
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags
- #~(list "--deselect=tests/test_ipaddress.py::NetworkingTestCase::\
-test_cidr_adapt"
- "--deselect=tests/test_ipaddress.py::NetworkingTestCase::\
-test_inet_adapt")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'start-postgresql