Currently trying out some things on MacOS but cannot install DataLad because one of its dependencies is not installable. An issue has already been opened.
When trying to install datalad or its dependency patool like this:
nix-shell -p patool
I get the following output:
this derivation will be built:
/nix/store/4y9x7wbz66dqpm5gf617x5777rf5mvjv-python3.12-patool-2.4.0.drv
building '/nix/store/4y9x7wbz66dqpm5gf617x5777rf5mvjv-python3.12-patool-2.4.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
unpacking source archive /nix/store/npfbpy7nlf8vy6s64n52vvyl3lb4s9y6-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_version.py
Running phase: patchPhase
substituteStream() in derivation python3.12-patool-2.4.0: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'patoolib/util.py')
substituteStream() in derivation python3.12-patool-2.4.0: WARNING: pattern path\ =\ None doesn't match anything in file 'patoolib/util.py'
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Executing setuptoolsBuildPhase
running bdist_wheel
/nix/store/waysidc5qhxd8xizhr5d2s6xdjmrajak-python3.12-setuptools-75.3.0/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!
********************************************************************************
With Python 2.7 end-of-life, support for building universal wheels
(i.e., wheels that support both Python 2 and Python 3)
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.
By 2025-Aug-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
self.finalize_options()
running build
running build_py
creating build/lib/patoolib
copying patoolib/configuration.py -> build/lib/patoolib
copying patoolib/mime.py -> build/lib/patoolib
copying patoolib/log.py -> build/lib/patoolib
copying patoolib/util.py -> build/lib/patoolib
copying patoolib/fileutil.py -> build/lib/patoolib
copying patoolib/__init__.py -> build/lib/patoolib
copying patoolib/cli.py -> build/lib/patoolib
creating build/lib/patoolib/programs
copying patoolib/programs/py_bz2.py -> build/lib/patoolib/programs
copying patoolib/programs/py_zipfile.py -> build/lib/patoolib/programs
copying patoolib/programs/lcab.py -> build/lib/patoolib/programs
copying patoolib/programs/uncompress.py -> build/lib/patoolib/programs
copying patoolib/programs/lzma.py -> build/lib/patoolib/programs
copying patoolib/programs/flac.py -> build/lib/patoolib/programs
copying patoolib/programs/gzip.py -> build/lib/patoolib/programs
copying patoolib/programs/rar.py -> build/lib/patoolib/programs
copying patoolib/programs/pigz.py -> build/lib/patoolib/programs
copying patoolib/programs/unadf.py -> build/lib/patoolib/programs
copying patoolib/programs/cabextract.py -> build/lib/patoolib/programs
copying patoolib/programs/jar.py -> build/lib/patoolib/programs
copying patoolib/programs/lz4.py -> build/lib/patoolib/programs
copying patoolib/programs/unzip.py -> build/lib/patoolib/programs
copying patoolib/programs/tar.py -> build/lib/patoolib/programs
copying patoolib/programs/py_echo.py -> build/lib/patoolib/programs
copying patoolib/programs/p7zzs.py -> build/lib/patoolib/programs
copying patoolib/programs/bzip2.py -> build/lib/patoolib/programs
copying patoolib/programs/zoo.py -> build/lib/patoolib/programs
copying patoolib/programs/p7rzip.py -> build/lib/patoolib/programs
copying patoolib/programs/star.py -> build/lib/patoolib/programs
copying patoolib/programs/clzip.py -> build/lib/patoolib/programs
copying patoolib/programs/genisoimage.py -> build/lib/patoolib/programs
copying patoolib/programs/bzip3.py -> build/lib/patoolib/programs
copying patoolib/programs/__init__.py -> build/lib/patoolib/programs
copying patoolib/programs/p7zz.py -> build/lib/patoolib/programs
copying patoolib/programs/lbzip2.py -> build/lib/patoolib/programs
copying patoolib/programs/unshar.py -> build/lib/patoolib/programs
copying patoolib/programs/dpkg.py -> build/lib/patoolib/programs
copying patoolib/programs/lhasa.py -> build/lib/patoolib/programs
copying patoolib/programs/isoinfo.py -> build/lib/patoolib/programs
copying patoolib/programs/arj.py -> build/lib/patoolib/programs
copying patoolib/programs/pbzip2.py -> build/lib/patoolib/programs
copying patoolib/programs/rpm2cpio.py -> build/lib/patoolib/programs
copying patoolib/programs/xdms.py -> build/lib/patoolib/programs
copying patoolib/programs/zip.py -> build/lib/patoolib/programs
copying patoolib/programs/zpaq.py -> build/lib/patoolib/programs
copying patoolib/programs/pdlzip.py -> build/lib/patoolib/programs
copying patoolib/programs/nomarch.py -> build/lib/patoolib/programs
copying patoolib/programs/p7zip.py -> build/lib/patoolib/programs
copying patoolib/programs/cpio.py -> build/lib/patoolib/programs
copying patoolib/programs/lzip.py -> build/lib/patoolib/programs
copying patoolib/programs/lrzip.py -> build/lib/patoolib/programs
copying patoolib/programs/p7azip.py -> build/lib/patoolib/programs
copying patoolib/programs/py_lzma.py -> build/lib/patoolib/programs
copying patoolib/programs/compress.py -> build/lib/patoolib/programs
copying patoolib/programs/plzip.py -> build/lib/patoolib/programs
copying patoolib/programs/unar.py -> build/lib/patoolib/programs
copying patoolib/programs/bsdtar.py -> build/lib/patoolib/programs
copying patoolib/programs/ar.py -> build/lib/patoolib/programs
copying patoolib/programs/lzop.py -> build/lib/patoolib/programs
copying patoolib/programs/py_gzip.py -> build/lib/patoolib/programs
copying patoolib/programs/xz.py -> build/lib/patoolib/programs
copying patoolib/programs/chmlib.py -> build/lib/patoolib/programs
copying patoolib/programs/rpm.py -> build/lib/patoolib/programs
copying patoolib/programs/zopfli.py -> build/lib/patoolib/programs
copying patoolib/programs/archmage.py -> build/lib/patoolib/programs
copying patoolib/programs/lha.py -> build/lib/patoolib/programs
copying patoolib/programs/arc.py -> build/lib/patoolib/programs
copying patoolib/programs/unrar.py -> build/lib/patoolib/programs
copying patoolib/programs/py_tarfile.py -> build/lib/patoolib/programs
copying patoolib/programs/shar.py -> build/lib/patoolib/programs
copying patoolib/programs/shorten.py -> build/lib/patoolib/programs
copying patoolib/programs/zstd.py -> build/lib/patoolib/programs
copying patoolib/programs/unalz.py -> build/lib/patoolib/programs
copying patoolib/programs/bsdcpio.py -> build/lib/patoolib/programs
copying patoolib/programs/rzip.py -> build/lib/patoolib/programs
copying patoolib/programs/unace.py -> build/lib/patoolib/programs
copying patoolib/programs/mac.py -> build/lib/patoolib/programs
/nix/store/waysidc5qhxd8xizhr5d2s6xdjmrajak-python3.12-setuptools-75.3.0/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.macosx-11.3-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-11.3-arm64/wheel
creating build/bdist.macosx-11.3-arm64/wheel/patoolib
copying build/lib/patoolib/configuration.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
copying build/lib/patoolib/mime.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
copying build/lib/patoolib/log.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
copying build/lib/patoolib/util.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
copying build/lib/patoolib/fileutil.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
copying build/lib/patoolib/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
creating build/bdist.macosx-11.3-arm64/wheel/patoolib/programs
copying build/lib/patoolib/programs/py_bz2.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/py_zipfile.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lcab.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/uncompress.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lzma.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/flac.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/gzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/rar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/pigz.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unadf.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/cabextract.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/jar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lz4.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/tar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/py_echo.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/p7zzs.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/bzip2.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/zoo.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/p7rzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/star.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/clzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/genisoimage.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/bzip3.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/__init__.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/p7zz.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lbzip2.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unshar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/dpkg.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lhasa.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/isoinfo.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/arj.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/pbzip2.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/rpm2cpio.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/xdms.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/zip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/zpaq.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/pdlzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/nomarch.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/p7zip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/cpio.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lrzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/p7azip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/py_lzma.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/compress.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/plzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/bsdtar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/ar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lzop.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/py_gzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/xz.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/chmlib.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/rpm.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/zopfli.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/archmage.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/lha.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/arc.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unrar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/py_tarfile.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/shar.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/shorten.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/zstd.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unalz.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/bsdcpio.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/rzip.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/unace.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/programs/mac.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib/programs
copying build/lib/patoolib/cli.py -> build/bdist.macosx-11.3-arm64/wheel/./patoolib
running install_egg_info
running egg_info
creating patool.egg-info
writing patool.egg-info/PKG-INFO
writing dependency_links to patool.egg-info/dependency_links.txt
writing entry points to patool.egg-info/entry_points.txt
writing top-level names to patool.egg-info/top_level.txt
writing manifest file 'patool.egg-info/SOURCES.txt'
reading manifest file 'patool.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
adding license file 'COPYING'
writing manifest file 'patool.egg-info/SOURCES.txt'
Copying patool.egg-info to build/bdist.macosx-11.3-arm64/wheel/./patool-2.4.1-py3.12.egg-info
running install_scripts
creating build/bdist.macosx-11.3-arm64/wheel/patool-2.4.1.dist-info/WHEEL
creating 'dist/patool-2.4.1-py2.py3-none-any.whl' and adding 'build/bdist.macosx-11.3-arm64/wheel' to it
adding 'patoolib/__init__.py'
adding 'patoolib/cli.py'
adding 'patoolib/configuration.py'
adding 'patoolib/fileutil.py'
adding 'patoolib/log.py'
adding 'patoolib/mime.py'
adding 'patoolib/util.py'
adding 'patoolib/programs/__init__.py'
adding 'patoolib/programs/ar.py'
adding 'patoolib/programs/arc.py'
adding 'patoolib/programs/archmage.py'
adding 'patoolib/programs/arj.py'
adding 'patoolib/programs/bsdcpio.py'
adding 'patoolib/programs/bsdtar.py'
adding 'patoolib/programs/bzip2.py'
adding 'patoolib/programs/bzip3.py'
adding 'patoolib/programs/cabextract.py'
adding 'patoolib/programs/chmlib.py'
adding 'patoolib/programs/clzip.py'
adding 'patoolib/programs/compress.py'
adding 'patoolib/programs/cpio.py'
adding 'patoolib/programs/dpkg.py'
adding 'patoolib/programs/flac.py'
adding 'patoolib/programs/genisoimage.py'
adding 'patoolib/programs/gzip.py'
adding 'patoolib/programs/isoinfo.py'
adding 'patoolib/programs/jar.py'
adding 'patoolib/programs/lbzip2.py'
adding 'patoolib/programs/lcab.py'
adding 'patoolib/programs/lha.py'
adding 'patoolib/programs/lhasa.py'
adding 'patoolib/programs/lrzip.py'
adding 'patoolib/programs/lz4.py'
adding 'patoolib/programs/lzip.py'
adding 'patoolib/programs/lzma.py'
adding 'patoolib/programs/lzop.py'
adding 'patoolib/programs/mac.py'
adding 'patoolib/programs/nomarch.py'
adding 'patoolib/programs/p7azip.py'
adding 'patoolib/programs/p7rzip.py'
adding 'patoolib/programs/p7zip.py'
adding 'patoolib/programs/p7zz.py'
adding 'patoolib/programs/p7zzs.py'
adding 'patoolib/programs/pbzip2.py'
adding 'patoolib/programs/pdlzip.py'
adding 'patoolib/programs/pigz.py'
adding 'patoolib/programs/plzip.py'
adding 'patoolib/programs/py_bz2.py'
adding 'patoolib/programs/py_echo.py'
adding 'patoolib/programs/py_gzip.py'
adding 'patoolib/programs/py_lzma.py'
adding 'patoolib/programs/py_tarfile.py'
adding 'patoolib/programs/py_zipfile.py'
adding 'patoolib/programs/rar.py'
adding 'patoolib/programs/rpm.py'
adding 'patoolib/programs/rpm2cpio.py'
adding 'patoolib/programs/rzip.py'
adding 'patoolib/programs/shar.py'
adding 'patoolib/programs/shorten.py'
adding 'patoolib/programs/star.py'
adding 'patoolib/programs/tar.py'
adding 'patoolib/programs/unace.py'
adding 'patoolib/programs/unadf.py'
adding 'patoolib/programs/unalz.py'
adding 'patoolib/programs/unar.py'
adding 'patoolib/programs/uncompress.py'
adding 'patoolib/programs/unrar.py'
adding 'patoolib/programs/unshar.py'
adding 'patoolib/programs/unzip.py'
adding 'patoolib/programs/xdms.py'
adding 'patoolib/programs/xz.py'
adding 'patoolib/programs/zip.py'
adding 'patoolib/programs/zoo.py'
adding 'patoolib/programs/zopfli.py'
adding 'patoolib/programs/zpaq.py'
adding 'patoolib/programs/zstd.py'
adding 'patool-2.4.1.dist-info/COPYING'
adding 'patool-2.4.1.dist-info/METADATA'
adding 'patool-2.4.1.dist-info/WHEEL'
adding 'patool-2.4.1.dist-info/entry_points.txt'
adding 'patool-2.4.1.dist-info/top_level.txt'
adding 'patool-2.4.1.dist-info/RECORD'
removing build/bdist.macosx-11.3-arm64/wheel
Finished executing setuptoolsBuildPhase
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed patool-2.4.1-py2.py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
checking for references to /private/tmp/nix-build-python3.12-patool-2.4.0.drv-0/ in /nix/store/2f04qnbgawjyxr09msi333b4as1w5s1d-python3.12-patool-2.4.0...
patching script interpreter paths in /nix/store/2f04qnbgawjyxr09msi333b4as1w5s1d-python3.12-patool-2.4.0
stripping (with command strip and flags -S) in /nix/store/2f04qnbgawjyxr09msi333b4as1w5s1d-python3.12-patool-2.4.0/lib /nix/store/2f04qnbgawjyxr09msi333b4as1w5s1d-python3.12-patool-2.4.0/bin
checking for references to /private/tmp/nix-build-python3.12-patool-2.4.0.drv-0/ in /nix/store/g5a6x28ka3bzppv4aj36im1xhqjcgl0k-python3.12-patool-2.4.0-dist...
patching script interpreter paths in /nix/store/g5a6x28ka3bzppv4aj36im1xhqjcgl0k-python3.12-patool-2.4.0-dist
Rewriting #!/nix/store/8zc3wcplydp8gsxms24scpzdca438dk5-python3-3.12.8/bin/python3.12 to #!/nix/store/8zc3wcplydp8gsxms24scpzdca438dk5-python3-3.12.8
wrapping `/nix/store/2f04qnbgawjyxr09msi333b4as1w5s1d-python3.12-patool-2.4.0/bin/patool'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
Running phase: pythonRemoveBinBytecodePhase
Running phase: pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Running phase: pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform darwin -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0
rootdir: /private/tmp/nix-build-python3.12-patool-2.4.0.drv-0/source
configfile: pyproject.toml
collected 218 items / 20 deselected / 198 selected
tests/archives/test_7z.py ..ss..ss [ 4%]
tests/archives/test_7za.py .. [ 5%]
tests/archives/test_7zr.py .. [ 6%]
tests/archives/test_7zz.py ssssssss [ 10%]
tests/archives/test_7zzs.py ssssssss [ 14%]
tests/archives/test_bsdcpio.py ss [ 15%]
tests/archives/test_bsdtar.py sssssssss [ 19%]
tests/archives/test_bzip2.py .. [ 20%]
tests/archives/test_bzip3.py ss [ 21%]
tests/archives/test_cabextract.py .. [ 22%]
tests/archives/test_chmlib.py ss [ 23%]
tests/archives/test_clzip.py ss [ 24%]
tests/archives/test_compress.py s [ 25%]
tests/archives/test_cpio.py ss [ 26%]
tests/archives/test_dpkg.py ss [ 27%]
tests/archives/test_flac.py ss [ 28%]
tests/archives/test_genisoimage.py s [ 28%]
tests/archives/test_gzip.py .. [ 29%]
tests/archives/test_isoinfo.py ss [ 30%]
tests/archives/test_jar.py ss [ 31%]
tests/archives/test_lbzip2.py ss [ 32%]
tests/archives/test_lcab.py s [ 33%]
tests/archives/test_lha.py s [ 33%]
tests/archives/test_lhasa.py s [ 34%]
tests/archives/test_lrzip.py s [ 34%]
tests/archives/test_lz4.py ss [ 35%]
tests/archives/test_lzip.py .. [ 36%]
tests/archives/test_lzma.py . [ 37%]
tests/archives/test_lzop.py ss [ 38%]
tests/archives/test_mac.py ss [ 39%]
tests/archives/test_nomarch.py ss [ 40%]
tests/archives/test_pbzip2.py ss [ 41%]
tests/archives/test_pdlzip.py ss [ 42%]
tests/archives/test_pigz.py ss [ 43%]
tests/archives/test_plzip.py ss [ 44%]
tests/archives/test_pybz2.py .. [ 45%]
tests/archives/test_pyecho.py .. [ 46%]
tests/archives/test_pygzip.py .. [ 47%]
tests/archives/test_pylzma.py .. [ 48%]
tests/archives/test_pytarfile.py ........ [ 52%]
tests/archives/test_pyzipfile.py .... [ 54%]
tests/archives/test_rar.py ssss [ 56%]
tests/archives/test_rpm.py ss [ 57%]
tests/archives/test_rpm2cpio.py ss [ 58%]
tests/archives/test_rzip.py ss [ 59%]
tests/archives/test_shar.py s [ 60%]
tests/archives/test_shorten.py s [ 60%]
tests/archives/test_star.py sssssssssssss [ 67%]
tests/archives/test_tar.py ...........ss [ 73%]
tests/archives/test_unace.py ss [ 74%]
tests/archives/test_unadf.py ss [ 75%]
tests/archives/test_unalz.py s [ 76%]
tests/archives/test_unar.py ... [ 77%]
tests/archives/test_uncompressreal.py ss [ 78%]
tests/archives/test_unrar.py ss [ 79%]
tests/archives/test_unshar.py s [ 80%]
tests/archives/test_xdms.py s [ 80%]
tests/archives/test_xz.py ... [ 82%]
tests/archives/test_zoo.py ss [ 83%]
tests/archives/test_zopfli.py s [ 83%]
tests/archives/test_zpaq.py .. [ 84%]
tests/test_config.py .... [ 86%]
tests/test_create.py . [ 87%]
tests/test_diff.py s [ 87%]
tests/test_extract.py . [ 88%]
tests/test_fileutil.py ..... [ 90%]
tests/test_formats.py . [ 91%]
tests/test_help.py . [ 91%]
tests/test_list.py . [ 92%]
tests/test_mime.py ....F [ 94%]
tests/test_repack.py ... [ 96%]
tests/test_search.py .s [ 97%]
tests/test_test.py . [ 97%]
tests/test_util.py ... [ 99%]
tests/test_version.py . [100%]
=================================== FAILURES ===================================
__________________________ TestMime.test_nested_gzip ___________________________
args = (<tests.test_mime.TestMime testMethod=test_nested_gzip>,), kwargs = {}
def newfunc(*args, **kwargs):
if not testfunc(name):
pytest.skip(f"{description} {name!r} is not available")
> return func(*args, **kwargs)
tests/__init__.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_mime.py:198: in test_nested_gzip
self.mime_test_file("t.rar.gz", "application/x-rar", "gzip")
tests/test_mime.py:56: in mime_test_file
self.mime_test(patoolib.mime.guess_mime_file, archive, mime, encoding, info)
tests/test_mime.py:38: in mime_test
self.assertEqual(
E AssertionError: 'application/gzip' != 'application/x-rar'
E - application/gzip
E + application/x-rar
E : MIME type for archive `/private/tmp/nix-build-python3.12-patool-2.4.0.drv-0/source/tests/data/t.rar.gz' should be application/x-rar, but was application/gzip. Info: application/x-gzip
=========================== short test summary info ============================
FAILED tests/test_mime.py::TestMime::test_nested_gzip - AssertionError: 'application/gzip' != 'application/x-rar'
========== 1 failed, 83 passed, 114 skipped, 20 deselected in 18.22s ===========
error: builder for '/nix/store/4y9x7wbz66dqpm5gf617x5777rf5mvjv-python3.12-patool-2.4.0.drv' failed with exit code 1;
last 25 log lines:
> =================================== FAILURES ===================================
> __________________________ TestMime.test_nested_gzip ___________________________
>
> args = (<tests.test_mime.TestMime testMethod=test_nested_gzip>,), kwargs = {}
>
> def newfunc(*args, **kwargs):
> if not testfunc(name):
> pytest.skip(f"{description} {name!r} is not available")
> > return func(*args, **kwargs)
>
> tests/__init__.py:44:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> tests/test_mime.py:198: in test_nested_gzip
> self.mime_test_file("t.rar.gz", "application/x-rar", "gzip")
> tests/test_mime.py:56: in mime_test_file
> self.mime_test(patoolib.mime.guess_mime_file, archive, mime, encoding, info)
> tests/test_mime.py:38: in mime_test
> self.assertEqual(
> E AssertionError: 'application/gzip' != 'application/x-rar'
> E - application/gzip
> E + application/x-rar
> E : MIME type for archive `/private/tmp/nix-build-python3.12-patool-2.4.0.drv-0/source/tests/data/t.rar.gz' should be application/x-rar, but was application/gzip. Info: application/x-gzip
> =========================== short test summary info ============================
> FAILED tests/test_mime.py::TestMime::test_nested_gzip - AssertionError: 'application/gzip' != 'application/x-rar'
> ========== 1 failed, 83 passed, 114 skipped, 20 deselected in 18.22s ===========
For full logs, run 'nix-store -l /nix/store/4y9x7wbz66dqpm5gf617x5777rf5mvjv-python3.12-patool-2.4.0.drv'.
One of the tests failes because of an assertion. x-rar was expected instead of given gzip. Can this test be skipped or how could x-rar be provided instead?