Hello community,

here is the log from the commit of package python-attrs for openSUSE:Factory 
checked in at 2018-05-11 11:25:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-attrs (Old)
 and      /work/SRC/openSUSE:Factory/.python-attrs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-attrs"

Fri May 11 11:25:55 2018 rev:6 rq:605119 version:18.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-attrs/python-attrs.changes        
2018-01-16 09:34:46.803004913 +0100
+++ /work/SRC/openSUSE:Factory/.python-attrs.new/python-attrs.changes   
2018-05-11 11:25:58.077426012 +0200
@@ -1,0 +2,37 @@
+Sun May  6 05:40:54 UTC 2018 - [email protected]
+
+- update to version 18.1.0:
+  * "x=X(); x.cycle = x; repr(x)" will no longer raise a
+    "RecursionError", and will instead show as "X(x=...)".
+  * "attr.ib(factory=f)" is now syntactic sugar for the common case of
+    "attr.ib(default=attr.Factory(f))".
+  * Added "attr.field_dict()" to return an ordered dictionary of
+    "attrs" attributes for a class, whose keys are the attribute
+    names.
+  * The order of attributes that are passed into "attr.make_class()"
+    or the "these" argument of "@attr.s()" is now retained if the
+    dictionary is ordered (i.e. "dict" on Python 3.6 and later,
+    "collections.OrderedDict" otherwise).
+  * Before, the order was always determined by the order in which the
+    attributes have been defined which may not be desirable when
+    creating classes programatically.
+  * In slotted classes, "__getstate__" and "__setstate__" now ignore
+    the "__weakref__" attribute.
+  * Setting the cell type is now completely best effort.  This fixes
+    "attrs" on Jython.  We cannot make any guarantees regarding Jython
+    though, because our test suite cannot run due to dependency
+    incompatabilities.
+  * If "attr.s" is passed a *these* argument, it will not attempt to
+    remove attributes with the same name from the class body anymore.
+  * The hash of "attr.NOTHING" is now vegan and faster on 32bit Python
+    builds.
+  * The overhead of instantiating frozen dict classes is virtually
+    eliminated.
+  * Generated "__init__" methods now have an "__annotations__"
+    attribute derived from the types of the fields.
+  * We have restructured the documentation a bit to account for
+    "attrs"' growth in scope.  Instead of putting everything into the
+    `examples <http://www.attrs.org/en/stable/examples.html>`_ page,
+    we have started to extract narrative chapters.
+
+-------------------------------------------------------------------

Old:
----
  attrs-17.4.0.tar.gz

New:
----
  attrs-18.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-attrs.spec ++++++
--- /var/tmp/diff_new_pack.Aehvxt/_old  2018-05-11 11:25:59.185385626 +0200
+++ /var/tmp/diff_new_pack.Aehvxt/_new  2018-05-11 11:25:59.189385481 +0200
@@ -18,27 +18,24 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_with tests
-
 Name:           python-attrs
-Version:        17.4.0
+Version:        18.1.0
 Release:        0
 Summary:        Attributes without boilerplate
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/hynek/attrs/
-Source:         https://pypi.io/packages/source/a/attrs/attrs-%{version}.tar.gz
+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
+BuildArch:      noarch
 %if %{with tests}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module zope.interface}
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -77,8 +74,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%license LICENSE
+%doc CHANGELOG.rst README.rst
 %{python_sitelib}/*
 %{python_sitelib}/attrs-%{version}-py*.egg-info
 

++++++ attrs-17.4.0.tar.gz -> attrs-18.1.0.tar.gz ++++++
++++ 3390 lines of diff (skipped)


Reply via email to