14
0
forked from pool/python-bidict

Accepting request 765343 from home:mcalabkova:branches:devel:languages:python

- update to 0.19.0
  * Drop support for Python 2 as promised in v0.18.2.
  * Deprecate bidict.OVERWRITE and bidict.IGNORE. A UserWarning will now be emitted if these are used.
  * Rename DuplicationPolicy to OnDupAction (and implement it via an Enum).
  * No longer use __all__ in bidict’s __init__.py.
  * Improve validation of names passed to namedbidict().

OBS-URL: https://build.opensuse.org/request/show/765343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bidict?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-01-17 18:08:39 +00:00
committed by Git OBS Bridge
parent b443fe6fce
commit 2b0089a8a7
4 changed files with 17 additions and 6 deletions

View File

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

3
bidict-0.19.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jan 17 16:50:46 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.19.0
* Drop support for Python 2 as promised in v0.18.2.
* Deprecate bidict.OVERWRITE and bidict.IGNORE. A UserWarning will now be emitted if these are used.
* Rename DuplicationPolicy to OnDupAction (and implement it via an Enum).
* No longer use __all__ in bidicts __init__.py.
* Improve validation of names passed to namedbidict().
-------------------------------------------------------------------
Fri Sep 13 11:22:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bidict
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,15 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bidict
Version: 0.18.2
Version: 0.19.0
Release: 0
Summary: Bidirectional map implementation for Python
License: MPL-2.0
Group: Development/Languages/Python
Url: https://github.com/jab/bidict
URL: https://github.com/jab/bidict
Source: https://files.pythonhosted.org/packages/source/b/bidict/bidict-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}