python312Packages.para: disable tests on darwin (#386109)

This commit is contained in:
Nick Cao
2025-03-01 17:20:47 -05:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
jsonschema,
@@ -31,6 +32,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "mwxml" ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# AttributeError: Can't get local object 'map.<locals>.process_path'
"test_complex_error_handler"
];
meta = {
description = "Set of utilities for processing MediaWiki XML dump data";
mainProgram = "mwxml";
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
@@ -22,6 +23,9 @@ buildPythonPackage rec {
pythonImportsCheck = [ "para" ];
# AttributeError: Can't get local object 'test_output_queue_size.<locals>.get_the_a'
doCheck = !stdenv.hostPlatform.isDarwin;
meta = {
description = "Set utilities that ake advantage of python's 'multiprocessing' module to distribute CPU-intensive tasks";
homepage = "https://pypi.org/project/para";