python-pytest-sanic 1.9.1 is not building

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • jrballesteros05
Owner
unassigned
Submitted by
jrballesteros05
Severity
normal
J
J
jrballesteros05 wrote on 30 Nov 2023 19:46
(address . bug-guix@gnu.org)
5e181ae1519ee8cc2ad20d219e6b4b23@posteo.net
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:


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
;;
(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.
E
E
Efraim Flashner wrote on 16 Jul 20:55 +0200
(address . jrballesteros05@posteo.net)(address . 67550-done@debbugs.gnu.org)
ZpbCKUQ9xpnqqY7U@pbp
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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmaWwikACgkQQarn3Mo9
g1HSmQ/9HUZqpBmbEt3J+FI5DxUB+Hdp7GW2Ug6g7WoV45kUsb0QNVULRCJFqkDw
EuouU25ZusQC2nrTFABlsjGtgXmxyzV3BqGX9uhubwLZJDz2Hkq/XoEAbpjnU25s
s+PceAqlPr0yDSo23aWIzs2ewR0ZFpyp7cAh6zknqBfMIMeyMY0VieyGWDgpbUxH
o19+Iji4Z67Nv6sn8XBS3PN9wCpue4sYH26M7YJCTrvg+klwfkF1R75DNH9gmkkn
mUur2D362yrHprexQVoIg6V0Pg87y9Fmgn7/A0F8GJA9qDpD5GDkuR9LmytrHfzQ
Y9ZUl0yzpXU8N53AX01QxNlKAc2h2cCqZHipTmmtATeAptcxVTbEuH0V78o+UGYX
BW5ZXzECJ8ZIBh2bLH6O1WIloaiE6k2qkb7CHZcUwzWFbrH7j5Y5OHN+yeVRfkTG
0uTylAKULXCmnFpGIfDcIHHg/Cfn9St7jyZ/H85yZUp4LEhWssm7cSVufbMUwQ51
SFfQ7QcBmKi+iHT91oScqx0EaxnfcxEWbysjwnwSx95ShH0ksMC/fz18kfqr7r7y
qGe15YJl1hu/eIpQ+XmSXGrq6Dh3Q7zPKVCe0rtZsliCK3esQWWPeHH9BFzjDS50
LL8FubRQmhvY+5xPj9srA3XfDVd+1TeCRFK6+xfMtY+F6PXbeuM=
=yGa1
-----END PGP SIGNATURE-----


Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67550@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67550
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch