[packages/flake8] explicit runtime deps on python-{entrypoints,mccabe,pycodestyle,pyflakes}; rel 3

Elan Ruusamäe glen at pld-linux.org
Tue Mar 2 10:38:11 CET 2021


On 01.03.2021 18:53, atler wrote:

> commit 9c7664000af796dea8cd3794ae3ac37ff08274bb
> Author: Jan Palus <atler at pld-linux.org>
> Date:   Mon Mar 1 17:52:20 2021 +0100
>
>      explicit runtime deps on python-{entrypoints,mccabe,pycodestyle,pyflakes}; rel 3
>      
>      ...because poldek cannot handle boolean dep
>
>   flake8.spec | 18 +++++++++++++++++-
>   1 file changed, 17 insertions(+), 1 deletion(-)
> ---
> diff --git a/flake8.spec b/flake8.spec
> index 5dbcb6f..5ddc216 100644
> --- a/flake8.spec
> +++ b/flake8.spec
> @@ -9,7 +9,7 @@ Summary:	The modular source code checker: pycodestyle, pyflakes and co
>   Summary(pl.UTF-8):	Modularne narzędzie do sprawdzania kodu źródłowego: pycodestyle, pyflakes itp.
>   Name:		flake8
>   Version:	3.7.9
> -Release:	2
> +Release:	3
>   License:	MIT
>   Group:		Development/Tools
>   #Source0Download: https://pypi.org/simple/flake8/
> @@ -85,7 +85,15 @@ dla narzędzi:
>   Summary:	The modular source code checker: pycodestyle, pyflakes and co
>   Summary(pl.UTF-8):	Modularne narzędzie do sprawdzania kodu źródłowego: pycodestyle, pyflakes itp.
>   Group:		Libraries/Python
> +Requires:	python-entrypoints >= 0.3
> +Requires:	python-entrypoints < 0.4
> +Requires:	python-mccabe >= 0.6.0
> +Requires:	python-mccabe < 0.7.0
>   Requires:	python-modules >= 1:2.7
> +Requires:	python-pycodestyle >= 2.5.0
> +Requires:	python-pycodestyle < 2.6.0
> +Requires:	python-pyflakes >= 2.1.0
> +Requires:	python-pyflakes < 2.2.0
>   

what is boolean dep? can't see any match from here:

- https://www.pld-linux.org/packages/rpm


from what you solving, seems a dependency generator issue to me

i  think it's still better to fix dependency generator than again start 
to manually fill dependencies,

and then those get outdated very soon.



More information about the pld-devel-en mailing list