OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=88
This commit is contained in:
parent
fecedaab51
commit
4b602977a4
@ -44,7 +44,6 @@ Requires(postun):update-alternatives
|
|||||||
Recommends: python-colorama >= 0.4.3
|
Recommends: python-colorama >= 0.4.3
|
||||||
Recommends: python-pip-api
|
Recommends: python-pip-api
|
||||||
Recommends: python-pipreqs
|
Recommends: python-pipreqs
|
||||||
Recommends: python-requirementslib
|
|
||||||
Suggests: git
|
Suggests: git
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@ -60,8 +59,6 @@ BuildRequires: %{python_module poetry}
|
|||||||
BuildRequires: %{python_module pylama}
|
BuildRequires: %{python_module pylama}
|
||||||
BuildRequires: %{python_module pytest > 6.0}
|
BuildRequires: %{python_module pytest > 6.0}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
# requirementslib not ready for python 3.9 yet -- gh#sarugaku/requirementslib#288
|
|
||||||
BuildRequires: %{python_module requirementslib >= 1.5 if %python-base < 3.9}
|
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
%endif
|
%endif
|
||||||
@ -110,10 +107,10 @@ ignoretests+=" --ignore tests/benchmark"
|
|||||||
# test_setting_combinations.py::test_isort_is_idempotent
|
# test_setting_combinations.py::test_isort_is_idempotent
|
||||||
# is flaky https://github.com/PyCQA/isort/issues/1466
|
# is flaky https://github.com/PyCQA/isort/issues/1466
|
||||||
donttest="(test_setting_combinations and test_isort_is_idempotent)"
|
donttest="(test_setting_combinations and test_isort_is_idempotent)"
|
||||||
# requirementslib is not available yet for python39 or greater
|
# requirementslib is not available yet for python 3.9 or greater,
|
||||||
|
# it's a deprecated finder for isort so we drop it
|
||||||
# https://github.com/sarugaku/requirementslib/issues/288
|
# https://github.com/sarugaku/requirementslib/issues/288
|
||||||
python39_donttest=" or (test_deprecated_finders and test_pipfile_finder)"
|
donttest+=" or (test_deprecated_finders and test_pipfile_finder)"
|
||||||
python310_donttest="${python39_donttest}"
|
|
||||||
|
|
||||||
ORIGPATH=$PATH
|
ORIGPATH=$PATH
|
||||||
%{python_expand # install isort and required example projects into custom root
|
%{python_expand # install isort and required example projects into custom root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user