GNU bug report logs - #67550
python-pytest-sanic 1.9.1 is not building

Previous Next

Package: guix;

Reported by: jrballesteros05 <at> posteo.net

Date: Thu, 30 Nov 2023 18:48:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67550 in the body.
You can then email your comments to 67550 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#67550; Package guix. (Thu, 30 Nov 2023 18:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jrballesteros05 <at> posteo.net:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 30 Nov 2023 18:48:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jrballesteros05 <at> posteo.net
To: bug-guix <at> gnu.org
Subject: python-pytest-sanic 1.9.1 is not building
Date: Thu, 30 Nov 2023 18:46:38 +0000
Hello Guix team. I was trying to build platformio for Guix but I am 
struggling with one of its dependencies:

platformio depends on python-ajsonrpc, which depends on 
python-pytest-sanic.

 guix shell python-ajsonrpc
14.4 MB will be downloaded
 guile-3.0.9-debug  6.8MiB                           2.9MiB/s 00:02 
▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 
100.0%
The following derivations will be built:
  /gnu/store/sm87710ng5piz8dcj521j8fld6l9266y-python-sanic-21.12.1.drv
  
/gnu/store/9vv8s6ay7276k3n5jpv860ga1lx4b2h8-python-sanic-testing-22.3.0.drv
  
/gnu/store/i1f18bd1fp8c4vkml6wq3b6v46pih486-python-sanic-bootstrap-21.12.1.drv
  
/gnu/store/rwdqskbgw48bvjdjglx6wiigxfml6zrl-python-pytest-sanic-1.9.1.drv
  /gnu/store/09ymhk66i5g318hxfvc13lv4gi6wkg6i-python-quart-0.17.0.drv
  /gnu/store/pdbvgh7dkc3qm7v1iaxsz4gzay2nxb2p-python-ajsonrpc-1.2.0.drv

32.3 MB will be downloaded
 python-pycparser-2.21-doc  19KiB                    1.0MiB/s 00:00 
▕██████████████████▏ 100.0%
 glibc-2.35  9.3MiB                                  6.3MiB/s 00:01 
▕██████████████████▏ 100.0%
 gzip-1.12  83KiB                                    2.6MiB/s 00:00 
▕██████████████████▏ 100.0%
 glibc-2.35-static  1.6MiB                           5.6MiB/s 00:00 
▕██████████████████▏ 100.0%
 libfontenc-1.1.4  14KiB                             4.7MiB/s 00:00 
▕██████████████████▏ 100.0%
 glibc-2.35-debug  19.3MiB                           6.5MiB/s 00:03 
▕██████████████████▏ 100.0%
 mkfontscale-1.2.2  20KiB                            3.9MiB/s 00:00 
▕██████████████████▏ 100.0%
 texinfo-6.8  1.3MiB                                 4.0MiB/s 00:00 
▕██████████████████▏ 100.0%
 mkfontdir-1.0.7  4KiB                               798KiB/s 00:00 
▕██████████████████▏ 100.0%
building 
/gnu/store/rwdqskbgw48bvjdjglx6wiigxfml6zrl-python-pytest-sanic-1.9.1.drv...
- 'sanity-check' phasebuilder for 
`/gnu/store/rwdqskbgw48bvjdjglx6wiigxfml6zrl-python-pytest-sanic-1.9.1.drv' 
failed with exit code 1
build of 
/gnu/store/rwdqskbgw48bvjdjglx6wiigxfml6zrl-python-pytest-sanic-1.9.1.drv 
failed
View build log at 
'/var/log/guix/drvs/rw/dqskbgw48bvjdjglx6wiigxfml6zrl-python-pytest-sanic-1.9.1.drv.gz'.
building 
/gnu/store/09ymhk66i5g318hxfvc13lv4gi6wkg6i-python-quart-0.17.0.drv...
cannot build derivation 
`/gnu/store/sm87710ng5piz8dcj521j8fld6l9266y-python-sanic-21.12.1.drv': 
1 dependencies couldn't be built
guix shell: error: build of 
`/gnu/store/sm87710ng5piz8dcj521j8fld6l9266y-python-sanic-21.12.1.drv' 
failed


I think the problem is related to this:

https://github.com/yunstanford/pytest-sanic/issues/68

In my own tests I modified the package with this:

(arguments
     ;; Tests depend on python-sanic.
     `(#:tests? #f
       #:phases (modify-phases %standard-phases
		    (add-after 'unpack 'fix-websocket-version
                    ;; 
https://github.com/yunstanford/pytest-sanic/issues/60
                    (lambda _
                      ;; Fixing websocket version required
                      (substitute* "setup.py"
                        (("websockets>=9.1,<11.0")
                         "websockets>=9.1"))))
       )))

The package was built OK but I am not sure if this workaround is OK. 
Best regards.




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 16 Jul 2024 18:57:01 GMT) Full text and rfc822 format available.

Notification sent to jrballesteros05 <at> posteo.net:
bug acknowledged by developer. (Tue, 16 Jul 2024 18:57:02 GMT) Full text and rfc822 format available.

Message #10 received at 67550-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: jrballesteros05 <at> posteo.net
Cc: 67550-done <at> debbugs.gnu.org
Subject: Re: bug#67550: python-pytest-sanic 1.9.1 is not building
Date: Tue, 16 Jul 2024 21:55:37 +0300
[Message part 1 (text/plain, inline)]
It looks like loosening the version requirements on the websockets
dependency is in fact what was done, and now the package builds.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 14 Aug 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.