Accepting request 673140 from 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 (forwarded request 673139 from jayvdb) OBS-URL: https://build.opensuse.org/request/show/673140 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-BTrees?expand=0&rev=6
This commit is contained in:
commit
41a94d14a4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2738b71693971c1f7502888d649bef270c65f026db731e03d53f1ec4edfe8a3
|
||||
size 166206
|
3
BTrees-4.5.1.tar.gz
Normal file
3
BTrees-4.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcc096c3cf92efd6b9365951f89118fd30bc209c9af83bf050a28151a9992786
|
||||
size 164930
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 10 11:14:42 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
@ -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}/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user