From ddbf75b8546210fbc9771b7d1d3f64775d0e6609 Mon Sep 17 00:00:00 2001 From: Ilan Schnell Date: Mon, 20 Feb 2023 17:10:29 -0600 Subject: [PATCH] add release date - update docs --- CHANGE_LOG | 3 ++- README.rst | 4 ++-- doc/changelog.rst | 16 ++++++++++++++++ doc/reference.rst | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGE_LOG b/CHANGE_LOG index 39cf4f20..f0630396 100644 --- a/CHANGE_LOG +++ b/CHANGE_LOG @@ -1,8 +1,9 @@ -2023-02-XX 2.7.3: +2023-02-20 2.7.3: ------------------- * fix popcount64 name conflict on NetBSD, #189 * even though PyPy is not actively supported, allow running tests for PyPy 3.7 and 3.8, see also #188 + * allow running `python setup.py test` * add official Python 3.12 support * simplify count functionality in util module * retire `bitcount_lookup[256]` table diff --git a/README.rst b/README.rst index 1c7f888e..30ac6052 100644 --- a/README.rst +++ b/README.rst @@ -63,7 +63,7 @@ Once you have installed the package, you may want to test it: $ python -c 'import bitarray; bitarray.test()' bitarray is installed in: /Users/ilan/bitarray/bitarray - bitarray version: 2.7.2 + bitarray version: 2.7.3 sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4] sys.prefix: /Users/ilan/Mini3/envs/py311 pointer size: 64 bit @@ -401,7 +401,7 @@ and can therefore be used as a dictionary key: Reference ========= -bitarray version: 2.7.2 -- `change log `__ +bitarray version: 2.7.3 -- `change log `__ In the following, ``item`` and ``value`` are usually a single bit - an integer 0 or 1. diff --git a/doc/changelog.rst b/doc/changelog.rst index 9ae88690..07c79684 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,22 @@ Change log ========== +**2.7.3** (2023-02-20): + +* fix popcount64 name conflict on NetBSD, `#189 `__ +* even though PyPy is not actively supported, allow running tests for + PyPy 3.7 and 3.8, see also `#188 `__ +* allow running ``python setup.py test`` +* add official Python 3.12 support +* simplify count functionality in util module +* retire ``bitcount_lookup[256]`` table +* improve ``util.count_n()`` error messages +* avoid ``util`` module tests from being run more than once in each + call to ``bitarray.test()`` when called multiple times in the same + Python process, see `#6e52e49a `__ +* improve testing + + **2.7.2** (2023-02-12): * speedup all count functionality by using ``__builtin_popcountll`` when diff --git a/doc/reference.rst b/doc/reference.rst index 0f514f8b..8d91b4f6 100644 --- a/doc/reference.rst +++ b/doc/reference.rst @@ -1,7 +1,7 @@ Reference ========= -bitarray version: 2.7.2 -- `change log `__ +bitarray version: 2.7.3 -- `change log `__ In the following, ``item`` and ``value`` are usually a single bit - an integer 0 or 1. @@ -342,7 +342,7 @@ This sub-module was added in version 1.2. ``count_n(a, n, value=1, /)`` -> int Return lowest index ``i`` for which ``a[:i].count(value) == n``. - Raises ``ValueError``, when n exceeds total count (``a.count(value)``). + Raises ``ValueError`` when ``n`` exceeds total count (``a.count(value)``). New in version 2.3.6: optional value argument.