Hello community, here is the log from the commit of package python-attrs for openSUSE:Factory checked in at 2018-09-05 13:47:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-attrs (Old) and /work/SRC/openSUSE:Factory/.python-attrs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-attrs" Wed Sep 5 13:47:07 2018 rev:7 rq:632660 version:18.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-attrs/python-attrs.changes 2018-05-11 11:25:58.077426012 +0200 +++ /work/SRC/openSUSE:Factory/.python-attrs.new/python-attrs.changes 2018-09-05 13:47:09.430116909 +0200 @@ -1,0 +2,48 @@ +Sat Sep 1 18:34:11 UTC 2018 - a...@gmx.de + +- specfile: + - removed devel from noarch package + - be more specific in %files section + +- update to version 18.2.0: + * Deprecations + + Comparing subclasses using "<", ">", "<=", and ">=" is now + deprecated. The docs always claimed that instances are only + compared if the types are identical, so this is a first step to + conform to the docs. Equality operators ("==" and "!=") were + always strict in this regard. issue 394 + * Changes + + "attrs" now ships its own PEP 484 type hints. Together with + mypy's "attrs" plugin, you've got all you need for writing + statically typed code in both Python 2 and 3! At that occasion, + we've also added `narrative docs` about type annotations in + "attrs". issue #238 + + Added *kw_only* arguments to "attr.ib" and "attr.s", and a + corresponding *kw_only* attribute to "attr.Attribute". This + change makes it possible to have a generated "__init__" with + keyword-only arguments on Python 3, relaxing the required + ordering of default and non-default valued attributes. issues #281, #411 + + The test suite now runs with "hypothesis.HealthCheck.too_slow" + disabled to prevent CI breakage on slower computers. issues + #364, #396 + + "attr.validators.in_()" now raises a "ValueError" with a useful + message even if the options are a string and the value is not a + string. issue #383 + + "attr.asdict()" now properly handles deeply nested lists and + dictionaries. issue #395 + + Added "attr.converters.default_if_none()" that allows to replace + "None" values in attributes. For example + "attr.ib(converter=default_if_none(""))" replaces "None" by + empty strings. issues #400, #414 + + Fixed a reference leak where the original class would remain + live after being replaced when "slots=True" is set. isue #407 + + Slotted classes can now be made weakly referenceable by passing + "@attr.s(weakref_slot=True)". issue #420 + + Added *cache_hash* option to "@attr.s" which causes the hash + code to be computed once and stored on the object. issue #425 + + Attributes can be named "property" and "itemgetter" now. issue + #430 + + It is now possible to override a base class' class variable + using only class annotations. issue #431 + +------------------------------------------------------------------- Old: ---- attrs-18.1.0.tar.gz New: ---- attrs-18.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-attrs.spec ++++++ --- /var/tmp/diff_new_pack.5kFHHz/_old 2018-09-05 13:47:09.878117660 +0200 +++ /var/tmp/diff_new_pack.5kFHHz/_new 2018-09-05 13:47:09.882117667 +0200 @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with tests Name: python-attrs -Version: 18.1.0 +Version: 18.2.0 Release: 0 Summary: Attributes without boilerplate License: MIT Group: Development/Languages/Python URL: https://github.com/hynek/attrs/ Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -76,7 +75,7 @@ %files %{python_files} %license LICENSE %doc CHANGELOG.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/attr* %{python_sitelib}/attrs-%{version}-py*.egg-info %changelog ++++++ attrs-18.1.0.tar.gz -> attrs-18.2.0.tar.gz ++++++ ++++ 7765 lines of diff (skipped)