14
0

- update to 3.15.0:

* Implement defaultdict lambda fixer
  * update import symbols for 3.12 release
  * constant fold isinstance / issubclass / except
  * slight improvement to except fix
  * document TimeoutError rewrites
  * also rewrite os.error -> OSError
  * prevent rewriting unittest module functions with additional
    arguments
  * fix string formatting with named escape adjacent to placeholder
  * regenerate with latest reorder-python-imports
  * slightly cleaner plugin union registering
  * remove python 2 notes about invalid escapes
  * correct minimum requirement
  * fix weird-ws empty set literals
  * automatically rewrite to shlex.join in --py38-plus
  * posonlyargs are always present in 3.8+
  * updates for add-trailing-comma 3.x
  * 3.12 TypeVar bounds are always unquotable
  * support PEP 563 rewrites for 3.12+ TypeVar bounds
- Update to version 3.2.1
- Update to version 3.2.0
 - upgrade mypy to get typeshed fix

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=73
This commit is contained in:
2023-12-26 20:25:16 +00:00
committed by Git OBS Bridge
parent 6af7840f98
commit ecb62c350c
4 changed files with 31 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyupgrade
Version: 3.4.0
Version: 3.15.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT