Unverified Commit ff68beb4 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #329366 from dotlambda/python3Packages.pytest-flake8

python312Packages.pytest-flake8: 1.2.0 -> 1.2.2 and mark broken
parents 461108d2 b23dd56d
Loading
Loading
Loading
Loading
+4 −16
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

buildPythonPackage rec {
  pname = "pytest-flake8";
  version = "1.2.0";
  version = "1.2.2";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
    owner = "coherent-oss";
    repo = "pytest-flake8";
    rev = "refs/tags/v${version}";
    hash = "sha256-VNefGRB++FZFIGOS8Pyxbfe0zAXqwy+p6uERE70+CT4=";
    hash = "sha256-FsJysBj5S5HHGay+YZKMgb9RdUN637J+FfNl+m9l6ik=";
  };

  build-system = [ setuptools-scm ];
@@ -28,21 +28,9 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [
    # https://github.com/coherent-oss/pytest-flake8/issues/2
    "test_version"
    "test_default_flake8_ignores"
    "test_ignores_all"
    "test_w293w292"
    "test_mtime_caching"
    "test_ok_verbose"
    "test_keyword_match"
    "test_run_on_init_file"
    "test_unicode_error"
    "test_junit_classname"
  ];

  meta = {
    # https://github.com/coherent-oss/pytest-flake8/issues/3
    broken = lib.versionAtLeast flake8.version "6";
    changelog = "https://github.com/coherent-oss/pytest-flake8/blob/${src.rev}/NEWS.rst";
    description = "py.test plugin for efficiently checking PEP8 compliance";
    homepage = "https://github.com/coherent-oss/pytest-flake8";