Change:
Steps to reproduce the behavior: python3Packages.ratarmountcore This first occurs after updates to and itself. The failure is not actually in a test, and occurs after the tests run. This indicates that some difference in the way the derivation is executing tests compared to upstream's CI is causing the error. Please run and paste the result. Not relevant; the log is on Hydra. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
It seems that only the rapidgzip backend got updated but not ratarmountcore. Either downgrade rapidgzip or update ratarmountcore to 0.6.3 if possible. I'll have to see to get the latter update merged, it seems the auto-update bot does not work for ratarmountcore. This should fix the and output. I have no idea about the last 2 error lines. I cannot reproduce it with nix 2.16.1 on Ubuntu. The command runs fine:

Discussion:
, buildPythonPackage , fetchPypi , pythonOlder <ins> , setuptools </ins> , cython , zlib }:

buildPythonPackage rec { pname = "indexed_gzip"; version = "1.8.7"; <del> format = "setuptools"; </del> <ins> pyproject = true; </ins> disabled = pythonOlder "3.7";

hash = "sha256-dryq1LLC+lVHj/i+m60ubGGItlX5/clCnwNGrexI92I="; }; <del> nativeBuildInputs = [ cython ]; </del> <ins> nativeBuildInputs = [ cython setuptools ]; </ins> buildInputs = [ zlib ];

homepage = "https://github.com/pauldmccarthy/indexed_gzip"; license = licenses.zlib; maintainers = with lib.maintainers; [ mxmlnkn ]; <del> platforms = platforms.all; </del> }; }

, buildPythonPackage , fetchPypi , pythonOlder <ins> , setuptools </ins> , cython , zstd }:

buildPythonPackage rec { pname = "indexed_zstd"; version = "1.6.0"; <del> format = "setuptools"; </del> <ins> pyproject = true; </ins> disabled = pythonOlder "3.6";

hash = "sha256-icCerrv6ihBjSTS4Fsw7qhoA5ha8yegfMVRiIOhTvvY="; }; <del> nativeBuildInputs = [ cython ]; </del> <ins> nativeBuildInputs = [ cython setuptools ]; </ins> buildInputs = [ zstd.dev ]; <ins> postPatch = "cython -3 --cplus indexed_zstd/indexed_zstd.pyx"; </ins> # has no tests doCheck = false;

homepage = "https://github.com/martinellimarco/indexed_zstd"; license = licenses.mit; maintainers = with lib.maintainers; [ mxmlnkn ]; <del> platforms = platforms.all; </del> }; }

{ lib , buildPythonPackage <del> , fetchgit </del> <ins> , fetchFromGitHub </ins> , pythonOlder , pytestCheckHook , indexed-bzip2 , indexed-gzip , indexed-zstd , python-xz <ins> , setuptools </ins> , rapidgzip , rarfile , zstandard     # Python bindings

buildPythonPackage rec { pname = "ratarmountcore"; <del> version = "0.6.0"; format = "setuptools"; </del> <ins> version = "0.6.3"; pyproject = true; </ins> disabled = pythonOlder "3.6"; <del> src = fetchgit { url = "https://github.com/mxmlnkn/ratarmount"; # The revision is hardcoded for now to fix problems with the tests, which are not worthy of a new release # tag because releases do not officially contain tests. On the next release, use the commented revision, # which points to a release tag, instead. #rev = "core-v${version}"; rev = "ea43572dfbac4770a27ef2169f72ff73ee4a4ae9"; hash = "sha256-sPApM5OW+UbujFXHSL4ptMaegajz7FNtXz/KftTlw+U="; </del> <ins> src = fetchFromGitHub { owner = "mxmlnkn"; repo = "ratarmount"; rev = "core-v${version}"; hash = "sha256-2jG066BUkhyHRqRyFAucQRJrjXQNw2ccCxERKkltO3Y="; </ins> fetchSubmodules = true; }; sourceRoot = "${src.name}/core"; <ins> nativeBuildInputs = [ setuptools ]; </ins> propagatedBuildInputs = [ indexed-gzip indexed-bzip2 indexed-zstd python-xz rapidgzip rarfile ]; pythonImportsCheck = [ "ratarmountcore" ]; nativeCheckInputs = [ pytestCheckHook zstandard zstd ]; <ins> disabledTestPaths = [ # Disable this test because for arcane reasons running pytest with nix-build uses 10-100x # more virtual memory than running the test directly or inside a local development nix-shell. # This virtual memory usage caused os.fork called by Python multiprocessing to fail with # "OSError: [Errno 12] Cannot allocate memory" on a test system with 16 GB RAM. It worked fine # on a system with 96 GB RAM. In order to avoid build errors on "low"-memory systems, this # test is disabled for now. "tests/test_BlockParallelReaders.py" ]; </ins> meta = with lib; { description = "Library for accessing archives by way of indexing"; homepage = "https://github.com/mxmlnkn/ratarmount/tree/master/core"; license = licenses.mit; maintainers = with lib.maintainers; [ mxmlnkn ]; <del> platforms = platforms.all; </del> }; }