From 06e752e37da1286e8f22acd892a00e1c2f468b20690f0a22da0821aa8b3c6b85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 09:31:03 +0000 Subject: [PATCH] - update to 2.9.1: * avoid buffer being unnecessarily initialized with 0s in several functions of the ``bitarray.util`` module * fix ``.count()`` type hint in pyi-file * improve testing * deprecate support for Python 2 - Python 2.7 support will be removed in bitarray version 3.0 * ``bitarray(n)`` for integer initializer ``n`` will always return a bitarray of length ``n`` with all items initialized to ``0`` * allow sub-bitarray in ``.count()``, `#212 * add ``util.ones()`` ``.find()`` and ``.index()``: add keyword argument ``right`` for rightmost index * ``.itersearch()``: add start and stop argument, and keyword * argument ``right`` * deprecate ``util.rindex()`` (will be removed in 3.0 release), * use ``.index(..., right=True)`` instead * deprecate ``util.make_endian()`` (will be removed in 3.0 release), * use ``bitarray(..., endian=...)`` instead OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=48 --- bitarray-2.8.5.tar.gz | 3 --- bitarray-2.9.1.tar.gz | 3 +++ python-bitarray.changes | 24 ++++++++++++++++++++++++ python-bitarray.spec | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 bitarray-2.8.5.tar.gz create mode 100644 bitarray-2.9.1.tar.gz diff --git a/bitarray-2.8.5.tar.gz b/bitarray-2.8.5.tar.gz deleted file mode 100644 index 0ed1d5e..0000000 --- a/bitarray-2.8.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:473b76b1d58e5dbb46ce8a042a4ac617f3cba8e2d4c1dbe1e7f49a3de0e006ce -size 178770 diff --git a/bitarray-2.9.1.tar.gz b/bitarray-2.9.1.tar.gz new file mode 100644 index 0000000..d8ee3df --- /dev/null +++ b/bitarray-2.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36a2cbd3938c1c513960d933c2966b7fe4038f7ef736f0760f8e1fcf4864a286 +size 182463 diff --git a/python-bitarray.changes b/python-bitarray.changes index 526066f..a21ce94 100644 --- a/python-bitarray.changes +++ b/python-bitarray.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Wed Dec 27 09:29:57 UTC 2023 - Dirk Müller + +- update to 2.9.1: + * avoid buffer being unnecessarily initialized with 0s in + several functions of the ``bitarray.util`` module + * fix ``.count()`` type hint in pyi-file + * improve testing + * deprecate support for Python 2 - Python 2.7 support will be + removed in bitarray version 3.0 + * ``bitarray(n)`` for integer initializer ``n`` will always + return a bitarray of length ``n`` with all items initialized + to ``0`` + * allow sub-bitarray in ``.count()``, `#212 + * add ``util.ones()`` ``.find()`` and ``.index()``: + add keyword argument ``right`` for rightmost index + * ``.itersearch()``: add start and stop argument, and keyword + * argument ``right`` + * deprecate ``util.rindex()`` (will be removed in 3.0 release), + * use ``.index(..., right=True)`` instead + * deprecate ``util.make_endian()`` (will be removed in 3.0 + release), + * use ``bitarray(..., endian=...)`` instead + ------------------------------------------------------------------- Mon Dec 11 22:13:34 UTC 2023 - Dirk Müller diff --git a/python-bitarray.spec b/python-bitarray.spec index d85032c..bde7c10 100644 --- a/python-bitarray.spec +++ b/python-bitarray.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bitarray -Version: 2.8.5 +Version: 2.9.1 Release: 0 Summary: Efficient Arrays of Booleans License: Python-2.0