14
0

- Update to version 2.10.1

- fix nested union replaces
- Update to version 2.11.0
 - dequote annotations: quoted annotations + `from __future__ import annotations`
 - rewrite open even with mode=: Rewrite open_mode even if mode is passed by name

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=17
This commit is contained in:
Sebastian Wagner
2021-03-22 21:06:39 +00:00
committed by Git OBS Bridge
parent 1ec1e28b21
commit f824f66f87
4 changed files with 15 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyupgrade
Version: 2.10.0
Version: 2.11.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT
@@ -36,8 +36,8 @@ BuildRequires: %{python_module tokenize-rt >= 3.2.0}
# /SECTION
BuildRequires: fdupes
Requires: python-tokenize-rt >= 3.2.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages