Archived
1
0
Fork 0

Revert "gnu: python-pylint: Udpate to 2.5.2."

This update broke 'Totem', see <https://bugs.gnu.org/41620>.

This reverts commit c2e19b6291.
This commit is contained in:
Marius Bakke 2020-05-30 23:09:29 +02:00
parent fb872fdf63
commit 29334165ff
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1887,10 +1887,12 @@ unit tests and failing them if the unit test module does not exercise all
statements in the module it tests.") statements in the module it tests.")
(license license:gpl3+))) (license license:gpl3+)))
;; Further releases, up to 2.4.3, have failing unit tests. See:
;; https://github.com/PyCQA/pylint/issues/3198.
(define-public python-pylint (define-public python-pylint
(package (package
(name "python-pylint") (name "python-pylint")
(version "2.5.2") (version "2.3.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1900,11 +1902,8 @@ statements in the module it tests.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"150x679mrlgm1s4ym7irf9mnsjilqyaakss4spc4pbrzkl11agnh")))) "17vvzbcqmkhr4icq5p3737nbiiyj1y3g1pa08n9mb1bsnvxmqq0z"))))
(build-system python-build-system) (build-system python-build-system)
;; FIXME: Tests are failing since version 2.4.3, see:
;; https://github.com/PyCQA/pylint/issues/3198.
(arguments '(#:tests? #f))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) `(("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner) ("python-pytest-runner" ,python-pytest-runner)
@ -1946,7 +1945,7 @@ possible to write plugins to add your own checks.")
(base32 (base32
"02a89d8a47s7nfiv1ady3j0sg2sbyja3np145brarfp5x9qxz9x2")))) "02a89d8a47s7nfiv1ady3j0sg2sbyja3np145brarfp5x9qxz9x2"))))
(arguments (arguments
`(,@(strip-keyword-arguments '(#:tests?) (package-arguments pylint)) `(,@(package-arguments pylint)
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check