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 8 additions and 17 deletions

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35b0a60b26b2e3a45262331748e757eed5e8ad03a1d7c8b5ef015a0240584fc3
size 67006

View File

@@ -1,12 +1,3 @@
-------------------------------------------------------------------
Thu Jan 8 04:06:59 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.21.2:
* fix unstringing multiline string annotations
* vendor cookie_re from cpython
* regenerate symbols for --py314-plus
* Rewrite version_info[0] and version_info.major
-------------------------------------------------------------------
Wed Aug 6 09:28:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyupgrade
#
# Copyright (c) 2026 SUSE LLC and contributors
# 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,23 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-pyupgrade
Version: 3.21.2
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
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tokenize-rt >= 6.1.0}
BuildRequires: %{python_module tokenize-rt >= 3.2.0}
# /SECTION
BuildRequires: fdupes
Requires: python-tokenize-rt >= 6.1.0
Requires: python-tokenize-rt >= 3.2.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch