14
0

Accepting request 874061 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/874061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=6
This commit is contained in:
2021-02-21 21:14:15 +00:00
committed by Git OBS Bridge
4 changed files with 57 additions and 5 deletions

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:88dc4d2137c1e73099e8f1b69e6a8f29c53856cc41f4cc7187d5dca4056088b7
size 42618

View File

@@ -1,3 +1,53 @@
-------------------------------------------------------------------
Sat Feb 13 18:15:11 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Disable build on Python 2 as the build fails with the latest version.
-------------------------------------------------------------------
Tue Feb 9 06:44:47 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 1.10.0:
- lru_cache(maxsize=None) => functools.cache
-------------------------------------------------------------------
Wed Feb 3 16:46:58 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 2.9.0:
- Document correct minimum version for PEP 604
- fix propagation of --keep-mock
- Add --keep-runtime-typing
-------------------------------------------------------------------
Sun Jan 31 17:48:42 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 2.8.0:
- genericize future import detection
- rewrite pep585 generic builtins
- move py2 compat fixer to plugins
- move %-format rewrite to a plugin
- move py3+ base class removal to plugins
- move lru_cache rewrite to a plugin
- move six decorator removal to a plugin
- move six.b / six.ensure_binary to a plugin
- move __metaclass__ = test checker to a plugin
- move io.open rewriting to a plugin
- move simple six attrs to a plugin
- move typing pep585 rewrite to a plugin
- move default encoding to a plugin
- move native literals to a plugin
- move versioned branches rewrite to a plugin
- move open mode fix to a plugin
- move os error alias rename to a plugin
- move six calls / metaclass rewrites to plugins
- settings in separate class
- move mock rewrite to a plugin
- refactor Py3Plus scope management
- move super and yield from to a legacy plugin
- combine six_b into six_calls plugin
- replace typing.Text with str
- rewrite pep604 (+ add --py310-plus)
- document PEP 604 rewrites
-------------------------------------------------------------------
Sat Jan 23 15:25:51 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyupgrade
Version: 2.7.4
Version: 2.10.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT
@@ -42,7 +43,8 @@ BuildArch: noarch
%python_subpackages
%description
A tool to automatically upgrade syntax for newer versions.
A tool to automatically upgrade syntax for newer versions of the Python
programming language.
%prep
%setup -q -n pyupgrade-%{version}