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