Accepting request 887885 from devel:languages:python

- update to 0.15
  * python 3.9 support

OBS-URL: https://build.opensuse.org/request/show/887885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-immutables?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-04-26 14:38:48 +00:00 committed by Git OBS Bridge
commit 1ae1a8aa68
5 changed files with 17 additions and 10 deletions

View File

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

3
immutables-0.15.tar.gz Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 22 20:28:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.15
* python 3.9 support
-------------------------------------------------------------------
Mon Dec 7 15:34:37 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-immutables
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# 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-%{**}}
%define skip_python2 1
Name: python-immutables
Version: 0.14
Version: 0.15
Release: 0
Summary: Immutable collections for Python
License: Apache-2.0

View File

@ -1,12 +1,13 @@
--- a/tests/test_none_keys.py
+++ b/tests/test_none_keys.py
Index: immutables-0.15/tests/test_none_keys.py
===================================================================
--- immutables-0.15.orig/tests/test_none_keys.py
+++ immutables-0.15/tests/test_none_keys.py
@@ -1,8 +1,10 @@
+import sys
import unittest
+import sys
from immutables.map import map_hash, map_mask, Map as PyMap
-from immutables._testutils import * # NoQA
+from immutables._testutils import HashKey # NoQA
from immutables._testutils import HashKey
+is_32bits = sys.maxsize <= 2**32 # 32bit-dness