all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63007] [PATCH core-updates] gnu: python-aenum: Update to 3.1.12.
@ 2023-04-21 21:46 Kaelyn Takata via Guix-patches via
  2023-04-21 21:52 ` Kaelyn via Guix-patches via
  2023-04-22 20:28 ` bug#63007: Close Andreas Enge
  0 siblings, 2 replies; 3+ messages in thread
From: Kaelyn Takata via Guix-patches via @ 2023-04-21 21:46 UTC (permalink / raw)
  To: 63007; +Cc: Kaelyn Takata

* gnu/packages/python-xyz.scm (python-aenum): Update to 3.1.12.
[source]: Add snippet to delete Python 2 specific files.
---
 gnu/packages/python-xyz.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 10b28f0888..2f5123fa51 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2407,13 +2407,18 @@ (define-public python-textparser
 (define-public python-aenum
   (package
     (name "python-aenum")
-    (version "2.2.4")
+    (version "3.1.12")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aenum" version))
        (sha256
-        (base32 "0r1812bjm72x73pl7y4yhffr4zbdjgxa08avsy4b3di0pqgqv0l1"))))
+        (base32 "1w1ffkcxgnimi5w8802qk6w2qxz9k8hpvsg6yy2zi08ahs8iqlry"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; Delete the Python 2 specific files which won't compile load
+        ;; in Python 3.
+        '(for-each delete-file (find-files "." "_py2.py$")))))
     (build-system python-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases

base-commit: 3f7ae420d8a54d4e2ab7f349c40d8930fe9e0771
--
2.39.2






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#63007] [PATCH core-updates] gnu: python-aenum: Update to 3.1.12.
  2023-04-21 21:46 [bug#63007] [PATCH core-updates] gnu: python-aenum: Update to 3.1.12 Kaelyn Takata via Guix-patches via
@ 2023-04-21 21:52 ` Kaelyn via Guix-patches via
  2023-04-22 20:28 ` bug#63007: Close Andreas Enge
  1 sibling, 0 replies; 3+ messages in thread
From: Kaelyn via Guix-patches via @ 2023-04-21 21:52 UTC (permalink / raw)
  To: 63007@debbugs.gnu.org

Hi,

I just realized this could easily apply to master as well; I marked the patch for core-updates because the current version of python-aenum builds fine on master but has test failures on core-updates. I discovered and wanted to fix the failure there as part of testing my local profile--including a package definition for the OnlyKey CLI, which depends on python-aenum and which seems to work fine with the updated version.

Cheers,
Kaelyn




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63007: Close
  2023-04-21 21:46 [bug#63007] [PATCH core-updates] gnu: python-aenum: Update to 3.1.12 Kaelyn Takata via Guix-patches via
  2023-04-21 21:52 ` Kaelyn via Guix-patches via
@ 2023-04-22 20:28 ` Andreas Enge
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2023-04-22 20:28 UTC (permalink / raw)
  To: 63007-done

Hello Kaelyn,

thanks for the patch, which I applied to core-updates. It will soon
arrive in master anyway.

Andreas





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-22 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 21:46 [bug#63007] [PATCH core-updates] gnu: python-aenum: Update to 3.1.12 Kaelyn Takata via Guix-patches via
2023-04-21 21:52 ` Kaelyn via Guix-patches via
2023-04-22 20:28 ` bug#63007: Close Andreas Enge

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.