From c1e61f03f657e298cff62c1c8e4311440db3b8b0881a24a3d694f24562bc7710 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sun, 22 May 2022 10:39:59 +0000 Subject: [PATCH] - update to version 2.32.1: - Do not remove quoted annotations on 3.11 `from __future__ import annotations` will not be the default behavior on 3.11. Fixes #637. - update to version 2.32.0: - rewrite check_output(...) universal_newlines -> text - convert fstring rewriter to a plugin - move typed class rewrite to a plugin - change is_name_attr to accept multiple modules - reorder pre-commit config Committed via https://github.com/asottile/all-repos - Update default branch to main Committed via https://github.com/asottile/all-repos - remove unneeded gitignore lines - coverage-html: coverage>=6.2 writes a .gitignore file - mypy_cache: mypy>=0.770 writes a .gitignore file - pytest_cache: pytest>=3.8.1 writes a .gitignore file - venv: virtualenv>=20.0.21 writes a .gitignore file Committed via https://github.com/asottile/all-repos OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=57 --- python-pyupgrade-2.32.0.tar.gz | 3 --- python-pyupgrade-2.32.1.tar.gz | 3 +++ python-pyupgrade.changes | 24 ++++++++++++++++++++++++ python-pyupgrade.spec | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 python-pyupgrade-2.32.0.tar.gz create mode 100644 python-pyupgrade-2.32.1.tar.gz diff --git a/python-pyupgrade-2.32.0.tar.gz b/python-pyupgrade-2.32.0.tar.gz deleted file mode 100644 index 0d3c45c..0000000 --- a/python-pyupgrade-2.32.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:484cbbf26f13c2c1eb08df9134ec24837e8864b5c74981e4854904a15c09574f -size 58309 diff --git a/python-pyupgrade-2.32.1.tar.gz b/python-pyupgrade-2.32.1.tar.gz new file mode 100644 index 0000000..fb826fe --- /dev/null +++ b/python-pyupgrade-2.32.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c34594ce5d0853448aa0e9196b5b80fa89e3992f96f8cfff970d09df750e24d3 +size 58273 diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index c6a4f1b..b8ef084 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun May 22 10:39:56 UTC 2022 - Sebastian Wagner + +- - update to version 2.32.1: + - Do not remove quoted annotations on 3.11 + `from __future__ import annotations` will not be the default + behavior on 3.11. + Fixes #637. +- update to version 2.32.0: + - rewrite check_output(...) universal_newlines -> text + - convert fstring rewriter to a plugin + - move typed class rewrite to a plugin + - change is_name_attr to accept multiple modules + - reorder pre-commit config + Committed via https://github.com/asottile/all-repos + - Update default branch to main + Committed via https://github.com/asottile/all-repos + - remove unneeded gitignore lines + - coverage-html: coverage>=6.2 writes a .gitignore file + - mypy_cache: mypy>=0.770 writes a .gitignore file + - pytest_cache: pytest>=3.8.1 writes a .gitignore file + - venv: virtualenv>=20.0.21 writes a .gitignore file + Committed via https://github.com/asottile/all-repos + ------------------------------------------------------------------- Sat Apr 9 07:31:58 UTC 2022 - Sebastian Wagner diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index 74324b1..418555f 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.32.0 +Version: 2.32.1 Release: 0 Summary: A tool to automatically upgrade syntax for newer versions License: MIT