Subject: [PATCH 06/12] gnu: python-openpyxl: Update to 3.0.7.

From: Pierre Langlois <[email-masked]>
Date: Wed, 21 Jul 2021 14:50:20 +0100

* gnu/packages/python-xyz.scm (python-openpyxl): Update to 3.0.7.
[arguments]: Honour tests? option in 'check phase.
---
 gnu/packages/python-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f329d55396..67bfde6464 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -62,7 +62,7 @@
 ;;; Copyright © 2019 Jack Hill <[email-masked]>
 ;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant <[email-masked]>
 ;;; Copyright © 2019, 2020 Alex Griffin <[email-masked]>
-;;; Copyright © 2019, 2020 Pierre Langlois <[email-masked]>
+;;; Copyright © 2019, 2020, 2021 Pierre Langlois <[email-masked]>
 ;;; Copyright © 2019 Jacob MacDonald <[email-masked]>
 ;;; Copyright © 2019, 2020 Giacomo Leidi <[email-masked]>
 ;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
@@ -2220,7 +2220,7 @@ of @code{xmlfile}.")
 (define-public python-openpyxl
   (package
     (name "python-openpyxl")
-    (version "3.0.5")
+    (version "3.0.7")
     (source
      (origin
        ;; We use the upstream repository, as the tests are not included in the
@@ -2231,13 +2231,14 @@ of @code{xmlfile}.")
              (changeset version)))
        (file-name (string-append name "-" version "-checkout"))
        (sha256
-        (base32 "0s6fgwwkcfz1bnrp5gjd4g2lcbl4a76147ylkrmkbabi2nf4xlli"))))
+        (base32 "08ag16srijrbhxspj1k00f145gkpykycl0rrv10qn24g67hzgd10"))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (replace 'check
-                    (lambda _
-                      (invoke "pytest"))))))
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                        (invoke "pytest")))))))
     (native-inputs
      ;; For the test suite.
      `(("python-lxml" ,python-lxml)
--
2.32.0