From 6a7a43a0937f3459d34f93d0a8de51f0b54c8e8991f94a5991826f91e2022584 Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Sun, 10 Feb 2019 11:47:44 +0000 Subject: [PATCH] Accepting request 673139 from home:jayvdb:branches:devel:languages:python - Update to v4.5.1 + Use pyproject.toml to specify build dependencies. This requires pip 18 or later to build from source. - 4.5.0 + Add support for Python 3.6 and 3.7, and drop support for Python 3.3. + Raise an ``ImportError`` consistently on Python 3 if the C extension for BTrees is used but the ``persistent`` C extension is not available. Previously this could result in an odd ``AttributeError``. + Fix the possibility of a rare crash in the C extension when deallocating items. + Respect the ``PURE_PYTHON`` environment variable at runtime even if the C extensions are available. + Always attempt to build the C extensions, but make their success optional. + Fix a ``DeprecationWarning`` that could come from I and L objects in Python 2 in pure-Python mode. - Use %license OBS-URL: https://build.opensuse.org/request/show/673139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-BTrees?expand=0&rev=10 --- BTrees-4.4.1.tar.gz | 3 --- BTrees-4.5.1.tar.gz | 3 +++ python-BTrees.changes | 21 +++++++++++++++++++++ python-BTrees.spec | 14 ++++++++------ 4 files changed, 32 insertions(+), 9 deletions(-) delete mode 100644 BTrees-4.4.1.tar.gz create mode 100644 BTrees-4.5.1.tar.gz diff --git a/BTrees-4.4.1.tar.gz b/BTrees-4.4.1.tar.gz deleted file mode 100644 index f38dd7d..0000000 --- a/BTrees-4.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2738b71693971c1f7502888d649bef270c65f026db731e03d53f1ec4edfe8a3 -size 166206 diff --git a/BTrees-4.5.1.tar.gz b/BTrees-4.5.1.tar.gz new file mode 100644 index 0000000..16f2826 --- /dev/null +++ b/BTrees-4.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcc096c3cf92efd6b9365951f89118fd30bc209c9af83bf050a28151a9992786 +size 164930 diff --git a/python-BTrees.changes b/python-BTrees.changes index 054ed0e..f90a6e4 100644 --- a/python-BTrees.changes +++ b/python-BTrees.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sun Feb 10 11:14:42 UTC 2019 - John Vandenberg + +- Update to v4.5.1 + + Use pyproject.toml to specify build dependencies. This requires pip + 18 or later to build from source. +- 4.5.0 + + Add support for Python 3.6 and 3.7, and drop support for Python 3.3. + + Raise an ``ImportError`` consistently on Python 3 if the C extension for + BTrees is used but the ``persistent`` C extension is not available. + Previously this could result in an odd ``AttributeError``. + + Fix the possibility of a rare crash in the C extension when + deallocating items. + + Respect the ``PURE_PYTHON`` environment variable at runtime even if + the C extensions are available. + + Always attempt to build the C extensions, but make their success + optional. + + Fix a ``DeprecationWarning`` that could come from I and L objects in + Python 2 in pure-Python mode. +- Use %license + ------------------------------------------------------------------- Mon Jul 10 11:19:10 UTC 2017 - jengelh@inai.de diff --git a/python-BTrees.spec b/python-BTrees.spec index 3db02e5..3feb609 100644 --- a/python-BTrees.spec +++ b/python-BTrees.spec @@ -1,7 +1,7 @@ # # spec file for package python-BTrees # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,13 +13,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-BTrees -Version: 4.4.1 +Version: 4.5.1 Release: 0 Summary: Persistent B-tree object containers for Python License: ZPL-2.1 @@ -27,7 +27,7 @@ Group: Development/Libraries/Python Url: http://www.zope.org/Products/ZODB Source: https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module persistent-devel} +BuildRequires: %{python_module persistent-devel >= 4.1.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes @@ -37,7 +37,8 @@ BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module repoze.sphinx.autointerface} # Testing requirements: BuildRequires: %{python_module transaction} -Requires: python-persistent +BuildRequires: %{python_module zope.testrunner} +Requires: python-persistent >= 4.1.0 Requires: python-zope.interface BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages @@ -88,7 +89,8 @@ rm -rf BTrees.egg-info %files %{python_files} %defattr(-,root,root) -%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt PKG-INFO README.rst +%doc CHANGES.rst README.rst PKG-INFO +%license COPYRIGHT.txt LICENSE.txt %exclude %{python_sitearch}/BTrees/*.h %{python_sitearch}/*