- update to 19.1.0

* Fixed a bug where deserialized objects with cache_hash=True could have
    incorrect hash code values
 * Add is_callable, deep_iterable, and deep_mapping validators.
 * Fixed stub files to prevent errors raised by mypy's
    disallow_any_generics = True option.
 * Attributes with init=False now can follow after kw_only=True attributes.
 * attrs now has first class support for defining exception classes.
 * Clarified documentation for hashing to warn that hashable objects should
    be deeply immutable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=20
This commit is contained in:
Ondřej Súkup 2019-03-04 20:22:32 +00:00 committed by Git OBS Bridge
parent 4148ec869f
commit 7fb526ce71
4 changed files with 21 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69
size 116817

3
attrs-19.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399
size 124220

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 4 20:07:57 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 19.1.0
* Fixed a bug where deserialized objects with cache_hash=True could have
incorrect hash code values
* Add is_callable, deep_iterable, and deep_mapping validators.
* Fixed stub files to prevent errors raised by mypy's
disallow_any_generics = True option.
* Attributes with init=False now can follow after kw_only=True attributes.
* attrs now has first class support for defining exception classes.
* Clarified documentation for hashing to warn that hashable objects should
be deeply immutable
-------------------------------------------------------------------
Thu Dec 6 10:06:08 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-attrs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with tests
Name: python-attrs
Version: 18.2.0
Version: 19.1.0
Release: 0
Summary: Attributes without boilerplate
License: MIT
@ -32,7 +32,9 @@ BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pympler}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module zope.interface}
%endif
%python_subpackages