gnu: python-astroid: Update to 2.6.6.

* gnu/packages/python-xyz.scm (python-astroid): Update to 2.6.6.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-dateutil.
This commit is contained in:
Efraim Flashner 2021-08-09 15:11:02 +03:00
parent daca9aeb06
commit 23d0007e9a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -17080,29 +17080,24 @@ happens using the @code{logging} library.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public python-astroid (define-public python-astroid
(let ((revision "1")
(commit "5f67396894c79c4661e357ec8bb03aa134a51109"))
(package (package
(name "python-astroid") (name "python-astroid")
(version (git-version "2.4.2" revision commit)) (version "2.6.6")
(source (source
(origin (origin
;; The current 2.4.2 release doesn't support Python 3.9.
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/PyCQA/astroid") (url "https://github.com/PyCQA/astroid")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1ir5716wqgz39jva7x9chhjy41yi3n7fkymb8snh5giwig8kyipk")))) (base32 "1amzf996inwmh4r3mlpzmch60xs6lrg86vppfnwl1y0l8r0y7zxh"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python-lazy-object-proxy" ,python-lazy-object-proxy) `(("python-lazy-object-proxy" ,python-lazy-object-proxy)
("python-six" ,python-six)
("python-wrapt" ,python-wrapt))) ("python-wrapt" ,python-wrapt)))
(native-inputs (native-inputs
`(("python-dateutil" ,python-dateutil) `(("python-pytest" ,python-pytest)
("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner))) ("python-pytest-runner" ,python-pytest-runner)))
(home-page "https://github.com/PyCQA/astroid") (home-page "https://github.com/PyCQA/astroid")
(synopsis "Common base representation of python source code for pylint and (synopsis "Common base representation of python source code for pylint and
@ -17117,7 +17112,7 @@ additional methods and attributes for different usages. They include some
support for static inference and local name scopes. Furthermore, astroid support for static inference and local name scopes. Furthermore, astroid
builds partial trees by inspecting living objects.") builds partial trees by inspecting living objects.")
(license license:lgpl2.1+) (license license:lgpl2.1+)
(properties `((python2-variant . ,(delay python2-astroid))))))) (properties `((python2-variant . ,(delay python2-astroid))))))
(define-public python2-astroid (define-public python2-astroid
(let ((base (package-with-python2 (let ((base (package-with-python2