17
0

6 Commits

Author SHA256 Message Date
0365149614 Accepting request 1299213 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1299213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=37
2025-08-13 14:31:17 +00:00
f21062de55 - Update to 3.20.0
* upgrade asottile/workflows
  * pyupgrade fixes for python 3.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=85
2025-08-06 09:51:38 +00:00
b3cc3c26e6 Accepting request 1273175 from devel:languages:python
- update to 3.19.1:
  * pyupgrade support for 3.13
  * run pyupgrade on itself for removal of 3.13 deprecated
    constructs

OBS-URL: https://build.opensuse.org/request/show/1273175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=36
2025-04-29 14:40:08 +00:00
872ae32b11 - update to 3.19.1:
* pyupgrade support for 3.13
  * run pyupgrade on itself for removal of 3.13 deprecated
    constructs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=83
2025-04-28 14:15:56 +00:00
c0c7369d54 Accepting request 1198060 from devel:languages:python
- update to 3.17.0:
  * remove python 3.8 support
  * rewrite TypeVar defaults for Generator / AsyncGenerator
  * run pyupgrade on itself

OBS-URL: https://build.opensuse.org/request/show/1198060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=35
2024-09-02 11:14:26 +00:00
15a074579f - update to 3.17.0:
* remove python 3.8 support
  * rewrite TypeVar defaults for Generator / AsyncGenerator
  * run pyupgrade on itself

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=81
2024-08-31 12:17:47 +00:00
4 changed files with 34 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Aug 6 09:28:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.20.0
* upgrade asottile/workflows
* pyupgrade fixes for python 3.14
-------------------------------------------------------------------
Mon Apr 28 14:14:57 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 3.19.1:
* pyupgrade support for 3.13
* run pyupgrade on itself for removal of 3.13 deprecated
constructs
-------------------------------------------------------------------
Sat Aug 31 12:15:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyupgrade
#
# 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
@@ -18,16 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-pyupgrade
Version: 3.16.0
Version: 3.20.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