3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pytest-black: 0.3.7 -> 0.3.8

This commit is contained in:
Jonathan Ringer 2020-02-10 14:00:04 -08:00 committed by Jon
parent 1a297c817f
commit facdac01c7
2 changed files with 2 additions and 16 deletions

View file

@ -1,13 +0,0 @@
diff --git a/setup.py b/setup.py
index 5c9ce5f..84b148a 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,6 @@ setup(
python_requires=">=2.7",
install_requires=[
"pytest>=3.5.0",
- 'black==19.3b0; python_version >= "3.6"',
+ 'black; python_version >= "3.6"',
"toml",
],
use_scm_version=True,

View file

@ -7,14 +7,13 @@
buildPythonPackage rec {
pname = "pytest-black";
version = "0.3.7";
version = "0.3.8";
src = fetchPypi {
inherit pname version;
sha256 = "03gwwy1h3qnfh6vpfhgsa5ag53a9sw1g42sc2s8a2hilwb7yrfvm";
sha256 = "04lppqydxm0f3f3x0l8hj7v0j6d8syj34jc37yzqwqcyqsnaga81";
};
patches = [ ./black-version.patch ];
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ black pytest toml ];