guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/21: gnu: python-pylint: Update to 2.9.6.


From: guix-commits
Subject: 21/21: gnu: python-pylint: Update to 2.9.6.
Date: Mon, 9 Aug 2021 08:29:10 -0400 (EDT)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit 36cb285d61f99bbaa8f6e84e0ddeac3f788a2e16
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Aug 9 15:18:39 2021 +0300

    gnu: python-pylint: Update to 2.9.6.
    
    * gnu/packages/check.scm (python-pylint): Update to 2.9.6.
    [arguments]: Remove field.
    [native-inputs]: Remove python-tox.
    [propagated-inputs]: Remove python-six.
---
 gnu/packages/check.scm | 25 ++++---------------------
 1 file changed, 4 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index adc81ff..9cd5372 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2163,42 +2163,25 @@ statements in the module it tests.")
 (define-public python-pylint
   (package
     (name "python-pylint")
-    (version "2.6.0")
+    (version "2.9.6")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/PyCQA/pylint";)
-             (commit (string-append "pylint-" version))))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ws3dz3wm49brnhhfm7v75zq202pwlwfbi3njdd69aqxq912x15z"))))
+        (base32 "15yw69v1cj6zkndk60c2g0dgl0khh8bfm1lrwhjffpdjfc7nkc9a"))))
     (build-system python-build-system)
-    (arguments
-     `(#:tests? #t
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; The following failing tests are skipped (see:
-               ;; https://github.com/PyCQA/pylint/issues/4068).
-               (invoke "pytest" "-k"
-                       (string-append
-                        "not unused_typing_imports "
-                        "and not star_needs_assignment_target_py35 "
-                        "and not regression_property_no_member_2641 "
-                        "and not missing_kwoa_py3"))))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)
        ("python-pytest-benchmark" ,python-pytest-benchmark)
-       ("python-pytest-runner" ,python-pytest-runner)
-       ("python-tox" ,python-tox)))
+       ("python-pytest-runner" ,python-pytest-runner)))
     (propagated-inputs
      `(("python-astroid" ,python-astroid)
        ("python-isort" ,python-isort)
        ("python-mccabe" ,python-mccabe)
-       ("python-six" ,python-six)
        ("python-toml" ,python-toml)))
     (home-page "https://github.com/PyCQA/pylint";)
     (synopsis "Python source code analyzer which looks for coding standard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]