~ruther/guix-local

452e3a5c7e2094fa2e0c083e597db2600e29e25e — Nicolas Graves 2 months ago 9da35d7
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 <sharlatanus@gmail.com>
1 files changed, 7 insertions(+), 9 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +7 -9
@@ 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