Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-isort for openSUSE:Factory checked in at 2022-04-23 19:45:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-isort (Old) and /work/SRC/openSUSE:Factory/.python-pytest-isort.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-isort" Sat Apr 23 19:45:12 2022 rev:7 rq:965762 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-isort/python-pytest-isort.changes 2020-09-04 10:59:24.906633102 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-isort.new.1538/python-pytest-isort.changes 2022-04-23 19:45:30.762950970 +0200 @@ -1,0 +2,16 @@ +Mon Mar 28 20:22:52 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 3.0.0 + * Drop support for isort < 5 + * Add suport for pytest 7 +- Release 2.0.0 + * BREAKING CHANGE: Files that are ignored in isort's own + configuration will now be skipped +- Release 1.3.0 + * Fix issue with pytest >= 6.1 +- Release 1.2.0 + * Add support for pytest >= 6 +- Drop pytest6.patch +- License change + +------------------------------------------------------------------- Old: ---- pytest-isort-1.1.0.tar.gz pytest6.patch New: ---- pytest-isort-3.0.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-isort.spec ++++++ --- /var/tmp/diff_new_pack.CmtuVo/_old 2022-04-23 19:45:31.270951574 +0200 +++ /var/tmp/diff_new_pack.CmtuVo/_new 2022-04-23 19:45:31.278951584 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-isort # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,39 +16,45 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-pytest-isort -Version: 1.1.0 +Version: 3.0.0 Release: 0 -Summary: Plugin for pytest to perform isort checks -License: BSD-3-Clause -URL: https://github.com/moccu/pytest-isort/ -Source: https://files.pythonhosted.org/packages/source/p/pytest-isort/pytest-isort-%{version}.tar.gz -Patch0: pytest6.patch +Summary: Pytest plugin to check import ordering using isort +License: MIT +URL: https://github.com/stephrdev/pytest-isort/ +Source: https://github.com/stephrdev/pytest-isort/archive/refs/tags/%{version}.tar.gz#/pytest-isort-%{version}-gh.tar.gz +BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module isort >= 4.0} -BuildRequires: %{python_module pytest >= 5} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry >= 1.1} +BuildRequires: %{python_module pytest >= 6.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-isort >= 4.0 Requires: python-pytest >= 3.5 +%if 0%{python_version_nodots} < 38 +Requires: python-importlib-metadata +%endif BuildArch: noarch %python_subpackages %description -This is a py.test plugin to check import ordering using isort. +This is a pytest plugin to check import ordering using isort. %prep %setup -q -n pytest-isort-%{version} -%patch0 -p1 %build -%python_build +%pyproject_wheel %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%pyproject_install +%{python_expand # +rm %{buildroot}%{$python_sitelib}/LICENSE.rst +%fdupes %{buildroot}%{$python_sitelib} +} %check %pytest @@ -56,6 +62,7 @@ %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE.rst -%{python_sitelib}/* +%{python_sitelib}/pytest_isort +%{python_sitelib}/pytest_isort-%{version}*-info %changelog