python3Packages.black: 22.8.0 -> 22.10.0
- Support for python3.6 dropped. - Hatchling used as build backend. - Use `pyproject` format. There is no setup.py. https://github.com/psf/black/releases/tag/22.10.0
This commit is contained in:
parent
d29ad7dd85
commit
2bbee74418
1 changed files with 12 additions and 5 deletions
|
@ -3,12 +3,14 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools-scm
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aiohttp-cors
|
, aiohttp-cors
|
||||||
, click
|
, click
|
||||||
, colorama
|
, colorama
|
||||||
|
, hatch-fancy-pypi-readme
|
||||||
|
, hatch-vcs
|
||||||
|
, hatchling
|
||||||
, mypy-extensions
|
, mypy-extensions
|
||||||
, pathspec
|
, pathspec
|
||||||
, parameterized
|
, parameterized
|
||||||
|
@ -21,16 +23,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "black";
|
pname = "black";
|
||||||
version = "22.8.0";
|
version = "22.10.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-eS9+tUC6mhfoZWU4cB0+sa/LE047RbcfILJcd6jbfm4=";
|
hash = "sha256-9RNYjaWZlD4M3k4yzJh56CXVhyDWVXBi0QmMWtgAgOE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [
|
||||||
|
hatch-fancy-pypi-readme
|
||||||
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
# Necessary for the tests to pass on Darwin with sandbox enabled.
|
# Necessary for the tests to pass on Darwin with sandbox enabled.
|
||||||
# Black starts a local server and needs to bind a local address.
|
# Black starts a local server and needs to bind a local address.
|
||||||
|
|
Loading…
Reference in a new issue