all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco Rimoldi via Guix-patches via <guix-patches@gnu.org>
To: 69260@debbugs.gnu.org
Cc: Marco Rimoldi <rimarko@libero.it>
Subject: [bug#69260] [PATCH 3/3] gnu: python-mysqlclient: Update to version 2.2.4.
Date: Sun, 18 Feb 2024 23:12:07 +0100	[thread overview]
Message-ID: <d604384c53353b6f420507476d6f5d51339e62d8.1708293210.git.rimarko@libero.it> (raw)
In-Reply-To: <cover.1708293210.git.rimarko@libero.it>

From: Marco Rimoldi <rimarko@libero.it>

* gnu/packages/databases.scm (python-mysqlclient)
[version]: 2.0.1 -> 2.2.4.
[arguments] <#:phases> Remove 'fix-test phase (fixed upstream).
[native-inputs]: Add pkg-config.

Change-Id: I57a0b84eb0d56f9cea619b226090cc1ccd84812b
---
 gnu/packages/databases.scm | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c252738533..c035a05e74 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4149,24 +4149,18 @@ (define-public yoyo-migrations
 (define-public python-mysqlclient
   (package
     (name "python-mysqlclient")
-    (version "2.0.1")
+    (version "2.2.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "mysqlclient" version))
        (sha256
-        (base32 "1rf5l8hazs3v18hmcrm90z3hi9wxv553ipwd5l6kj8j7l6p7abzv"))))
+        (base32 "0hdznfz9095d2qhl7awbp39s7wpqbxn37xzan487qzaf8srrzg1k"))))
     (build-system pyproject-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (add-before 'check 'fix-test
-                    (lambda _
-                      (substitute* "tests/test_MySQLdb_times.py"
-                        (("^import mock")
-                         "from unittest import mock")))))
-       #:test-flags '("tests/test__mysql.py" ;tests not needing a live db
+     '(#:test-flags '("tests/test__mysql.py" ;tests not needing a live db
                       "tests/test_MySQLdb_times.py")))
-    (native-inputs (list python-pytest))
+    (native-inputs (list pkg-config python-pytest))
     (inputs (list mariadb-connector-c))
     (home-page "https://github.com/PyMySQL/mysqlclient")
     (synopsis
-- 
2.41.0





  parent reply	other threads:[~2024-02-18 22:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18 21:54 [bug#69260] [PATCH 0/3] Fix python-mysqlclient segfault Marco Rimoldi via Guix-patches via
2024-02-18 22:12 ` [bug#69260] [PATCH 1/3] gnu: python-mysqlclient: Enable selected tests Marco Rimoldi via Guix-patches via
2024-02-18 22:12 ` [bug#69260] [PATCH 2/3] gnu: python-mysqlclient: A test highlights segfault bug in mariadb: apply workaround Marco Rimoldi via Guix-patches via
2024-02-18 22:12 ` Marco Rimoldi via Guix-patches via [this message]
2024-03-27 15:21 ` bug#69260: [PATCH 0/3] Fix python-mysqlclient segfault Hilton Chain via Guix-patches via

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=d604384c53353b6f420507476d6f5d51339e62d8.1708293210.git.rimarko@libero.it \
    --to=guix-patches@gnu.org \
    --cc=69260@debbugs.gnu.org \
    --cc=rimarko@libero.it \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.