diff --git a/git_pw-2.7.0.tar.gz b/git_pw-2.7.0.tar.gz deleted file mode 100644 index 8c18bb7..0000000 --- a/git_pw-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99cb0b4a603386127c8205358d9780428a0468f8b1cb73ace804a5a466a28ef4 -size 45461 diff --git a/git_pw-2.7.1.tar.gz b/git_pw-2.7.1.tar.gz new file mode 100644 index 0000000..3dded0e --- /dev/null +++ b/git_pw-2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f69c57aafd13d21d6fa604dff680c4f9113a8f31bf3f65dd663bad0e1839b0e1 +size 45779 diff --git a/python-git-pw.changes b/python-git-pw.changes index ffa1358..0a1dc5d 100644 --- a/python-git-pw.changes +++ b/python-git-pw.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Feb 7 12:00:54 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.7.1 + * pre-commit: Bump versions + * Don't decode error response bodies +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + * Update name for dist directory in %files section + ------------------------------------------------------------------- Wed Nov 13 14:30:51 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-git-pw.spec b/python-git-pw.spec index c76f77f..3e1bd54 100644 --- a/python-git-pw.spec +++ b/python-git-pw.spec @@ -1,7 +1,7 @@ # # spec file for package python-git-pw # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ %define modname git_pw -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-git-pw -Version: 2.7.0 +Version: 2.7.1 Release: 0 Summary: A tool for integrating Git with Patchwork License: MIT @@ -29,11 +29,13 @@ BuildArch: noarch BuildRequires: %{python_module arrow >= 0.10} BuildRequires: %{python_module click >= 6.0} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyaml >= 5.1} BuildRequires: %{python_module pytest >= 3.0} BuildRequires: %{python_module requests > 2.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tabulate >= 0.8} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: git-core BuildRequires: python-rpm-macros @@ -46,7 +48,7 @@ Requires: python-tabulate >= 0.8 Provides: git-pw = %{version} Obsoletes: git-pw < %{version} Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -57,10 +59,10 @@ tracking system. %autosetup -p1 -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/git-pw %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -79,6 +81,6 @@ export LC_ALL=en_US.UTF-8 %doc README.rst %python_alternative %{_bindir}/git-pw %{python_sitelib}/git_pw -%{python_sitelib}/git_pw-%{version}-py%{python_version}.egg-info +%{python_sitelib}/git_pw-%{version}.dist-info %changelog