From 9b0ec3826d3603c30a5afcb4d0396cf7170b4bb440364880ae971ca854afea8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 11 Aug 2020 09:14:41 +0000 Subject: [PATCH] Accepting request 825718 from home:bnavigator:branches:devel:languages:python - Update to version 4.0.0 * support isort >= 5 [bnavigator, pkolbus] - Update to version 3.0.1 * Work around FailedToLoadPlugin exception by requiring isort 4.x. Likewise, pin the major version of all dependencies, to reduce risk of any future incompatibilities. [pkolbus] - Update to version 3.0.0 * Let isort search the configuration, rather than flake8-isort try to find it. [jnns] OBS-URL: https://build.opensuse.org/request/show/825718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-isort?expand=0&rev=3 --- flake8-isort-2.9.1.tar.gz | 3 --- flake8-isort-4.0.0.tar.gz | 3 +++ python-flake8-isort.changes | 17 +++++++++++++++++ python-flake8-isort.spec | 10 ++++++---- 4 files changed, 26 insertions(+), 7 deletions(-) delete mode 100644 flake8-isort-2.9.1.tar.gz create mode 100644 flake8-isort-4.0.0.tar.gz diff --git a/flake8-isort-2.9.1.tar.gz b/flake8-isort-2.9.1.tar.gz deleted file mode 100644 index acdf352..0000000 --- a/flake8-isort-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d34b266080e1748412b203a1690792245011706b1858c203476b43460bf3652 -size 16116 diff --git a/flake8-isort-4.0.0.tar.gz b/flake8-isort-4.0.0.tar.gz new file mode 100644 index 0000000..4d1c62d --- /dev/null +++ b/flake8-isort-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b91300f4f1926b396c2c90185844eb1a3d5ec39ea6138832d119da0a208f4d9 +size 17548 diff --git a/python-flake8-isort.changes b/python-flake8-isort.changes index 662ae11..90b217a 100644 --- a/python-flake8-isort.changes +++ b/python-flake8-isort.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Aug 11 08:16:08 UTC 2020 - Benjamin Greiner + +- Update to version 4.0.0 + * support isort >= 5 [bnavigator, pkolbus] + +------------------------------------------------------------------- +Mon Jul 13 16:53:36 UTC 2020 - Benjamin Greiner + +- Update to version 3.0.1 + * Work around FailedToLoadPlugin exception by requiring isort 4.x. + Likewise, pin the major version of all dependencies, to reduce + risk of any future incompatibilities. [pkolbus] +- Update to version 3.0.0 + * Let isort search the configuration, rather than flake8-isort + try to find it. [jnns] + ------------------------------------------------------------------- Sat Apr 11 07:07:09 UTC 2020 - Tomáš Chvátal diff --git a/python-flake8-isort.spec b/python-flake8-isort.spec index a782773..78d41de 100644 --- a/python-flake8-isort.spec +++ b/python-flake8-isort.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-isort -Version: 2.9.1 +Version: 4.0.0 Release: 0 Summary: Plugin integrating isort in flake8 License: GPL-2.0-only @@ -30,6 +30,7 @@ BuildRequires: %{python_module isort >= 4.3.5} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testfixtures} +BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-flake8 >= 3.2.1 @@ -52,12 +53,13 @@ Use `isort`_ to check if the imports on your python files are sorted the way you %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# the three skipped tests need to have the extension registered in the flake8 -> same sitelib -%pytest run_tests.py -k 'not (test_config_file or test_default_option or test_isort_uses_pyproject)' +%pytest %files %{python_files} %doc README.rst CHANGES.rst %license LICENSE* -%{python_sitelib}/* +%{python_sitelib}/flake8_isort.py* +%pycache_only %{python_sitelib}/__pycache__/flake8_isort* +%{python_sitelib}/flake8_isort-%{version}-py*.egg-info %changelog