* [bug#63429] [PATCH 1/4] gnu: python-can: Update to 4.2.0, fix build.
2023-05-10 22:11 [bug#63429] [PATCH 0/4]: gnu: python-can: Update to 4.2.0, fix build Sharlatan Hellseher
@ 2023-05-10 22:12 ` Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 2/4] gnu: python-can: Simplify package style Sharlatan Hellseher
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2023-05-10 22:12 UTC (permalink / raw)
To: 63429; +Cc: Sharlatan Hellseher
* gnu/packages/python-xyz.scm (python-can): Update to 4.2.0, fix build.
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1417031788..c67dae29a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2548,14 +2548,14 @@ (define-public python-aenum
(define-public python-can
(package
(name "python-can")
- (version "4.0.0")
+ (version "4.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-can" version))
(sha256
(base32
- "0pcbdgdw94lc2sxd56w6wdsshrs9dd5d3wp0x4sfd0drzx32inar"))))
+ "1w5sdzxivpd3pw4pypwnjlksvfimdb93qnlddbrh5f13flhsgg8g"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
--
2.39.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#63429] [PATCH 2/4] gnu: python-can: Simplify package style.
2023-05-10 22:11 [bug#63429] [PATCH 0/4]: gnu: python-can: Update to 4.2.0, fix build Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 1/4] " Sharlatan Hellseher
@ 2023-05-10 22:12 ` Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 3/4] gnu: Delete duplicated use-module from (gnu package python-xyz) Sharlatan Hellseher
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2023-05-10 22:12 UTC (permalink / raw)
To: 63429; +Cc: Sharlatan Hellseher
* gnu/package/python-xyz.scm (python-can): Simplify package style.
[build-system]: Use pyproject-build-system.
[argument]: Use Gexp. Remove redundant modify-phases procedure. Add
{test-flags}.
---
gnu/packages/python-xyz.scm | 44 ++++++++++++-------------------------
1 file changed, 14 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c67dae29a1..c22a1aad77 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2556,40 +2556,24 @@ (define-public python-can
(sha256
(base32
"1w5sdzxivpd3pw4pypwnjlksvfimdb93qnlddbrh5f13flhsgg8g"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'relax-version-requirements
- (lambda _
- (substitute* "setup.py"
- (("mock~=2\\.0") "mock")
- (("coverage<5") "coverage")
- (("pytest~=4\\.6") "pytest")
- (("pytest-timeout~=1\\.3") "pytest-timeout")
- (("pytest-cov.*") "pytest-cov\n")
- (("hypothesis~=4\\.56") "hypothesis"))))
- (add-after 'unpack 'fix-broken-tests
- ;; The tests try to run two scripts it expects should be
- ;; in PATH, but they aren't at this time (see:
- ;; https://github.com/hardbyte/python-can/issues/805).
- (lambda _
- (substitute* "test/test_scripts.py"
- (("\"can_logger\\.py --help\"") "")
- (("\"can_player\\.py --help\"") ""))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "test"
- ;; Disable tests which require specific CAN
- ;; drivers we have no package for in Guix.
- "--ignore" "test/test_interface_canalystii.py"
- ;; These tests fail with "OSError: [Errno 19]
- ;; No such device".
- "-k" "not BasicTestUdpMulticastBusIPv")))))))
+ (list
+ #:test-flags
+ #~(list
+ ;; TODO: Check if it could be packed:
+ ;; https://github.com/projectgus/python-canalystii
+ ;;
+ ;; Disable tests which require specific CAN drivers we have no
+ ;; package for in Guix.
+ "--ignore" "test/test_interface_canalystii.py"
+ ;; These tests fail with "OSError: [Errno 19] No such device".
+ "-k" (string-append "not BasicTestUdpMulticastBusIPv"))))
(propagated-inputs
(list python-msgpack python-typing-extensions python-wrapt))
(native-inputs
- (list python-codecov
+ (list ;; python-canalystii ; Not packed yet
+ python-codecov
python-coverage
python-future
python-hypothesis
--
2.39.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#63429] [PATCH 3/4] gnu: Delete duplicated use-module from (gnu package python-xyz).
2023-05-10 22:11 [bug#63429] [PATCH 0/4]: gnu: python-can: Update to 4.2.0, fix build Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 1/4] " Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 2/4] gnu: python-can: Simplify package style Sharlatan Hellseher
@ 2023-05-10 22:12 ` Sharlatan Hellseher
2023-05-10 22:12 ` [bug#63429] [PATCH 4/4] gnu: Sort use-module alphabetically in (gnu packages python-xyz) Sharlatan Hellseher
2023-06-06 19:50 ` [bug#63429] Sharlatan Hellseher
4 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2023-05-10 22:12 UTC (permalink / raw)
To: 63429; +Cc: Sharlatan Hellseher
* gnu/packages/python-xyz.scm: Delete duplicated (gnu packages serialization).
---
gnu/packages/python-xyz.scm | 1 -
1 file changed, 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c22a1aad77..394aeb8d7f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -259,7 +259,6 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages tcl)
#:use-module (gnu packages bdw-gc)
- #:use-module (gnu packages serialization)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
--
2.39.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#63429] [PATCH 4/4] gnu: Sort use-module alphabetically in (gnu packages python-xyz).
2023-05-10 22:11 [bug#63429] [PATCH 0/4]: gnu: python-can: Update to 4.2.0, fix build Sharlatan Hellseher
` (2 preceding siblings ...)
2023-05-10 22:12 ` [bug#63429] [PATCH 3/4] gnu: Delete duplicated use-module from (gnu package python-xyz) Sharlatan Hellseher
@ 2023-05-10 22:12 ` Sharlatan Hellseher
2023-06-06 19:50 ` [bug#63429] Sharlatan Hellseher
4 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2023-05-10 22:12 UTC (permalink / raw)
To: 63429; +Cc: Sharlatan Hellseher
* gnu/packages/python-xyz.scm: Sort use-module alphabetically to ease
maintenance.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 394aeb8d7f..df5a6e35cc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -156,12 +156,14 @@
(define-module (gnu packages python-xyz)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
- #:use-module (gnu packages algebra)
#:use-module (gnu packages adns)
#:use-module (gnu packages aidc)
+ #:use-module (gnu packages algebra)
#:use-module (gnu packages attr)
#:use-module (gnu packages backup)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages bdw-gc)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
@@ -176,28 +178,28 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages documentation)
#:use-module (gnu packages enchant)
#:use-module (gnu packages file)
- #:use-module (gnu packages fontutils)
#:use-module (gnu packages fonts)
+ #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
- #:use-module (gnu packages gdb)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages gdb)
#:use-module (gnu packages geo)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
- #:use-module (gnu packages graphviz)
#:use-module (gnu packages graphics)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages icu4c)
- #:use-module (gnu packages inkscape)
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages inkscape)
#:use-module (gnu packages java)
#:use-module (gnu packages jupyter)
#:use-module (gnu packages kerberos)
@@ -213,10 +215,10 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages maths)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages multiprecision)
- #:use-module (gnu packages networking)
#:use-module (gnu packages ncurses)
- #:use-module (gnu packages node)
+ #:use-module (gnu packages networking)
#:use-module (gnu packages ninja)
+ #:use-module (gnu packages node)
#:use-module (gnu packages openstack)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pdf)
@@ -235,14 +237,15 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages regex)
- #:use-module (gnu packages sdl)
#:use-module (gnu packages scanner)
+ #:use-module (gnu packages sdl)
#:use-module (gnu packages search)
#:use-module (gnu packages serialization)
#:use-module (gnu packages shells)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages ssh)
#:use-module (gnu packages swig)
+ #:use-module (gnu packages tcl)
#:use-module (gnu packages terminals)
#:use-module (gnu packages tex)
#:use-module (gnu packages texinfo)
@@ -253,22 +256,19 @@ (define-module (gnu packages python-xyz)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages wxwidgets)
- #:use-module (gnu packages base)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
- #:use-module (gnu packages xdisorg)
- #:use-module (gnu packages tcl)
- #:use-module (gnu packages bdw-gc)
- #:use-module (guix packages)
+ #:use-module (guix build-system cmake)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system pyproject)
+ #:use-module (guix build-system python)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix hg-download)
- #:use-module (guix gexp)
+ #:use-module (guix packages)
#:use-module (guix utils)
- #:use-module (guix build-system gnu)
- #:use-module (guix build-system cmake)
- #:use-module (guix build-system pyproject)
- #:use-module (guix build-system python)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
--
2.39.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#63429]
2023-05-10 22:11 [bug#63429] [PATCH 0/4]: gnu: python-can: Update to 4.2.0, fix build Sharlatan Hellseher
` (3 preceding siblings ...)
2023-05-10 22:12 ` [bug#63429] [PATCH 4/4] gnu: Sort use-module alphabetically in (gnu packages python-xyz) Sharlatan Hellseher
@ 2023-06-06 19:50 ` Sharlatan Hellseher
2023-06-07 6:54 ` bug#63429: Efraim Flashner
4 siblings, 1 reply; 8+ messages in thread
From: Sharlatan Hellseher @ 2023-06-06 19:50 UTC (permalink / raw)
To: 63429; +Cc: Christopher Baines, Maxim Cournoyer
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
Hi Guix,
A gentle ping on this patch set,
Let me know if I need to modify it.
Solving build issue, allowing to pack Gallia (
https://pypi.org/project/gallia/)
Thanks,
Oleg
[-- Attachment #2: Type: text/html, Size: 402 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63429:
2023-06-06 19:50 ` [bug#63429] Sharlatan Hellseher
@ 2023-06-07 6:54 ` Efraim Flashner
2023-06-07 19:44 ` [bug#63429] Maxim Cournoyer
0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2023-06-07 6:54 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: Christopher Baines, 63429-done, Maxim Cournoyer
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
Patches applied. I couldn't bring myself to split-up the download
imports with (guix gexp) so it's slightly out of order.
On Tue, Jun 06, 2023 at 09:50:49PM +0200, Sharlatan Hellseher wrote:
> Hi Guix,
>
> A gentle ping on this patch set,
> Let me know if I need to modify it.
>
> Solving build issue, allowing to pack Gallia (
> https://pypi.org/project/gallia/)
>
> Thanks,
> Oleg
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread