From f824f66f87ac0479957397e4f8cc9a7130239b6bc6e2b94405fb1618cfe1321e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 22 Mar 2021 21:06:39 +0000 Subject: [PATCH] - 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 --- python-pyupgrade-2.10.0.tar.gz | 3 --- python-pyupgrade-2.11.0.tar.gz | 3 +++ python-pyupgrade.changes | 9 +++++++++ python-pyupgrade.spec | 6 +++--- 4 files changed, 15 insertions(+), 6 deletions(-) delete mode 100644 python-pyupgrade-2.10.0.tar.gz create mode 100644 python-pyupgrade-2.11.0.tar.gz diff --git a/python-pyupgrade-2.10.0.tar.gz b/python-pyupgrade-2.10.0.tar.gz deleted file mode 100644 index da81306..0000000 --- a/python-pyupgrade-2.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc92492660c2e249afb7725dd7a61bd0736a6fcebf20dee67441e1aed42685d4 -size 48046 diff --git a/python-pyupgrade-2.11.0.tar.gz b/python-pyupgrade-2.11.0.tar.gz new file mode 100644 index 0000000..cbc04c9 --- /dev/null +++ b/python-pyupgrade-2.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b9a95ee72908b763c3ba566a46b6a279d01778cae39630a3dfbc1b0cd5f5bd9 +size 50904 diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index 52b9223..796052b 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Mar 22 21:04:52 UTC 2021 - Sebastian Wagner + +- 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 + ------------------------------------------------------------------- Sat Feb 13 18:15:11 UTC 2021 - Sebastian Wagner diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index a838126..c3dc862 100644 --- a/python-pyupgrade.spec +++ b/python-pyupgrade.spec @@ -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