15
0

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
This commit is contained in:
Tomáš Chvátal
2020-08-11 09:14:41 +00:00
committed by Git OBS Bridge
parent 1ec6c224fb
commit 9b0ec3826d
4 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d34b266080e1748412b203a1690792245011706b1858c203476b43460bf3652
size 16116

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b91300f4f1926b396c2c90185844eb1a3d5ec39ea6138832d119da0a208f4d9
size 17548

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Aug 11 08:16:08 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to version 4.0.0
* support isort >= 5 [bnavigator, pkolbus]
-------------------------------------------------------------------
Mon Jul 13 16:53:36 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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 <tchvatal@suse.com>

View File

@@ -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