summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyflakes/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyflakes/default.nix')
-rw-r--r--pkgs/development/python-modules/pyflakes/default.nix28
1 files changed, 9 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/pyflakes/default.nix b/pkgs/development/python-modules/pyflakes/default.nix
index 04534f99c58d..a7a1b1907c61 100644
--- a/pkgs/development/python-modules/pyflakes/default.nix
+++ b/pkgs/development/python-modules/pyflakes/default.nix
@@ -2,8 +2,6 @@
lib,
buildPythonPackage,
isPyPy,
- pythonAtLeast,
- pythonOlder,
fetchFromGitHub,
setuptools,
pytestCheckHook,
@@ -11,34 +9,26 @@
buildPythonPackage rec {
pname = "pyflakes";
- version = "3.2.0";
-
- disabled = pythonOlder "3.8";
-
+ version = "3.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "PyCQA";
repo = "pyflakes";
rev = version;
- hash = "sha256-ouCkkm9OrYob00uLTilqgWsTWfHhzaiZp7sa2C5liqk=";
+ hash = "sha256-nNug9EZ0coI095/QJu/eK1Ozlt01INT+mLlYdqrJuzE=";
};
- nativeBuildInputs = [ setuptools ];
+ build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
- disabledTests =
- lib.optionals (pythonAtLeast "3.13") [
- # https://github.com/PyCQA/pyflakes/issues/812
- "test_errors_syntax"
- ]
- ++ lib.optionals isPyPy [
- # https://github.com/PyCQA/pyflakes/issues/779
- "test_eofSyntaxError"
- "test_misencodedFileUTF8"
- "test_multilineSyntaxError"
- ];
+ disabledTests = lib.optionals isPyPy [
+ # https://github.com/PyCQA/pyflakes/issues/779
+ "test_eofSyntaxError"
+ "test_misencodedFileUTF8"
+ "test_multilineSyntaxError"
+ ];
pythonImportsCheck = [ "pyflakes" ];