mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
bonfire: fix build with pytest 4
This commit is contained in:
parent
9e36f82367
commit
59d07914da
1 changed files with 6 additions and 1 deletions
|
@ -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