From 07655b97642d7918056c741f5d5cc84644716f0669258e87bbc03c196dcc4990 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2023 19:24:09 +0000 Subject: [PATCH] - 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 --- attrs-22.1.0.tar.gz | 3 --- attrs-22.2.0.tar.gz | 3 +++ python-attrs.changes | 18 ++++++++++++++++++ python-attrs.spec | 6 +++--- 4 files changed, 24 insertions(+), 6 deletions(-) delete mode 100644 attrs-22.1.0.tar.gz create mode 100644 attrs-22.2.0.tar.gz diff --git a/attrs-22.1.0.tar.gz b/attrs-22.1.0.tar.gz deleted file mode 100644 index 9111b18..0000000 --- a/attrs-22.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 -size 201288 diff --git a/attrs-22.2.0.tar.gz b/attrs-22.2.0.tar.gz new file mode 100644 index 0000000..ea0cc77 --- /dev/null +++ b/attrs-22.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99 +size 215900 diff --git a/python-attrs.changes b/python-attrs.changes index 83f9c9f..5e928ff 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Dec 23 11:38:48 UTC 2022 - Dirk Müller + +- 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 diff --git a/python-attrs.spec b/python-attrs.spec index f6122a8..4d96e84 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -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