Hello community,

here is the log from the commit of package python-attrs for openSUSE:Factory 
checked in at 2017-11-12 17:59:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-attrs (Old)
 and      /work/SRC/openSUSE:Factory/.python-attrs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-attrs"

Sun Nov 12 17:59:28 2017 rev:3 rq:540454 version:17.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-attrs/python-attrs.changes        
2017-07-11 08:25:02.182293967 +0200
+++ /work/SRC/openSUSE:Factory/.python-attrs.new/python-attrs.changes   
2017-11-12 17:59:30.083036516 +0100
@@ -1,0 +2,53 @@
+Thu Nov  9 18:50:46 UTC 2017 - [email protected]
+
+- update to version 17.3.0:
+  * Backward-incompatible Changes
+    + Attributes are not defined on the class body anymore.  This
+      means that if you define a class "C" with an attribute "x", the
+      class will *not* have an attribute "x" for introspection
+      anymore.  Instead of "C.x", use "attr.fields(C).x" or look at
+      "C.__attrs_attrs__".  The old behavior has been deprecated since
+      version 16.1.  (`#253
+      <https://github.com/python-attrs/attrs/issues/253>`_)
+  * Changes
+    + "super()" and "__class__" now work on Python 3 when
+      "slots=True".  (`#102
+      <https://github.com/python-attrs/attrs/issues/102>`_, `#226
+      <https://github.com/python-attrs/attrs/issues/226>`_, `#269
+      <https://github.com/python-attrs/attrs/issues/269>`_, `#270
+      <https://github.com/python-attrs/attrs/issues/270>`_, `#272
+      <https://github.com/python-attrs/attrs/issues/272>`_)- Added
+      "type" argument to "attr.ib()" and corresponding "type"
+      attribute to "attr.Attribute".  This change paves the way for
+      automatic type checking and serialization (though as of this
+      release "attrs" does not make use of it).  In Python 3.6 or
+      higher, the value of "attr.Attribute.type" can alternately be
+      set using variable type annotations (see `PEP 526
+      <https://www.python.org/dev/peps/pep-0526/>`_). (`#151
+      <https://github.com/python-attrs/attrs/issues/151>`_, `#214
+      <https://github.com/python-attrs/attrs/issues/214>`_, `#215
+      <https://github.com/python-attrs/attrs/issues/215>`_, `#239
+      <https://github.com/python-attrs/attrs/issues/239>`_)
+    + The combination of "str=True" and "slots=True" now works on
+      Python 2.  (`#198
+      <https://github.com/python-attrs/attrs/issues/198>`_)
+    + "attr.Factory" is hashable again. (`#204
+      <https://github.com/python-attrs/attrs/issues/204>`_)
+    + Subclasses now can overwrite attribute definitions of their
+      superclass.  That means that you can -- for example -- change
+      the default value for an attribute by redefining it.  (`#221
+      <https://github.com/python-attrs/attrs/issues/221>`_, `#229
+      <https://github.com/python-attrs/attrs/issues/229>`_)
+    + Added new option "auto_attribs" to "@attr.s" that allows to
+      collect annotated fields without setting them to "attr.ib()".
+      Setting a field to an "attr.ib()" is still possible to supply
+      options like validators.  Setting it to any other value is
+      treated like it was passed as "attr.ib(default=value)" --
+      passing an instance of "attr.Factory" also works as expected.
+      (`#262 <https://github.com/python-attrs/attrs/issues/262>`_,
+      `#277 <https://github.com/python-attrs/attrs/issues/277>`_)
+    + Instances of classes created using "attr.make_class()" can now
+      be pickled.  (`#282
+      <https://github.com/python-attrs/attrs/issues/282>`_)
+
+-------------------------------------------------------------------

Old:
----
  attrs-17.2.0.tar.gz

New:
----
  attrs-17.3.0.tar.gz

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

Other differences:
------------------
++++++ python-attrs.spec ++++++
--- /var/tmp/diff_new_pack.7En1qj/_old  2017-11-12 17:59:30.955004755 +0100
+++ /var/tmp/diff_new_pack.7En1qj/_new  2017-11-12 17:59:30.959004610 +0100
@@ -19,14 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:           python-attrs
-%global modname attrs
-Version:        17.2.0
+Version:        17.3.0
 Release:        0
 Summary:        Attributes without boilerplate
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/hynek/%{modname}/
-Source:         
https://pypi.io/packages/source/a/%{modname}/%{modname}-%{version}.tar.gz
+Url:            https://github.com/hynek/attrs/
+Source:         https://pypi.io/packages/source/a/attrs/attrs-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -58,7 +57,7 @@
 python-attrs is the successor to python-characterstic
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n attrs-%{version}
 
 %build
 %python_build
@@ -71,6 +70,6 @@
 %defattr(-,root,root,-)
 %doc CHANGELOG.rst LICENSE README.rst
 %{python_sitelib}/*
-%{python_sitelib}/%{modname}-%{version}-py*.egg-info
+%{python_sitelib}/attrs-%{version}-py*.egg-info
 
 %changelog

++++++ attrs-17.2.0.tar.gz -> attrs-17.3.0.tar.gz ++++++
++++ 4469 lines of diff (skipped)


Reply via email to