mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
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 New Issue
Block a user