guix-patches
[Top][All Lists]
Advanced

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

[bug#70570] [PATCH 1/2] guix: import: pypi: Ignore pypi-ignored-inputs.


From: Lars-Dominik Braun
Subject: [bug#70570] [PATCH 1/2] guix: import: pypi: Ignore pypi-ignored-inputs.
Date: Fri, 26 Apr 2024 10:26:28 +0200

Hi,

> +(define pypi-ignored-inputs
> +  ;; This list contains packages that are useful for development or quality
> +  ;; testing, but that most of the time are not necessary to have as an 
> input.
> +  (list "argparse"  ; native
> +        "codecov" "coverage"  ; coverage
> +        "black" "isort" "pycodestyle" "pep8"  ; style
> +        "pyflakes" "flake8" "pylint" "mypy"  ; style+lint
> +        "coveralls" "twine"  ; upload integration tools
> +        "pytest-isort" "pytest-flake8" "pytest-cov" "pytest-black"
> +        "pytest-pep8" "pytest-mypy" "pytest-pep8" "pre-commit"))  ; variants

> +  (let ((input-names (append
> +                      '("python-setuptools"
> +                        "python-pip"
> +                        "python-pre-commit")
> +                      pypi-ignored-inputs)))

we should remove python-setuptools from this list now (since it actually
should be an input on the python-team branch), python-pre-commit is
also part of pypi-ignored-inputs and maybe we can just add pip to
pypi-ignored-inputs and use only that list?

Also note that check-inputs-should-not-be-an-input-at-all expects Guix
package names (with python- prefix), whereas pypi-ignored-inputs uses
Python package names, so you probably want to (map (cut (string-append
"python-" <>) …) (or similar) here.

Lars






reply via email to

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