forked from mirrors/nixpkgs
python3Packages.pytest-doctestplus: disable failing tests, update deps
This commit is contained in:
parent
348bd6d1f8
commit
70abdfac1e
|
@ -1,18 +1,17 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, six
|
||||
, pythonOlder
|
||||
, packaging
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-doctestplus";
|
||||
version = "0.10.1";
|
||||
disabled = isPy27; # abandoned upstream
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -22,19 +21,30 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
numpy
|
||||
packaging
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
|
||||
# __main__.py: error: unrecognized arguments: --remote-data
|
||||
"test_remote_data_url"
|
||||
"test_remote_data_float_cmp"
|
||||
"test_remote_data_ignore_whitespace"
|
||||
"test_remote_data_ellipsis"
|
||||
"test_remote_data_requires"
|
||||
"test_remote_data_ignore_warnings"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pytest plugin with advanced doctest features";
|
||||
homepage = "https://astropy.org";
|
||||
|
|
Loading…
Reference in a new issue