mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
python311Packages.in-n-out: disable failing tests on Python 3.11
This commit is contained in:
parent
24d0a228a0
commit
92863b70b9
@ -4,9 +4,11 @@
|
||||
, fetchPypi
|
||||
, future
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, toolz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -33,12 +35,21 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
toolz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"in_n_out"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.11") [
|
||||
# Fatal Python error
|
||||
"tests/test_injection.py"
|
||||
"tests/test_processors.py"
|
||||
"tests/test_providers.py"
|
||||
"tests/test_store.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for dependency injection and result processing";
|
||||
homepage = "https://app-model.readthedocs.io/";
|
||||
|
Loading…
Reference in New Issue
Block a user