python312Packages.para: disable tests on darwin (#386109)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user