- update to 22.2.0:

* Python 3.5 is not supported anymore.
  * Python 3.6 is now deprecated and support will be removed in the next
    release.
  * `attrs.field()` now supports an *alias* option for explicit `__init__`
    argument names.
  * `attrs.NOTHING` is now an enum value, making it possible to use with
    e.g. `typing.Literal`.
  * Added missing re-import of `attr.AttrsInstance` to the `attrs`
    namespace.
  * Fix slight performance regression in classes with custom `__setattr__`
    and speedup even more.
  * Class-creation performance improvements by switching performance-
    sensitive templating operations to f-strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=40
This commit is contained in:
Dirk Mueller 2023-01-02 19:24:09 +00:00 committed by Git OBS Bridge
parent 3d12fae104
commit 07655b9764
4 changed files with 24 additions and 6 deletions

View File

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

BIN
attrs-22.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Dec 23 11:38:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 22.2.0:
* Python 3.5 is not supported anymore.
* Python 3.6 is now deprecated and support will be removed in the next
release.
* `attrs.field()` now supports an *alias* option for explicit `__init__`
argument names.
* `attrs.NOTHING` is now an enum value, making it possible to use with
e.g. `typing.Literal`.
* Added missing re-import of `attr.AttrsInstance` to the `attrs`
namespace.
* Fix slight performance regression in classes with custom `__setattr__`
and speedup even more.
* Class-creation performance improvements by switching performance-
sensitive templating operations to f-strings.
-------------------------------------------------------------------
Tue Sep 20 10:55:27 UTC 2022 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,7 @@
%endif
%global skip_python36 1
Name: python-attrs%{psuffix}
Version: 22.1.0
Version: 22.2.0
Release: 0
Summary: Attributes without boilerplate
License: MIT
@ -86,7 +86,7 @@ python-attrs is the successor to python-characterstic
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc CHANGELOG.rst README.rst
%doc CHANGELOG.md README.md
%{python_sitelib}/attr*
%{python_sitelib}/attrs-%{version}-py*.egg-info
%endif