diff options
author | Kai Wohlfahrt <kai.wohlfahrt@gmail.com> | 2019-11-08 15:45:16 +0000 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-09 11:04:28 -0800 |
commit | d602c56f475f270f4a8a3fde3060136181e9012f (patch) | |
tree | 9424b3ee5d932fe5a9cd4ace60cd95782bf6f2cd /pkgs/development/python-modules/black | |
parent | 8e1380b981fc8976a8071b7c4d3f269b5afa6969 (diff) |
python3Packages.black: 19.03b0 -> 19.10b0
Diffstat (limited to 'pkgs/development/python-modules/black')
-rw-r--r-- | pkgs/development/python-modules/black/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/black/default.nix b/pkgs/development/python-modules/black/default.nix index f17f94387f3e6..6a2ed87162b85 100644 --- a/pkgs/development/python-modules/black/default.nix +++ b/pkgs/development/python-modules/black/default.nix @@ -1,18 +1,20 @@ { stdenv, buildPythonPackage, fetchPypi, pythonOlder , attrs, click, toml, appdirs, aiohttp, aiohttp-cors -, glibcLocales, pytest }: +, glibcLocales, typed-ast, pathspec, regex +, setuptools_scm, pytest }: buildPythonPackage rec { pname = "black"; - version = "19.3b0"; + version = "19.10b0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "073kd5rs02lisp6n3h7yai9lix520xnaa6c7rdmp2sci9pyhz5b8"; + sha256 = "0f8mr0yzj78q1dx7v6ggbgfir2wv0n5z2shfbbvfdq7910xbgvf2"; }; + buildInputs = [ setuptools_scm ]; checkInputs = [ pytest glibcLocales ]; # Necessary for the tests to pass on Darwin with sandbox enabled. @@ -22,12 +24,11 @@ buildPythonPackage rec { # Don't know why these tests fails checkPhase = '' LC_ALL="en_US.UTF-8" pytest \ - --deselect tests/test_black.py::BlackTestCase::test_expression_diff \ --deselect tests/test_black.py::BlackTestCase::test_cache_multiple_files \ --deselect tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached ''; - propagatedBuildInputs = [ attrs appdirs click toml aiohttp aiohttp-cors ]; + propagatedBuildInputs = [ attrs appdirs click toml aiohttp aiohttp-cors pathspec regex typed-ast ]; meta = with stdenv.lib; { description = "The uncompromising Python code formatter"; |