guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python


From: Andreas Enge
Subject: Re: Python
Date: Fri, 24 Feb 2023 17:47:33 +0100

Yet another python failure: python-pathlib

import pathlib
  File "/tmp/guix-build-python-pathlib-1.0.1.drv-0/pathlib-1.0.1/pathlib.py", 
line 10, in <module>
    from collections import Sequence
ImportError: cannot import name 'Sequence' from 'collections' 
(/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/collections/__init__.py)
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import 
setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', 
open)(__file__);code=f.read().replace('\\r\\n', 
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 
term-signal: #f stop-signal: #f>
phase `build' failed after 0.2 seconds
command "python" "-c" "import setuptools, 
tokenize;__file__='setup.py';f=getattr(tokenize, 'open', 
open)(__file__);code=f.read().replace('\\r\\n', 
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with 
status 1
note: keeping build directory `/tmp/guix-build-python-pathlib-1.0.1.drv-0'
builder for 
`/gnu/store/3j0y64p8cp8kcgmmpxmnhjqglvagi6g7-python-pathlib-1.0.1.drv' failed 
with exit code 1
build of /gnu/store/3j0y64p8cp8kcgmmpxmnhjqglvagi6g7-python-pathlib-1.0.1.drv 
failed
View build log at 
'/var/log/guix/drvs/3j/0y64p8cp8kcgmmpxmnhjqglvagi6g7-python-pathlib-1.0.1.drv.gz'.

Materially, it does not look very difficult. It is probably enough to replace
   from collections import Sequence
by
   from collections.abc import Sequence

Metaphysically, this is a package with its latest release in 2014 (!),
the vcs page has disappeared, but it has many dependencies:

Building the following 87 packages would ensure 209 dependent packages are 
rebuilt: instantmusic@1.0-1.300891d conda@22.9.0 python-nb-clean@2.1.0 
python-pytest-perf@0.12.0 fdroidserver@1.1.9 python-regions@0.7 
python-photutils@1.6.0 python-poppy@1.0.3 python-biom-format@2.1.12 
python-ipython-documentation@8.2.0 python-iml@0.6.2 
python-slurm-magic@0.0-0.73dd1a2 python-pytest-exploratory@0.5 
python-enoslib@8.0.1 pgcli@3.2.0 autokey@0.95.10 python-pyfuse3@3.2.1 
python-telethon@1.17.5 emacs-calibredb@2.12.0 python-astroquery@0.4.6 
vorta@0.8.7 cura@4.13.1 komikku@1.9.0 jrnl@1.9.7 python-harmony@0.7.1 
caja-extensions@1.24.1 gourmet@0.17.4-0.8af29c8 python-swiftclient@4.0.1 
dbxfs@1.0.63 linuxdcpp@1.1.0 ikiwiki@3.20200202.3 breezy@3.2.2 vembrane@0.13.2 
python-nanopb@0.4.6.4 python-pynixutil@0.5.0 openconnect-sso@0.8.0 qtile@0.18.1 
electrum@4.3.2 pantalaimon@0.10.5 weechat-matrix@0.3.0 snakemake@6.15.5 
snakemake@7.7.0 python-trio-websocket@0.9.2 
python-commonroad-route-planner@2022.3 python-sunpy@4.1.1 
trytond-currency-rs@6.2.0 trytond-stock-package-shipping-mygls@6.2.1 
trytond-stock-package-shipping-dpd@6.2.3 python-mailman-hyperkitty@1.2.0 
python-falcon-cors@1.1.7 python-ajsonrpc@1.2.0 python-ipdb@0.13.9 
python-hicexplorer@3.7.2 xeus@2.4.1 python-bash-kernel@0.7.2 r-torch@0.9.0 
python-cleanlab@2.2.0 python-pari-jupyter@1.4.1 orange@3.32.0 
python-ipython-cluster-helper@0.6.4 python-numpy-documentation@1.23.2 
rfcat@1.9.6 ruby-iruby@0.3 nanosv@1.2.4 flair@1.6.4 tombo@1.5.1 
archivebox@0.6.2 r-millefy@0.1.9-beta python-jupytext@1.14.1 
python-ikarus@0.0.2 python-sparqlkernel@1.3.0 python-nbdime@3.1.1 nikola@8.2.2 
pigx-sars-cov-2@0.0.8 pigx@0.0.3 python-pytest-check-links@0.3.0 
python-multivelo@0.1.2 python-plotly@5.6.0 python-ipympl@0.9.1 
python-ipydatawidgets@4.2.0 python-matplotlib-documentation@3.5.2 
scregseg@0.1.1 r-irkernel@1.3.1 abjad-ext-ipython@3.3 guix-jupyter@0.2.2 
python-jupyter-sphinx@0.3.2 python-cellbender@0.2.2

Why do so many maintained projects depend on an unmaintained library?

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]