15
0

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

- update to version 3.1.1
  * Implement set api. SLICE_ALL getitem returns copy
  * Add tests for new API. Replace nose with pytest.
  * OrderedSet now inherits from collections.Sequence, __eq__ now 
    checks order of sequences
  * Drop Python 2.6 support; Python and pytest already don't 
    support it
  * Fixed bitwise and
  * Added comprehensive binary operation consistency checks
  * Fix DeprecationWarning due to collections.abc in Python 3.7
  * Use set literal instead of function
  * Fix error when fancy indexing by a NumPy array
  * Update in-place operations to be O(N)
  * Add testing and document support for Python 3.7

OBS-URL: https://build.opensuse.org/request/show/704777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ordered-set?expand=0&rev=4
This commit is contained in:
Todd R
2019-05-22 14:50:10 +00:00
committed by Git OBS Bridge
parent 0b07aad3c5
commit c5517852b2
4 changed files with 25 additions and 7 deletions

View File

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

3
ordered-set-3.1.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed May 22 14:21:24 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 3.1.1
* Implement set api. SLICE_ALL getitem returns copy
* Add tests for new API. Replace nose with pytest.
* OrderedSet now inherits from collections.Sequence, __eq__ now
checks order of sequences
* Drop Python 2.6 support; Python and pytest already don't
support it
* Fixed bitwise and
* Added comprehensive binary operation consistency checks
* Fix DeprecationWarning due to collections.abc in Python 3.7
* Use set literal instead of function
* Fix error when fancy indexing by a NumPy array
* Update in-place operations to be O(N)
* Add testing and document support for Python 3.7
-------------------------------------------------------------------
Mon Apr 15 09:26:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -21,14 +21,14 @@
%global dir_name ordered_set
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{short_name}
Version: 2.0.2
Version: 3.1.1
Release: 0
Summary: Custom MutableSet that remembers its order
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/LuminosoInsight/ordered-set
Source0: https://pypi.python.org/packages/source/o/%{short_name}/%{short_name}-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -50,11 +50,11 @@ entry has an index that can be looked up.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py nosetests
%pytest test.py
%files %{python_files}
%license MIT-LICENSE
%doc README
%doc README.md
%{python_sitelib}/%{dir_name}-*
%{python_sitelib}/%{dir_name}.py*
%pycache_only %{python3_sitelib}/__pycache__/%{dir_name}.*