Accepting request 681547 from devel:languages:python
- 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/request/show/681547 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-attrs?expand=0&rev=9
This commit is contained in:
commit
a540737d99
@ -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
3
attrs-19.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399
|
||||||
|
size 124220
|
@ -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>
|
Thu Dec 6 10:06:08 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-attrs
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: python-attrs
|
Name: python-attrs
|
||||||
Version: 18.2.0
|
Version: 19.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Attributes without boilerplate
|
Summary: Attributes without boilerplate
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -32,7 +32,9 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module pympler}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module zope.interface}
|
BuildRequires: %{python_module zope.interface}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Loading…
Reference in New Issue
Block a user