Accepting request 1035606 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1035606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-BTrees?expand=0&rev=14
This commit is contained in:
2022-11-15 12:18:17 +00:00
committed by Git OBS Bridge
4 changed files with 48 additions and 9 deletions

3
BTrees-4.11.0.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Sun Nov 6 17:30:11 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
- version update to 4.11.0 (2022-11-03):
* Add support for Python 3.11.
- version update to 4.10.1 (2022-09-12):
* Disable unsafe math optimizations in C code. (#184)
- version update to 4.10.0 (2022-03-09):
* Add support for Python 3.10.
- version update to 4.9.2 (2021-06-09):
* Fix fsBTree.TreeSet and fsBTree.BTree raising SystemError. See
issue 170.
* Fix all the fsBTree objects to provide the correct interfaces
and be instances of the appropriate collection ABCs. This was
done for the other modules in release 4.8.0.
* Fix the multiunion, union, intersection, and difference
functions when used with arbitrary iterables. Previously, the
iterable had to be pre-sorted, meaning only sequences like list
and tuple could reliably be used; this was not documented
though. If the iterable wasnt sorted, the function would
produce garbage output. Now, if the function detects an
arbitrary iterable, it automatically sorts a copy.
- version update to 4.9.1 (2021-05-27):
* Fix setting unknown class attributes on subclasses of BTrees
when using the C extension. This prevented subclasses from
being decorated with @component.adapter(). See issue 168.
- version update to 4.9.0 (2021-05-26):
* Fix the C implementation to match the Python implementation and
allow setting custom node sizes for an entire application
directly by changing BTree.max_leaf_size and
BTree.max_internal_size attributes, without having to create a
new subclass. These attributes can now also be read from the
classes in the C implementation. See issue 166.
* Add various small performance improvements for storing
zope.interface attributes on BTree and TreeSet as well as
deactivating persistent objects from this package.
- disable more tests, that suffer from the same problem as
testPurePython
-------------------------------------------------------------------
Thu Jan 13 07:09:07 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -2,7 +2,7 @@
# spec file for package python-BTrees
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
# Copyright (c) 2015-2022 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-BTrees
Version: 4.8.0
Version: 4.11.0
Release: 0
Summary: Persistent B-tree object containers for Python
License: ZPL-2.1
@@ -71,16 +70,17 @@ rm -rf BTrees.egg-info
}
%check
# testPurePython tests would require this step which setup.py test did:
# the failing tests would require this step which setup.py test did:
#%%{python_expand cp build/lib.linux-*/BTrees/*.so src/BTrees/}
# it can be overcome with --import-mode=append
%pytest_arch -k 'not testPurePython'
%pytest_arch -k 'not testPurePython and not testSubclassesCanHaveAttributes and not testCannotSetArbitraryAttributeOnBase'
%files %{python_files}
%doc CHANGES.rst README.rst PKG-INFO
%license COPYRIGHT.txt LICENSE.txt
%exclude %{python_sitearch}/BTrees/*.h
%{python_sitearch}/*
%{python_sitearch}/BTrees
%{python_sitearch}/BTrees-%{version}*-info
%files %{python_files devel}
%{python_sitearch}/BTrees/*.h