From 7fb526ce71e4f3fbb99af9879a19abc57210bf9a2c43a4b6c3c69b5b292d8abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 4 Mar 2019 20:22:32 +0000 Subject: [PATCH] - 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 --- attrs-18.2.0.tar.gz | 3 --- attrs-19.1.0.tar.gz | 3 +++ python-attrs.changes | 14 ++++++++++++++ python-attrs.spec | 6 ++++-- 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 attrs-18.2.0.tar.gz create mode 100644 attrs-19.1.0.tar.gz diff --git a/attrs-18.2.0.tar.gz b/attrs-18.2.0.tar.gz deleted file mode 100644 index 5ff335e..0000000 --- a/attrs-18.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69 -size 116817 diff --git a/attrs-19.1.0.tar.gz b/attrs-19.1.0.tar.gz new file mode 100644 index 0000000..16d0a93 --- /dev/null +++ b/attrs-19.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399 +size 124220 diff --git a/python-attrs.changes b/python-attrs.changes index 4923fd4..971e034 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Mar 4 20:07:57 UTC 2019 - Ondřej Súkup + +- 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 diff --git a/python-attrs.spec b/python-attrs.spec index f7494d5..68035a4 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -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