python3Packages.isort: 5.6.4 → 5.9.3

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2021-08-02 23:08:05 -07:00 committed by Martin Weinelt
parent 7fcb39704b
commit 1ff1034e25

View file

@ -6,17 +6,16 @@
, pytestCheckHook , pytestCheckHook
}: }:
let buildPythonPackage rec {
in buildPythonPackage rec {
pname = "isort"; pname = "isort";
version = "5.6.4"; version = "5.9.3";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PyCQA"; owner = "PyCQA";
repo = "isort"; repo = "isort";
rev = version; rev = version;
sha256 = "1m7jpqssnbsn1ydrw1dn7nrcrggqcvj9v6mk5ampxmvk94xd2r2q"; sha256 = "sha256-JbRZ/3Xz35tGoCNnQesR08Sjoz3yimxZyxhhOXGvmXw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -46,6 +45,7 @@ in buildPythonPackage rec {
''; '';
pytestFlagsArray = [ pytestFlagsArray = [
"--ignore=tests/benchmark/" # requires pytest-benchmark
"--ignore=tests/integration/" # pulls in 10 other packages "--ignore=tests/integration/" # pulls in 10 other packages
"--ignore=tests/unit/profiles/test_black.py" # causes infinite recursion to include black "--ignore=tests/unit/profiles/test_black.py" # causes infinite recursion to include black
]; ];
@ -63,6 +63,7 @@ in buildPythonPackage rec {
# plugin not available # plugin not available
"test_isort_literals_issue_1358" "test_isort_literals_issue_1358"
"test_isort_supports_formatting_plugins_issue_1353" "test_isort_supports_formatting_plugins_issue_1353"
"test_sort_configurable_sort_issue_1732"
"test_value_assignment_list" "test_value_assignment_list"
# profiles not available # profiles not available
"test_isort_supports_shared_profiles_issue_970" "test_isort_supports_shared_profiles_issue_970"