14
0
forked from pool/python-black

- update to 23.7.0:

* Runtime support for Python 3.7 has been removed. Formatting
    3.7 code will still be supported until further notice (#3765)
  * Fix a bug where an illegal trailing comma was added to return
    type annotations using PEP 604 unions (#3735)
  * Fix several bugs and crashes where comments in stub files
    were removed or mishandled under some circumstances (#3745)
  * Fix a crash with multi-line magic comments like `type:
    ignore` within parentheses
  * Fix error in AST validation when _Black_ removes trailing
    whitespace in a type comment
  * Remove patching of Click that mitigated errors on Python 3.6
    with `LANG=C` (#3768)
  * Add support for the new PEP 695 syntax in Python 3.12 (#3703)
  * Speed up _Black_ significantly when the cache is full (#3751)
  * Avoid importing `IPython` in a case where we wouldn't need it
    (#3748)
  * Use aware UTC datetimes internally, avoids deprecation
    warning on Python 3.12 (#3728)
  * Change verbose logging to exactly mirror _Black_'s logic for
    source discovery (#3749)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=43
This commit is contained in:
2023-07-16 14:01:28 +00:00
committed by Git OBS Bridge
parent 7a5cd4af8b
commit 61b1b384c8
4 changed files with 29 additions and 4 deletions

Binary file not shown.

3
black-23.7.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sun Jul 16 14:00:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.7.0:
* Runtime support for Python 3.7 has been removed. Formatting
3.7 code will still be supported until further notice (#3765)
* Fix a bug where an illegal trailing comma was added to return
type annotations using PEP 604 unions (#3735)
* Fix several bugs and crashes where comments in stub files
were removed or mishandled under some circumstances (#3745)
* Fix a crash with multi-line magic comments like `type:
ignore` within parentheses
* Fix error in AST validation when _Black_ removes trailing
whitespace in a type comment
* Remove patching of Click that mitigated errors on Python 3.6
with `LANG=C` (#3768)
* Add support for the new PEP 695 syntax in Python 3.12 (#3703)
* Speed up _Black_ significantly when the cache is full (#3751)
* Avoid importing `IPython` in a case where we wouldn't need it
(#3748)
* Use aware UTC datetimes internally, avoids deprecation
warning on Python 3.12 (#3728)
* Change verbose logging to exactly mirror _Black_'s logic for
source discovery (#3749)
-------------------------------------------------------------------
Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-black
Version: 23.3.0
Version: 23.7.0
Release: 0
Summary: A code formatter written in, and written for Python
License: MIT