Go to file
Dominique Leuenberger 9c78b76da1 Accepting request 741439 from devel:languages:python
- update to 19.3.0
 * Fixed auto_attribs usage when default values cannot be compared directly
     with ==, such as numpy arrays.

- update to version 19.2.0:
  * Backward-incompatible Changes
    + Removed deprecated "Attribute" attribute "convert" per scheduled
      removal on 2019/1.  This planned deprecation is tracked in issue
      `#307 <https://github.com/python-attrs/attrs/issues/307>`_.
      `#504 <https://github.com/python-attrs/attrs/issues/504>`_
    + "__lt__", "__le__", "__gt__", and "__ge__" do not consider
      subclasses comparable anymore.  This has been deprecated since
      18.2.0 and was raising a "DeprecationWarning" for over a year.
      `#570 <https://github.com/python-attrs/attrs/issues/570>`_
  * Deprecations
    + The "cmp" argument to "attr.s()" and "attr.ib()" is now
      deprecated.  Please use "eq" to add equality methods ("__eq__"
      and "__ne__") and "order" to add ordering methods ("__lt__",
      "__le__", "__gt__", and "__ge__") instead – just like with
      `dataclasses
      <https://docs.python.org/3/library/dataclasses.html>`_.  Both
      are effectively "True" by default but it's enough to set
      "eq=False" to disable both at once.  Passing "eq=False,
      order=True" explicitly will raise a "ValueError" though.  Since
      this is arguably a deeper backward-compatibility break, it will
      have an extended deprecation period until 2021-06-01.  After
      that day, the "cmp" argument will be removed.  "attr.Attribute"
      also isn't orderable anymore.  `#574
      <https://github.com/python-attrs/attrs/issues/574>`_
  * Changes

OBS-URL: https://build.opensuse.org/request/show/741439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-attrs?expand=0&rev=11
2019-11-04 16:08:06 +00:00
_multibuild - Switch to multibuild to enable tests 2019-08-12 13:47:18 +00:00
.gitattributes Accepting request 399603 from home:winski:python 2016-06-02 07:57:12 +00:00
.gitignore Accepting request 399603 from home:winski:python 2016-06-02 07:57:12 +00:00
attrs-19.3.0.tar.gz - update to 19.3.0 2019-10-21 08:44:42 +00:00
python-attrs.changes - update to 19.3.0 2019-10-21 08:44:42 +00:00
python-attrs.spec - update to 19.3.0 2019-10-21 08:44:42 +00:00