forked from pool/python-isort
Accepting request 994358 from devel:languages:python
- remove unnecessary pylama buildrequires OBS-URL: https://build.opensuse.org/request/show/994358 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=35
This commit is contained in:
commit
3db7aca33f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 10 14:36:51 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- remove unnecessary pylama buildrequires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 28 17:55:23 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Mon Mar 28 17:55:23 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@ BuildRequires: %{python_module numpy}
|
|||||||
BuildRequires: %{python_module pip-api}
|
BuildRequires: %{python_module pip-api}
|
||||||
BuildRequires: %{python_module pipreqs}
|
BuildRequires: %{python_module pipreqs}
|
||||||
BuildRequires: %{python_module poetry}
|
BuildRequires: %{python_module poetry}
|
||||||
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}
|
||||||
BuildRequires: %{python_module toml >= 0.10.2}
|
BuildRequires: %{python_module toml >= 0.10.2}
|
||||||
@ -92,6 +91,8 @@ hypothesis.settings.register_profile(
|
|||||||
sed -i 's/natsort = "^/natsort = ">=/' example_isort_sorting_plugin/pyproject.toml
|
sed -i 's/natsort = "^/natsort = ">=/' example_isort_sorting_plugin/pyproject.toml
|
||||||
# unpin black in example plugin
|
# unpin black in example plugin
|
||||||
sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.toml
|
sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.toml
|
||||||
|
# don't test pylama plugin
|
||||||
|
sed -i '/import isort.pylama_isort/d' tests/unit/test_importable.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@ -110,6 +111,8 @@ sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.tom
|
|||||||
ignoretests="--ignore tests/integration/test_projects_using_isort.py"
|
ignoretests="--ignore tests/integration/test_projects_using_isort.py"
|
||||||
# don't run benchmarks
|
# don't run benchmarks
|
||||||
ignoretests+=" --ignore tests/benchmark"
|
ignoretests+=" --ignore tests/benchmark"
|
||||||
|
# no pylama in Ring1 desired
|
||||||
|
ignoretests+=" --ignore tests/unit/test_pylama_isort.py"
|
||||||
# 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)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user