diff --git a/python-pyupgrade-3.16.0.tar.gz b/python-pyupgrade-3.16.0.tar.gz deleted file mode 100644 index 3073483..0000000 --- a/python-pyupgrade-3.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:22db026d0bf7e26c9955b45d12cf269f0fe71b32157b3e59ce6792688dd7b5f1 -size 65582 diff --git a/python-pyupgrade-3.17.0.tar.gz b/python-pyupgrade-3.17.0.tar.gz new file mode 100644 index 0000000..95d62be --- /dev/null +++ b/python-pyupgrade-3.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e0ad5086fd4e4e6c175799d601684ca8c71a9181bcdc089981f46eb2a3f6d1a +size 66098 diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index 47cbd18..d920aa5 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Aug 31 12:15:56 UTC 2024 - Dirk Müller + +- update to 3.17.0: + * remove python 3.8 support + * rewrite TypeVar defaults for Generator / AsyncGenerator + * run pyupgrade on itself + ------------------------------------------------------------------- Mon Jun 24 15:44:15 UTC 2024 - Dirk Müller diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index b78bc59..e5c5143 100644 --- a/python-pyupgrade.spec +++ b/python-pyupgrade.spec @@ -18,16 +18,16 @@ %{?sle15_python_module_pythons} Name: python-pyupgrade -Version: 3.16.0 +Version: 3.17.0 Release: 0 Summary: A tool to automatically upgrade syntax for newer versions License: MIT Group: Development/Languages/Python URL: https://github.com/asottile/pyupgrade -# pypi tarball does not include tests, use github instead. PR for inclusion was denied https://github.com/asottile/pyupgrade/pull/326 Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -#Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} @@ -49,10 +49,10 @@ programming language. %setup -q -n pyupgrade-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pyupgrade @@ -69,6 +69,7 @@ programming language. %doc README.md %license LICENSE %python_alternative %{_bindir}/pyupgrade -%{python_sitelib}/* +%{python_sitelib}/pyupgrade +%{python_sitelib}/pyupgrade-%{version}.dist-info %changelog