gnu: Remove python-distutils/next.

* gnu/packages/python-xyz.scm (python-distutils/next): Remove variable.
(python-virtualenv)[propagated-inputs]: Switch from
python-distutils/next to python-distutils.
* gnu/packages/version-control.scm (pre-commit)[inputs]: Same.
This commit is contained in:
Efraim Flashner 2021-08-09 17:42:14 +03:00
parent 5b6ac91ee4
commit 1d5d115e76
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 5 additions and 20 deletions

View file

@ -3702,7 +3702,7 @@ (define-public python-virtualenv
("python-setuptools-scm" ,python-setuptools-scm)))
(propagated-inputs
`(("python-appdirs" ,python-appdirs)
("python-distlib" ,python-distlib/next)
("python-distlib" ,python-distlib)
("python-filelock" ,python-filelock)
("python-six" ,python-six)))
(home-page "https://virtualenv.pypa.io/")
@ -6231,19 +6231,6 @@ (define-public python-distlib
used as the basis for third-party packaging tools.")
(license license:psfl)))
;; TODO: Merge with 'python-distlib' on the next rebuild cycle.
(define-public python-distlib/next
(package
(inherit python-distlib)
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "distlib" version ".zip"))
(sha256
(base32
"1wdzv7fsjhrkhh1wfkarlhcwa8m00mgcpdsvknmf2qy8f9l13xpd"))))))
(define-public python-distutils-extra
(package
(name "python-distutils-extra")

View file

@ -1560,16 +1560,14 @@ (define-public pre-commit
;; Ruby and Node tests require node and gem.
"--ignore=tests/languages/node_test.py"
"--ignore=tests/languages/ruby_test.py"
;; FIXME: Python tests fail because of distlib version
;; mismatch. Even with python-distlib/next it is
;; pulling version 0.3.0, while 0.3.1 is required.
"--ignore=tests/languages/python_test.py" "-k"
"-k"
(string-append
;; TODO: these tests fail with AssertionError. It may
;; be possible to fix them.
"not test_install_existing_hooks_no_overwrite"
" and not test_uninstall_restores_legacy_hooks"
" and not test_installed_from_venv")))))
" and not test_installed_from_venv"
" and not test_healthy_venv_creator")))))
(add-before 'reset-gzip-timestamps 'make-gz-writable
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure .gz files are writable so that the
@ -1581,7 +1579,7 @@ (define-public pre-commit
`(("git" ,git-minimal)
("python-covdefaults" ,python-covdefaults)
("python-coverage" ,python-coverage)
("python-distlib" ,python-distlib/next)
("python-distlib" ,python-distlib)
("python-pytest" ,python-pytest)
("python-pytest-env" ,python-pytest-env)
("python-re-assert" ,python-re-assert)