bonfire: fix build with pytest 4
This commit is contained in:
parent
9e36f82367
commit
59d07914da
|
@ -30,7 +30,12 @@ buildPythonApplication rec {
|
|||
--replace "data_files = *.rst, *.txt" ""
|
||||
'';
|
||||
|
||||
buildInputs = [ httpretty pytest_3 pytestcov ];
|
||||
buildInputs = [ httpretty pytest pytestcov ];
|
||||
|
||||
preCheck = ''
|
||||
# fix compatibility with pytest 4
|
||||
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ arrow click keyring parsedatetime requests six termcolor ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue