Loading pkgs/development/python-modules/mwxml/default.nix +15 −9 Original line number Diff line number Diff line Loading @@ -14,16 +14,17 @@ # tests pytestCheckHook, pythonAtLeast, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "mwxml"; version = "0.3.6"; version = "0.3.8"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-WlMYHTAhUq0D7FE/8Yaongx+H8xQx4MwRSoIcsqmOTU="; inherit (finalAttrs) pname version; hash = "sha256-yiIyqX6pMem7JPhbVKSRBYwjwHRXY3LnESRq+scGFuA="; }; build-system = [ setuptools ]; Loading @@ -38,7 +39,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # _pickle.PicklingError: Can't pickle local object <function map.<locals>.process_path at 0x7ffff580f480> "test_complex_error_handler" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # AttributeError: Can't get local object 'map.<locals>.process_path' "test_complex_error_handler" ]; Loading @@ -50,4 +56,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } }) pkgs/development/python-modules/para/default.nix +16 −8 Original line number Diff line number Diff line Loading @@ -3,28 +3,36 @@ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, # build-system setuptools, # tests pytestCheckHook, pythonOlder, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "para"; version = "0.0.8"; pyproject = true; src = fetchPypi { inherit pname version; inherit (finalAttrs) pname version; hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "para" ]; nativeCheckInputs = [ pytestCheckHook ]; doCheck = # AttributeError: Can't get local object 'test_output_queue_size.<locals>.get_the_a' doCheck = !stdenv.hostPlatform.isDarwin; (!stdenv.hostPlatform.isDarwin) # _pickle.PicklingError: Can't pickle local object <function test_map.<locals>.get_the_a at 0x7ffff5689fe0> && (pythonOlder "3.14"); meta = { description = "Set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks"; Loading @@ -32,4 +40,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } }) Loading
pkgs/development/python-modules/mwxml/default.nix +15 −9 Original line number Diff line number Diff line Loading @@ -14,16 +14,17 @@ # tests pytestCheckHook, pythonAtLeast, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "mwxml"; version = "0.3.6"; version = "0.3.8"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-WlMYHTAhUq0D7FE/8Yaongx+H8xQx4MwRSoIcsqmOTU="; inherit (finalAttrs) pname version; hash = "sha256-yiIyqX6pMem7JPhbVKSRBYwjwHRXY3LnESRq+scGFuA="; }; build-system = [ setuptools ]; Loading @@ -38,7 +39,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # _pickle.PicklingError: Can't pickle local object <function map.<locals>.process_path at 0x7ffff580f480> "test_complex_error_handler" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # AttributeError: Can't get local object 'map.<locals>.process_path' "test_complex_error_handler" ]; Loading @@ -50,4 +56,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } })
pkgs/development/python-modules/para/default.nix +16 −8 Original line number Diff line number Diff line Loading @@ -3,28 +3,36 @@ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, # build-system setuptools, # tests pytestCheckHook, pythonOlder, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "para"; version = "0.0.8"; pyproject = true; src = fetchPypi { inherit pname version; inherit (finalAttrs) pname version; hash = "sha256-RsMjKunY6p2IbP0IzdESiSICvthkX0C2JVWXukz+8hc="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "para" ]; nativeCheckInputs = [ pytestCheckHook ]; doCheck = # AttributeError: Can't get local object 'test_output_queue_size.<locals>.get_the_a' doCheck = !stdenv.hostPlatform.isDarwin; (!stdenv.hostPlatform.isDarwin) # _pickle.PicklingError: Can't pickle local object <function test_map.<locals>.get_the_a at 0x7ffff5689fe0> && (pythonOlder "3.14"); meta = { description = "Set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks"; Loading @@ -32,4 +40,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } })