python3Packages.pytest-mpl: fix build
This commit is contained in:
parent
a3c257c38f
commit
437f2c747b
|
@ -1,7 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, setuptools-scm
|
||||||
, pytest
|
, pytest
|
||||||
|
, jinja2
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, nose
|
, nose
|
||||||
, pillow
|
, pillow
|
||||||
|
@ -17,11 +19,18 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-iE4HjS1TgK9WQzhOIzw1jpZZgl+y2X/9r48YXENMjYk=";
|
sha256 = "sha256-iE4HjS1TgK9WQzhOIzw1jpZZgl+y2X/9r48YXENMjYk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pytest
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION=version;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
jinja2
|
||||||
matplotlib
|
matplotlib
|
||||||
nose
|
nose
|
||||||
pillow
|
pillow
|
||||||
|
@ -31,12 +40,18 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Broken since b6e98f18950c2b5dbdc725c1181df2ad1be19fee
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
# Broken since b6e98f18950c2b5dbdc725c1181df2ad1be19fee
|
||||||
"test_hash_fails"
|
"test_hash_fails"
|
||||||
"test_hash_missing"
|
"test_hash_missing"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Following are broken since at least a1548780dbc79d76360580691dc1bb4af4e837f6
|
||||||
|
"tests/subtests/test_subtest.py"
|
||||||
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
mkdir -p $HOME/.config/matplotlib
|
mkdir -p $HOME/.config/matplotlib
|
||||||
|
|
Loading…
Reference in a new issue