From 24825145d1eb158f4b5c80316971c175eb0a9809b6a00f8beeea8bc8599be4fb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Dec 2023 17:52:04 +0000 Subject: [PATCH] - update to 6.1.1: * Switch from `setup.cfg` to `setup.py`. * Switch from `setuptools` to `hatchling`. * Drop python 3.7 support. * Add preliminary support to Python 3.12. - update to 4.2.0 * 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] try to find it. [jnns] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-isort?expand=0&rev=10 --- flake8-isort-6.0.0.tar.gz | 3 --- flake8_isort-6.1.1.tar.gz | 3 +++ python-flake8-isort.changes | 19 ++++++++++++++----- python-flake8-isort.spec | 19 ++++++++++--------- 4 files changed, 27 insertions(+), 17 deletions(-) delete mode 100644 flake8-isort-6.0.0.tar.gz create mode 100644 flake8_isort-6.1.1.tar.gz diff --git a/flake8-isort-6.0.0.tar.gz b/flake8-isort-6.0.0.tar.gz deleted file mode 100644 index 52c7fa4..0000000 --- a/flake8-isort-6.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:537f453a660d7e903f602ecfa36136b140de279df58d02eb1b6a0c84e83c528c -size 16063 diff --git a/flake8_isort-6.1.1.tar.gz b/flake8_isort-6.1.1.tar.gz new file mode 100644 index 0000000..467c69d --- /dev/null +++ b/flake8_isort-6.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1f82f3cf06a80c13e1d09bfae460e9666255d5c780b859f19f8318d420370b3 +size 17664 diff --git a/python-flake8-isort.changes b/python-flake8-isort.changes index f7533c7..9baae73 100644 --- a/python-flake8-isort.changes +++ b/python-flake8-isort.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Dec 5 17:51:46 UTC 2023 - Dirk Müller + +- update to 6.1.1: + * Switch from `setup.cfg` to `setup.py`. + * Switch from `setuptools` to `hatchling`. + * Drop python 3.7 support. + * Add preliminary support to Python 3.12. + ------------------------------------------------------------------- Mon Jan 2 16:41:48 UTC 2023 - Dirk Müller @@ -20,7 +29,7 @@ Mon Jan 2 16:41:48 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Wed Oct 12 03:22:12 UTC 2022 - Yogalakshmi Arunachalam -- update to 4.2.0 +- update to 4.2.0 * Fix compatibility with flake8 version 5. ------------------------------------------------------------------- @@ -41,12 +50,12 @@ Tue Aug 11 08:16:08 UTC 2020 - Benjamin Greiner 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] + * 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] + 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 7064a95..84c2d73 100644 --- a/python-flake8-isort.spec +++ b/python-flake8-isort.spec @@ -16,22 +16,23 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%global skip_python2 1 +%{?sle15_python_module_pythons} Name: python-flake8-isort -Version: 6.0.0 +Version: 6.1.1 Release: 0 Summary: Plugin integrating isort in flake8 License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/gforcada/flake8-isort -Source: https://files.pythonhosted.org/packages/source/f/flake8-isort/flake8-isort-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/flake8-isort/flake8_isort-%{version}.tar.gz BuildRequires: %{python_module flake8} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module isort >= 4.3.5} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testfixtures} BuildRequires: %{python_module toml} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-flake8 @@ -44,13 +45,13 @@ BuildArch: noarch Use `isort`_ to check if the imports on your python files are sorted the way you expect. %prep -%setup -q -n flake8-isort-%{version} +%setup -q -n flake8_isort-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -61,6 +62,6 @@ Use `isort`_ to check if the imports on your python files are sorted the way you %license LICENSE* %{python_sitelib}/flake8_isort.py* %pycache_only %{python_sitelib}/__pycache__/flake8_isort* -%{python_sitelib}/flake8_isort-%{version}-py*.egg-info +%{python_sitelib}/flake8_isort-%{version}.dist-info %changelog