Accepting request 1046288 from devel:languages:python

- 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/request/show/1046288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-attrs?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2023-01-04 16:50:55 +00:00 committed by Git OBS Bridge
commit aa049511b2
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 Tue Sep 20 10:55:27 UTC 2022 - pgajdos@suse.com

View File

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