From a6eb6f18ec12878c3dd15ea9bdc0ae5b1eb49f5668d84d8f773d9dd5568b5be2 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 10 Aug 2022 15:09:00 +0000 Subject: [PATCH] remove pylama test import OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=97 --- python-isort.changes | 5 +++++ python-isort.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-isort.changes b/python-isort.changes index 008ac2b..4959ae2 100644 --- a/python-isort.changes +++ b/python-isort.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 10 14:36:51 UTC 2022 - Dirk Müller + +- remove unnecessary pylama buildrequires + ------------------------------------------------------------------- Mon Mar 28 17:55:23 UTC 2022 - Ben Greiner diff --git a/python-isort.spec b/python-isort.spec index 8660847..050c1dc 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -92,6 +92,8 @@ hypothesis.settings.register_profile( sed -i 's/natsort = "^/natsort = ">=/' example_isort_sorting_plugin/pyproject.toml # unpin black in example plugin 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 %pyproject_wheel @@ -110,6 +112,8 @@ sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.tom ignoretests="--ignore tests/integration/test_projects_using_isort.py" # don't run benchmarks ignoretests+=" --ignore tests/benchmark" +# no pylama +ignoretests+=" --ignore tests/unit/test_pylama_isort.py" # test_setting_combinations.py::test_isort_is_idempotent # is flaky https://github.com/PyCQA/isort/issues/1466 donttest="(test_setting_combinations and test_isort_is_idempotent)"