python310Packages.pytest-doctestplus: 0.11.2 -> 0.12.1

This commit is contained in:
Fabian Affolter 2022-11-01 14:22:54 +01:00
parent ced197be72
commit 277bd868d9

View file

@ -1,6 +1,5 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchPypi , fetchPypi
, packaging , packaging
, pytest , pytest
@ -11,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-doctestplus"; pname = "pytest-doctestplus";
version = "0.11.2"; version = "0.12.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f393adf659709a5f111d6ca190871c61808a6f3611bd0a132e27e93b24dd3448"; hash = "sha256-epeeS+mdkRbgesBmxfANRfOHZ319d5877zDG/6jHkYE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -37,15 +36,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
patches = [
# Removal of distutils, https://github.com/astropy/pytest-doctestplus/pull/172
(fetchpatch {
name = "distutils-removal.patch";
url = "https://github.com/astropy/pytest-doctestplus/commit/ae2ee14cca0cde0fab355936995fa083529b00ff.patch";
sha256 = "sha256-uryKV7bWw2oz0glyh2lpGqtDPFvRTo8RmI1N1n15/d4=";
})
];
disabledTests = [ disabledTests = [
# ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] # ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
# __main__.py: error: unrecognized arguments: --remote-data # __main__.py: error: unrecognized arguments: --remote-data