Just for completeness. You can just fix this with make setuptools_scm-clean
The patch in https://trac.sagemath.org/ticket/32031 will fix the underlying problem so that this won't be needed in the future. Dima Pasechnik schrieb am Dienstag, 22. Juni 2021 um 22:04:56 UTC+2: > On Tue, Jun 22, 2021 at 8:43 PM Enrique Artal <[email protected]> wrote: > > > > I had the same error with this package and py in Fedora 34 (though in > one computer I had no problem); > > a fix is ready here: https://trac.sagemath.org/ticket/32031 > > > > rebuilding after make distclean was OK > > > > El martes, 22 de junio de 2021 a las 12:25:54 UTC+2, > [email protected] escribió: > >> > >> Thanks Volker for the new release. > >> > >> Unfortunatly, installation fails for me due to mpmath > https://trac.sagemath.org/ticket/31564 and py > https://trac.sagemath.org/ticket/30416. > >> > >> Both of them require setuptools-scm in the setup.py (no > pyproject.toml), but do not pick up our setuptools_scm (contained in > $PYTHON_TOOLCHAIN). (Afterwards, they try to download setuptools-scm > themselves, which fails.) > >> > >> In particular this breaks sympy. > >> > >> Jonathan > >> > >> This is what the mpmath log looks like: > >> > >> 1 Using cached file /srv/public/kliem/sage/upstream/mpmath-1.2.1.tar.gz > >> 2 mpmath-1.2.1 > >> 3 ==================================================== > >> 4 Setting up build directory for mpmath-1.2.1 > >> 5 Finished extraction > >> 6 No patch files found in ../patches > >> 7 **************************************************** > >> 8 Host system: > >> 9 Linux cofio 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) > x86_64 GNU/Linux > >> 10 **************************************************** > >> 11 C compiler: gcc > >> 12 C compiler version: > >> 13 Using built-in specs. > >> 14 COLLECT_GCC=gcc > >> 15 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper > >> 16 OFFLOAD_TARGET_NAMES=nvptx-none > >> 17 OFFLOAD_TARGET_DEFAULT=1 > >> 18 Target: x86_64-linux-gnu > >> 19 Configured with: ../src/configure -v --with-pkgversion='Debian > 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs > --enable-languages=c,ada,c++,go,brig,d,fortran,obj +++c,obj-c++ > --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 > --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id > --libexecdir=/usr/lib - +++-without-included-gettext --enable-threads=posix > --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > +++--with-default-libstdcxx-abi=new --enable-gnu-unique-object > --disable-vtable-verify --enable-libmpx --enable-plugin > --enable-default-pie --with-system-zlib --with-target-sys +++tem-zlib > --enable-objc-gc=auto --enable-multiarch --disable-werror > --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 > --enable-multilib --with-tune=generic +++ > --enable-offload-targets=nvptx-none --without-cuda-driver > --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu > --target=x86_64-linux-gnu > >> 20 Thread model: posix > >> 21 gcc version 8.3.0 (Debian 8.3.0-6) > >> 22 **************************************************** > >> 23 Package 'mpmath' is currently not installed > >> 24 No legacy uninstaller found for 'mpmath'; nothing to do > >> 25 Installing mpmath-1.2.1 > >> 26 Ignoring indexes: https://pypi.org/simple > >> 27 Created temporary directory: /tmp/pip-ephem-wheel-cache-m2afid13 > >> 28 Created temporary directory: /tmp/pip-req-tracker-uauh0fqi > >> 29 Initialized build tracking at /tmp/pip-req-tracker-uauh0fqi > >> 30 Created build tracker: /tmp/pip-req-tracker-uauh0fqi > >> 31 Entered build tracker: /tmp/pip-req-tracker-uauh0fqi > >> 32 Created temporary directory: /tmp/pip-wheel-px24sq6c > >> 33 Processing > /srv/public/kliem/sage/local/var/tmp/sage/build/mpmath-1.2.1/src > >> 34 Created temporary directory: /tmp/pip-req-build-y8tf923x > >> 35 DEPRECATION: A future pip version will change local packages to be > built in-place without first copying to a temporary directory. We recommend > you use --use-feature=in-tree-b +++uild to test your packages with this new > behavior before it becomes the default. > >> 36 pip 21.3 will remove support for this functionality. You can find > discussion regarding this at https://github.com/pypa/pip/issues/7555. > >> 37 Added > file:///srv/public/kliem/sage/local/var/tmp/sage/build/mpmath-1.2.1/src to > build tracker '/tmp/pip-req-tracker-uauh0fqi' > >> 38 Running setup.py (path:/tmp/pip-req-build-y8tf923x/setup.py) > egg_info for package from > file:///srv/public/kliem/sage/local/var/tmp/sage/build/mpmath-1.2.1/src > >> 39 Created temporary directory: /tmp/pip-pip-egg-info-t6h66a5n > >> 40 Running command python setup.py egg_info > >> 41 WARNING: Retrying (Retry(total=4, connect=None, read=None, > redirect=None, status=None)) after connection broken by 'ProxyError('Cannot > connect to proxy.', NewConnectionErro > +++r('<pip._vendor.urllib3.connection.HTTPSConnection object at > 0x7fb3a1103400>: Failed to establish a new connection: [Errno 113] No route > to host'))': /simple/setuptools-scm/ > >> 42 WARNING: Retrying (Retry(total=3, connect=None, read=None, > redirect=None, status=None)) after connection broken by 'ProxyError('Cannot > connect to proxy.', NewConnectionErro > +++r('<pip._vendor.urllib3.connection.HTTPSConnection object at > 0x7fb3a1103940>: Failed to establish a new connection: [Errno 113] No route > to host'))': /simple/setuptools-scm/ > >> 43 WARNING: Retrying (Retry(total=2, connect=None, read=None, > redirect=None, status=None)) after connection broken by 'ProxyError('Cannot > connect to proxy.', NewConnectionErro > +++r('<pip._vendor.urllib3.connection.HTTPSConnection object at > 0x7fb3a1103a90>: Failed to establish a new connection: [Errno 113] No route > to host'))': /simple/setuptools-scm/ > >> 44 WARNING: Retrying (Retry(total=1, connect=None, read=None, > redirect=None, status=None)) after connection broken by 'ProxyError('Cannot > connect to proxy.', NewConnectionErro > +++r('<pip._vendor.urllib3.connection.HTTPSConnection object at > 0x7fb3a1103b38>: Failed to establish a new connection: [Errno 113] No route > to host'))': /simple/setuptools-scm/ > >> 45 WARNING: Retrying (Retry(total=0, connect=None, read=None, > redirect=None, status=None)) after connection broken by 'ProxyError('Cannot > connect to proxy.', NewConnectionErro > +++r('<pip._vendor.urllib3.connection.HTTPSConnection object at > 0x7fb3a1103ba8>: Failed to establish a new connection: [Errno 113] No route > to host'))': /simple/setuptools-scm/ > >> 46 ERROR: Could not find a version that satisfies the requirement > setuptools_scm>=1.7.0 (from versions: none) > >> 47 ERROR: No matching distribution found for setuptools_scm>=1.7.0 > >> 48 Traceback (most recent call last): > >> 49 File > "/srv/public/kliem/sage/local/lib/python3.7/site-packages/setuptools/installer.py", > > line 75, in fetch_build_egg > >> 50 subprocess.check_call(cmd) > >> 51 File "/usr/lib/python3.7/subprocess.py", line 347, in check_call > >> 52 raise CalledProcessError(retcode, cmd) > >> 53 subprocess.CalledProcessError: Command > '['/srv/public/kliem/sage/local/bin/python3', '-m', 'pip', > '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpd7u9jo > +++nh', '--quiet', 'setuptools_scm>=1.7.0']' returned non-zero exit status > 1. > >> > >> Volker Braun schrieb am Dienstag, 22. Juni 2021 um 00:44:27 UTC+2: > >>> > >>> As always, you can get the latest beta version from the "develop" git > branch. Alternatively, the self-contained source tarball is at > http://www.sagemath.org/download-latest.html > >>> > >>> a60179ab6b (tag: 9.4.beta3, trac/develop) Updated SageMath version to > 9.4.beta3 > >>> fcefe99320 Trac #31879: Disable libavif in libgd > >>> b6b31952ae Trac #31876: Update maxima to 5.45.0 > >>> 64dda5c489 Trac #31875: Exponentiation of p-adics fails when exponent > is exact zero > >>> e8c028a40e Trac #31871: replace boost by boost_cropped in m4 files > >>> 26ae1a47e1 Trac #31866: 3 internet doctests failing in oeis.py > >>> 2d1c698830 Trac #31865: 1 internet doctests failing in > symbolic/integration/external.py > >>> 80e2fd0bbe Trac #31863: Fricas doesn't build on OS X Big Sur/Xcode 12 > >>> 383f9639f5 Trac #31858: Fix translation of univariate Gamma from FriCAS > >>> ba66064dff Trac #31856: pyzmq: Update to 22.0.3; babel: Update to 2.9.1 > >>> 85dfc14e88 Trac #31854: Pass name and latex_name to copy method in > set_restriction > >>> a03a8c49fe Trac #31853: conversion of polygamma to fricas > >>> 00820ead6f Trac #31845: Error when computing norm or trace of inexact > zero in Z_q > >>> 78c482bc6b Trac #31843: a few details in affine permutations > >>> 6e34acfc16 Trac #31841: Improve performance of function fields > >>> 390bddf581 Trac #31840: perl_mongodb: Split out from > perl_cpan_polymake_prereq > >>> 508c6139a4 Trac #31836: CDF() should return CDF.zero() > >>> 3ec012aef2 Trac #31827: Fix deprecation warnings with matplotlib 3.4 > >>> 8928c0ab22 Trac #31818: Creating a module homomorphism with a matrix > may build the wrong codomain > >>> e34dc0a1eb Trac #31798: ManifoldSubset.difference, complement > >>> 88f8ede13b Trac #31775: Construction of interface wrapper elements > does not support python type complex > >>> dcb35a3274 Trac #31764: ManifoldSubset: union, intersection, > declare_{union,intersection} with arbitrary number of arguments > >>> 674a9ef41c Trac #31763: ManifoldSubset: New methods declare_subset, > declare_superset > >>> 88b652e7b2 Trac #31736: ManifoldSubset: New methods declare_equal, > equal_subsets, equal_subset_family > >>> 3a36b12e13 Trac #31732: ManifoldSubset: New methods declare_empty, > declare_nonempty, is_empty, has_defined_points, open_cover_family > >>> fad657640d Trac #31727: ManifoldSubset: Add methods subset_family, > superset_family, open_superset_family; deprecate method list_of_subsets > >>> a4cb623f69 Trac #31718: ManifoldSubset: Change some methods to > generators > >>> 4560786194 Trac #31702: Extend PolyhedronRepresentation richcmp to a > linear order, defining comparisons of representation objects of different > types > >>> ad65dc8f77 Trac #31701: Bug in Polyhedron._richcmp_ > >>> 1516c7a535 Trac #31680: Poset of manifold subsets > >>> b128083497 Trac #31659: Polyhedron.affine_hull_manifold > >>> 8370714079 Trac #31642: Next singular update: 4.2.0p3 > >>> 2e800ee227 Trac #31564: update mpmath to 1.2.1 > >>> 05de38954a Trac #31498: upgrade GAP to 4.11.1 or newer > >>> e308f75036 Trac #31338: sage_setup: Use paths within SAGE_LOCAL when > provided via sage_conf > >>> a1177b75a6 Trac #30469: Implement `as_combinatorial_polyhedron` for > combinatorial faces of polyhedra > >>> f8e8755f7e Trac #30416: Make tox a standard package > >>> 26a9d1509f Trac #30133: Giac mixes variables and constants of the same > name such as I, e, π > >>> db82dcf894 Trac #29982: Make dynamics doctests ready for random seeds > >>> 517b59b001 Trac #29976: Make matrix doctests ready for random seeds > >>> 3fe58be464 Trac #28261: provide better labels for intersection poset > of a hyperplane arrangement > >>> f25cec1ce7 Trac #31888: Fixes to src/setup.py (used when configure > --enable-editable is used) > >>> a01a0e8b68 Trac #31286: fixes for flake8 E70* > >>> b334f3434c Trac #29617: Support system installations of ECL and fix > the kenzo SPKG build > >>> 4795abb8cf Trac #31948: Reimplement parallel docbuild using make > >>> ab69ab3313 Trac #30801: Upgrade: pari 2.13 > >>> 46c5c53b4d (tag: 9.4.beta2) Updated SageMath version to 9.4.beta2 > >>> > > -- > > You received this message because you are subscribed to the Google > Groups "sage-release" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/3298d2f2-b38e-4c61-9f36-06589ea72153n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/62daabfc-8030-4782-8639-21f3436ae1ebn%40googlegroups.com.
