commit python-bitarray for openSUSE:Factory

2023-12-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-12-28 23:01:04

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.28375 (New)


Package is "python-bitarray"

Thu Dec 28 23:01:04 2023 rev:25 rq:1135240 version:2.9.1

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-12-19 23:16:05.562102117 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.28375/python-bitarray.changes   
2023-12-28 23:02:41.741144668 +0100
@@ -1,0 +2,24 @@
+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
+
+---

Old:

  bitarray-2.8.5.tar.gz

New:

  bitarray-2.9.1.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.MKfcKm/_old  2023-12-28 23:02:42.289164697 +0100
+++ /var/tmp/diff_new_pack.MKfcKm/_new  2023-12-28 23:02:42.293164843 +0100
@@ -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

++ bitarray-2.8.5.tar.gz -> bitarray-2.9.1.tar.gz ++
 3199 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-12-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-12-06 23:47:57

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.25432 (New)


Package is "python-bitarray"

Wed Dec  6 23:47:57 2023 rev:23 rq:1131186 version:2.8.4

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-11-14 21:43:40.962063881 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.25432/python-bitarray.changes   
2023-12-06 23:48:23.275619228 +0100
@@ -1,0 +2,9 @@
+Tue Dec  5 17:42:19 UTC 2023 - Dirk Müller 
+
+- update to 2.8.4:
+  * simplify ``copy_n()`` (remove special cases)
+  * add `word shift example C program
+  * and simplify ``shift_r8()``
+  * improve documentation and testing
+
+---

Old:

  bitarray-2.8.3.tar.gz

New:

  bitarray-2.8.4.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.ntkkPm/_old  2023-12-06 23:48:23.927643265 +0100
+++ /var/tmp/diff_new_pack.ntkkPm/_new  2023-12-06 23:48:23.927643265 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.8.3
+Version:2.8.4
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.8.3.tar.gz -> bitarray-2.8.4.tar.gz ++
 2393 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-11-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-11-14 21:43:32

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.17445 (New)


Package is "python-bitarray"

Tue Nov 14 21:43:32 2023 rev:22 rq:1125860 version:2.8.3

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-10-05 20:06:07.861167934 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.17445/python-bitarray.changes   
2023-11-14 21:43:40.962063881 +0100
@@ -1,0 +2,9 @@
+Tue Nov 14 12:07:00 UTC 2023 - Dirk Müller 
+
+- update to 2.8.3:
+  * ensure readonly attribute is set correctly when creating new
+objects
+  * optimize sparse bitarray compression for raw block type
+  * improve hash functions in Bloom filter example
+
+---

Old:

  bitarray-2.8.2.tar.gz

New:

  bitarray-2.8.3.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.cSaCwG/_old  2023-11-14 21:43:41.414080613 +0100
+++ /var/tmp/diff_new_pack.cSaCwG/_new  2023-11-14 21:43:41.414080613 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.8.2
+Version:2.8.3
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.8.2.tar.gz -> bitarray-2.8.3.tar.gz ++
 1821 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-10-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-10-05 20:04:57

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.28202 (New)


Package is "python-bitarray"

Thu Oct  5 20:04:57 2023 rev:21 rq:1115784 version:2.8.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-08-09 17:26:14.665750519 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.28202/python-bitarray.changes   
2023-10-05 20:06:07.861167934 +0200
@@ -1,0 +2,12 @@
+Thu Oct  5 09:32:42 UTC 2023 - Dirk Müller 
+
+- update to 2.8.2:
+  * improve error messages for masked assignment
+  * simplify test collection
+  * added ``pytest.ini`` to allow running pytest with no
+additional arguments
+  * ``util.sc_encode()``: avoid writing empty blocks at end of
+compressed stream, ie. skip encoding when total population
+count is reached
+
+---

Old:

  bitarray-2.8.1.tar.gz

New:

  bitarray-2.8.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.Uuq2JC/_old  2023-10-05 20:06:08.969207964 +0200
+++ /var/tmp/diff_new_pack.Uuq2JC/_new  2023-10-05 20:06:08.973208108 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.8.1
+Version:2.8.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.8.1.tar.gz -> bitarray-2.8.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.8.1/.github/workflows/build_wheels.yml 
new/bitarray-2.8.2/.github/workflows/build_wheels.yml
--- old/bitarray-2.8.1/.github/workflows/build_wheels.yml   2023-08-07 
01:06:01.0 +0200
+++ new/bitarray-2.8.2/.github/workflows/build_wheels.yml   2023-10-03 
11:35:05.0 +0200
@@ -20,7 +20,7 @@
   platforms: all
 
   - name: Build wheels
-uses: pypa/cibuildwheel@v2.12.0
+uses: pypa/cibuildwheel@v2.16.1
 # to supply options, put them in 'env', like:
 env:
   # configure cibuildwheel to build native archs ('auto'), and some
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.8.1/CHANGE_LOG 
new/bitarray-2.8.2/CHANGE_LOG
--- old/bitarray-2.8.1/CHANGE_LOG   2023-08-07 01:06:01.0 +0200
+++ new/bitarray-2.8.2/CHANGE_LOG   2023-10-03 11:35:05.0 +0200
@@ -1,3 +1,14 @@
+2023-10-03   2.8.2:
+---
+  * update cibuildwheel to 2.16.1 in order to provide cp312 wheels on PyPI
+  * improve error messages for masked assignment
+  * simplify test collection
+  * added `pytest.ini` to allow running pytest with no additional arguments,
+see #208
+  * `util.sc_encode()`: avoid writing empty blocks at end of compressed
+stream, ie. skip encoding when total population count is reached
+
+
 2023-08-06   2.8.1:
 ---
   * use reconstructor function for pickling, see #207
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.8.1/README.rst 
new/bitarray-2.8.2/README.rst
--- old/bitarray-2.8.1/README.rst   2023-08-07 01:06:01.0 +0200
+++ new/bitarray-2.8.2/README.rst   2023-10-03 11:35:05.0 +0200
@@ -63,7 +63,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.8.1
+bitarray version: 2.8.2
 sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4]
 sys.prefix: /Users/ilan/Mini3/envs/py311
 pointer size: 64 bit
@@ -90,8 +90,8 @@
 assert bitarray.test().wasSuccessful()
 
 
-Using the module
-
+Usage
+-
 
 As mentioned above, bitarray objects behave very much like lists, so
 there is not too much to learn.  The biggest difference from list
@@ -411,7 +411,7 @@
 Reference
 =
 
-bitarray version: 2.8.1 -- `change log 
`__
+bitarray version: 2.8.2 -- `change log 
`__
 
 In the following, ``item`` and ``value`` are usually a single bit -
 an integer 0 or 1.
@@ -701,7 +701,7 @@
New in version 1.3.
 
 
-``test(verbosity=1, repeat=1)`` -> TextTestResult
+``test(verbosity=1)`` -> TextTestResult
Run self-test, and return unittest.runner.TextTestResult object.
 
 
diff -urN '--exclude=CVS' 

commit python-bitarray for openSUSE:Factory

2023-08-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-08-09 17:26:10

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.11712 (New)


Package is "python-bitarray"

Wed Aug  9 17:26:10 2023 rev:20 rq:1103087 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-06-26 18:15:43.398371587 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.11712/python-bitarray.changes   
2023-08-09 17:26:14.665750519 +0200
@@ -1,0 +2,11 @@
+Wed Aug  9 07:48:36 UTC 2023 - Dirk Müller 
+
+- update to 2.8.1:
+  * use reconstructor function for pickling
+  * simplify implementation of ``.reverse()``
+  * allow `integer sequence indexing `__ by list of
+indices,
+  * add `masked indexing `__ by bitarray masks,
+  * improve ``.bytereverse()`` docstring, see issue
+
+---

Old:

  bitarray-2.7.6.tar.gz

New:

  bitarray-2.8.1.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.qvqUFu/_old  2023-08-09 17:26:15.317754578 +0200
+++ /var/tmp/diff_new_pack.qvqUFu/_new  2023-08-09 17:26:15.321754603 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.6
+Version:2.8.1
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.6.tar.gz -> bitarray-2.8.1.tar.gz ++
 1709 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-06-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-06-26 18:15:40

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.15902 (New)


Package is "python-bitarray"

Mon Jun 26 18:15:40 2023 rev:19 rq:1095233 version:2.7.6

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-06-12 15:26:51.051193781 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.15902/python-bitarray.changes   
2023-06-26 18:15:43.398371587 +0200
@@ -1,0 +2,6 @@
+Sun Jun 25 19:01:34 UTC 2023 - Dirk Müller 
+
+- update to 2.7.6:
+  * remove caching hash value
+
+---

Old:

  bitarray-2.7.5.tar.gz

New:

  bitarray-2.7.6.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.f8Y1UC/_old  2023-06-26 18:15:44.110374750 +0200
+++ /var/tmp/diff_new_pack.f8Y1UC/_new  2023-06-26 18:15:44.118374785 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.5
+Version:2.7.6
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.5.tar.gz -> bitarray-2.7.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.5/CHANGE_LOG 
new/bitarray-2.7.6/CHANGE_LOG
--- old/bitarray-2.7.5/CHANGE_LOG   2023-06-10 21:56:55.0 +0200
+++ new/bitarray-2.7.6/CHANGE_LOG   2023-06-24 23:18:21.0 +0200
@@ -1,3 +1,8 @@
+2023-06-24   2.7.6:
+---
+  * remove caching hash value, fixes issue #201
+
+
 2023-06-10   2.7.5:
 ---
   * fix for pypy3.9-v7.3.11, #198 (fixes #188)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.5/README.rst 
new/bitarray-2.7.6/README.rst
--- old/bitarray-2.7.5/README.rst   2023-06-10 21:56:55.0 +0200
+++ new/bitarray-2.7.6/README.rst   2023-06-24 23:18:21.0 +0200
@@ -63,7 +63,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.7.5
+bitarray version: 2.7.6
 sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4]
 sys.prefix: /Users/ilan/Mini3/envs/py311
 pointer size: 64 bit
@@ -407,7 +407,7 @@
 Reference
 =
 
-bitarray version: 2.7.5 -- `change log 
`__
+bitarray version: 2.7.6 -- `change log 
`__
 
 In the following, ``item`` and ``value`` are usually a single bit -
 an integer 0 or 1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.5/bitarray/__init__.py 
new/bitarray-2.7.6/bitarray/__init__.py
--- old/bitarray-2.7.5/bitarray/__init__.py 2023-06-10 21:56:55.0 
+0200
+++ new/bitarray-2.7.6/bitarray/__init__.py 2023-06-24 23:18:21.0 
+0200
@@ -35,13 +35,9 @@
 
 def __hash__(self):
 "Return hash(self)."
-try:
-return self._hash
-except AttributeError:
-# ensure hash is independent of endianness
-a = self if self.endian() == 'big' else bitarray(self, 'big')
-self._hash = hash((len(a), a.tobytes()))
-return self._hash
+# ensure hash is independent of endianness
+a = self if self.endian() == 'big' else bitarray(self, 'big')
+return hash((len(a), a.tobytes()))
 
 # Technically the code below is not necessary, as all these methods will
 # raise a TypeError on read-only memory.  However, with a different error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.5/bitarray/_bitarray.c 
new/bitarray-2.7.6/bitarray/_bitarray.c
--- old/bitarray-2.7.5/bitarray/_bitarray.c 2023-06-10 21:56:55.0 
+0200
+++ new/bitarray-2.7.6/bitarray/_bitarray.c 2023-06-24 23:18:21.0 
+0200
@@ -2237,32 +2237,32 @@
 return 0;
 }
 
-#define BITWISE_FUNC(name, inplace, ostr)\
-static PyObject *\
-bitarray_ ## name (PyObject *self, PyObject *other)  \
-{\
-PyObject *res;   \
- \
-if 

commit python-bitarray for openSUSE:Factory

2023-06-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-06-12 15:25:58

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.15902 (New)


Package is "python-bitarray"

Mon Jun 12 15:25:58 2023 rev:18 rq:1092275 version:2.7.5

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-03-07 16:50:42.485702589 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.15902/python-bitarray.changes   
2023-06-12 15:26:51.051193781 +0200
@@ -1,0 +2,9 @@
+Sun Jun 11 11:51:40 UTC 2023 - Dirk Müller 
+
+- update to 2.7.5:
+  * fix for pypy3.9-v7.3.11
+  * register ``bitarray`` as ``abc.MutableSequence``
+  * improve documentation regarding type when indexing single
+  * bitarray items
+
+---

Old:

  bitarray-2.7.3.tar.gz

New:

  bitarray-2.7.5.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.krW5sz/_old  2023-06-12 15:26:52.027199555 +0200
+++ /var/tmp/diff_new_pack.krW5sz/_new  2023-06-12 15:26:52.035199602 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.3
+Version:2.7.5
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.3.tar.gz -> bitarray-2.7.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.3/.github/workflows/build_wheels.yml 
new/bitarray-2.7.5/.github/workflows/build_wheels.yml
--- old/bitarray-2.7.3/.github/workflows/build_wheels.yml   2023-02-21 
00:10:29.0 +0100
+++ new/bitarray-2.7.5/.github/workflows/build_wheels.yml   2023-06-10 
21:56:55.0 +0200
@@ -8,7 +8,7 @@
 runs-on: ${{ matrix.os }}
 strategy:
   matrix:
-os: [ubuntu-20.04, windows-2019, macos-10.15]
+os: [ubuntu-20.04, windows-2019, macos-11]
 
 steps:
   - uses: actions/checkout@v2
@@ -25,7 +25,6 @@
 env:
   # configure cibuildwheel to build native archs ('auto'), and some
   # emulated ones
-  CIBW_SKIP: pp*
   CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x
   CIBW_ARCHS_MACOS: x86_64 universal2 arm64
   CIBW_TEST_COMMAND: python -c "import bitarray; assert 
bitarray.test().wasSuccessful()"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.3/CHANGE_LOG 
new/bitarray-2.7.5/CHANGE_LOG
--- old/bitarray-2.7.3/CHANGE_LOG   2023-02-21 00:10:29.0 +0100
+++ new/bitarray-2.7.5/CHANGE_LOG   2023-06-10 21:56:55.0 +0200
@@ -1,3 +1,18 @@
+2023-06-10   2.7.5:
+---
+  * fix for pypy3.9-v7.3.11, #198 (fixes #188)
+  * enable building wheels for PyPy
+
+
+2023-05-29   2.7.4:
+---
+  * register `bitarray` as `abc.MutableSequence`, see #196
+  * cibuildwheel: update macOS version to 11 from unsupported 10.15, see
+https://github.com/actions/runner-images/issues/5583
+  * improve documentation regarding type when indexing single
+bitarray items, #192
+
+
 2023-02-20   2.7.3:
 ---
   * fix popcount64 name conflict on NetBSD, #189
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.3/README.rst 
new/bitarray-2.7.5/README.rst
--- old/bitarray-2.7.3/README.rst   2023-02-21 00:10:29.0 +0100
+++ new/bitarray-2.7.5/README.rst   2023-06-10 21:56:55.0 +0200
@@ -63,7 +63,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.7.3
+bitarray version: 2.7.5
 sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4]
 sys.prefix: /Users/ilan/Mini3/envs/py311
 pointer size: 64 bit
@@ -76,7 +76,7 @@
 .
 
 --
-Ran 467 tests in 0.460s
+Ran 468 tests in 0.460s
 
 OK
 
@@ -118,6 +118,12 @@
 >>> a = bitarray(lst)  # initialize from iterable
 >>> a
 bitarray('10011')
+>>> a[2]# indexing a single item will always return an integer
+0
+>>> a[2:4]  # whereas indexing a slice will always return a bitarray
+bitarray('01')
+>>> a[2:3]  # even when the slice length is just one
+bitarray('0')
 >>> 

commit python-bitarray for openSUSE:Factory

2023-03-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-03-07 16:50:06

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.31432 (New)


Package is "python-bitarray"

Tue Mar  7 16:50:06 2023 rev:17 rq:1069754 version:2.7.3

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-02-16 16:55:58.754731167 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.31432/python-bitarray.changes   
2023-03-07 16:50:42.485702589 +0100
@@ -1,0 +2,14 @@
+Mon Mar  6 21:24:14 UTC 2023 - Dirk Müller 
+
+- update to 2.7.3:
+  * 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
+  * improve testing
+
+---

Old:

  bitarray-2.7.2.tar.gz

New:

  bitarray-2.7.3.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.ju80xP/_old  2023-03-07 16:50:43.009705347 +0100
+++ /var/tmp/diff_new_pack.ju80xP/_new  2023-03-07 16:50:43.017705389 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.2
+Version:2.7.3
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.2.tar.gz -> bitarray-2.7.3.tar.gz ++
 1988 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-02-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-02-16 16:55:44

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.22824 (New)


Package is "python-bitarray"

Thu Feb 16 16:55:44 2023 rev:16 rq:1065971 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-02-11 21:57:50.223814417 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.22824/python-bitarray.changes   
2023-02-16 16:55:58.754731167 +0100
@@ -1,0 +2,10 @@
+Wed Feb 15 13:59:36 UTC 2023 - Dirk Müller 
+
+- update to 2.7.2:
+  * speedup all count functionality by using
+``__builtin_popcountll`` when available
+  * add ``popcount64()`` to ``bitarray.h`` - we assume now that
+``uint64_t`` is always available
+  * improve testing
+
+---

Old:

  bitarray-2.7.1.tar.gz

New:

  bitarray-2.7.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.LO5IPt/_old  2023-02-16 16:55:59.306733373 +0100
+++ /var/tmp/diff_new_pack.LO5IPt/_new  2023-02-16 16:55:59.314733406 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.1
+Version:2.7.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.1.tar.gz -> bitarray-2.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.1/CHANGE_LOG 
new/bitarray-2.7.2/CHANGE_LOG
--- old/bitarray-2.7.1/CHANGE_LOG   2023-02-10 16:30:12.0 +0100
+++ new/bitarray-2.7.2/CHANGE_LOG   2023-02-13 00:51:35.0 +0100
@@ -1,3 +1,12 @@
+2023-02-12   2.7.2:
+---
+  * speedup all count functionality by using `__builtin_popcountll` when
+available, see #187
+  * add `popcount64()` to `bitarray.h` - we assume now that `uint64_t` is
+always available
+  * improve testing
+
+
 2023-02-10   2.7.1:
 ---
   * optimize `util.sc_encode()`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.1/README.rst 
new/bitarray-2.7.2/README.rst
--- old/bitarray-2.7.1/README.rst   2023-02-10 16:30:12.0 +0100
+++ new/bitarray-2.7.2/README.rst   2023-02-13 00:51:35.0 +0100
@@ -63,20 +63,20 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.7.1
+bitarray version: 2.7.2
 sys.version: 3.11.0 (main, Oct 25 2022) [Clang 14.0.4]
 sys.prefix: /Users/ilan/Mini3/envs/py311
 pointer size: 64 bit
 sizeof(size_t): 8
 sizeof(bitarrayobject): 80
-PY_UINT64_T defined: 1
-USE_WORD_SHIFT: 1
+__clang__ or __GNUC__ defined: 1
+PY_LITTLE_ENDIAN (use word shift): 1
 DEBUG: 0
 .
 .
 
 --
-Ran 464 tests in 0.472s
+Ran 466 tests in 0.460s
 
 OK
 
@@ -401,7 +401,7 @@
 Reference
 =
 
-bitarray version: 2.7.1 -- `change log 
`__
+bitarray version: 2.7.2 -- `change log 
`__
 
 In the following, ``item`` and ``value`` are usually a single bit -
 an integer 0 or 1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.1/bitarray/_bitarray.c 
new/bitarray-2.7.2/bitarray/_bitarray.c
--- old/bitarray-2.7.1/bitarray/_bitarray.c 2023-02-10 16:30:12.0 
+0100
+++ new/bitarray-2.7.2/bitarray/_bitarray.c 2023-02-13 00:51:35.0 
+0100
@@ -193,24 +193,6 @@
 }
 }
 
-#ifdef PY_UINT64_T
-#define UINT64_BUFFER(self)  ((PY_UINT64_T *) (self)->ob_item)
-#define UINT64_WORDS(bytes)  ((bytes) >> 3)
-/* use 64-bit word shift only when the machine has little endian byteorder */
-#ifdef PY_LITTLE_ENDIAN
-#define USE_WORD_SHIFT  PY_LITTLE_ENDIAN
-#else
-#define USE_WORD_SHIFT  (*((PY_UINT64_T *) "\xff\0\0\0\0\0\0\0") == 0xff)
-#endif
-#else  /* !PY_UINT64_T */
-/* The UINT64_BUFFER macro only exists here in order to write code which
-   complies with and without PY_UINT64_T defined (in order to avoid
-   

commit python-bitarray for openSUSE:Factory

2023-02-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-02-11 21:57:12

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.1848 (New)


Package is "python-bitarray"

Sat Feb 11 21:57:12 2023 rev:15 rq:1064329 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-02-10 14:36:13.786246585 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.1848/python-bitarray.changes
2023-02-11 21:57:50.223814417 +0100
@@ -1,0 +2,6 @@
+Fri Feb 10 17:42:13 UTC 2023 - Dirk Müller 
+
+- update to 2.7.1:
+  * optimize ``util.sc_encode()``
+
+---

Old:

  bitarray-2.7.0.tar.gz

New:

  bitarray-2.7.1.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.dr6evN/_old  2023-02-11 21:57:50.575816609 +0100
+++ /var/tmp/diff_new_pack.dr6evN/_new  2023-02-11 21:57:50.583816659 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.7.0
+Version:2.7.1
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.7.0.tar.gz -> bitarray-2.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.0/CHANGE_LOG 
new/bitarray-2.7.1/CHANGE_LOG
--- old/bitarray-2.7.0/CHANGE_LOG   2023-02-05 17:58:14.0 +0100
+++ new/bitarray-2.7.1/CHANGE_LOG   2023-02-10 16:30:12.0 +0100
@@ -1,3 +1,8 @@
+2023-02-10   2.7.1:
+---
+  * optimize `util.sc_encode()`
+
+
 2023-02-05   2.7.0:
 ---
   * add `util.sc_encode()` and `util.sc_decode()` for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.0/README.rst 
new/bitarray-2.7.1/README.rst
--- old/bitarray-2.7.0/README.rst   2023-02-05 17:58:14.0 +0100
+++ new/bitarray-2.7.1/README.rst   2023-02-10 16:30:12.0 +0100
@@ -63,7 +63,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.7.0
+bitarray version: 2.7.1
 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 @@
 Reference
 =
 
-bitarray version: 2.7.0 -- `change log 
`__
+bitarray version: 2.7.1 -- `change log 
`__
 
 In the following, ``item`` and ``value`` are usually a single bit -
 an integer 0 or 1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.7.0/bitarray/_util.c 
new/bitarray-2.7.1/bitarray/_util.c
--- old/bitarray-2.7.0/bitarray/_util.c 2023-02-05 17:58:14.0 +0100
+++ new/bitarray-2.7.1/bitarray/_util.c 2023-02-10 16:30:12.0 +0100
@@ -32,7 +32,7 @@
 return 0;
 }
 
-/* return new bitarray of length 'nbits' (with uninitialized buffer) and
+/* return new bitarray of length `nbits` (with uninitialized buffer) and
endianness given by the PyObject 'endian' */
 static bitarrayobject *
 new_bitarray(Py_ssize_t nbits, PyObject *endian)
@@ -639,8 +639,8 @@
 return 0;
 }
 
-/* Return new reference to bytes object from either str (unicode) or bytes.
-   On failure, set exception and return NULL. */
+/* Return new reference to bytes object from either ASCII str (unicode) or
+   bytes.  On failure, set exception and return NULL. */
 static PyObject *
 anystr_to_bytes(PyObject *obj)
 {
@@ -669,14 +669,14 @@
 {
 static char *kwlist[] = {"", "endian", NULL};
 PyObject *obj, *bytes, *endian = Py_None;
-bitarrayobject *a = NULL;
+bitarrayobject *a;
 
 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:hex2ba", kwlist,
  , ))
 return NULL;
 
 if ((bytes = anystr_to_bytes(obj)) == NULL)
-goto error;
+return NULL;
 
 a = new_bitarray(4 * PyBytes_GET_SIZE(bytes), endian);
 if (a == NULL)
@@ -688,7 +688,7 @@
 Py_DECREF(bytes);
 return (PyObject *) a;
  error:
-Py_XDECREF(bytes);
+Py_DECREF(bytes);
 Py_XDECREF((PyObject *) a);
 return NULL;
 }
@@ -854,7 +854,7 @@
 {
 static char *kwlist[] = {"", "", "endian", NULL};
 PyObject *obj, *bytes, *endian = Py_None;
-bitarrayobject *a = NULL;
+bitarrayobject *a;
 

commit python-bitarray for openSUSE:Factory

2023-02-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-02-10 14:36:03

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.1848 (New)


Package is "python-bitarray"

Fri Feb 10 14:36:03 2023 rev:14 rq:1064212 version:2.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2023-01-03 15:05:34.782584924 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.1848/python-bitarray.changes
2023-02-10 14:36:13.786246585 +0100
@@ -1,0 +2,14 @@
+Fri Feb 10 10:27:32 UTC 2023 - Dirk Müller 
+
+- update to 2.7.0:
+  * add util.sc_encode() and util.sc_decode() for
+compression of sparse bitarrays
+  * add util.any_and()
+  * add util.intervals()
+  * move functionality of the following utility functions
+entirely to C:
+hex2ba(), base2ba(), deserialize(), vl_decode(), zeros()
+  * improve error checking for unpickling
+  * add distance metrics
+
+---

Old:

  bitarray-2.6.2.tar.gz

New:

  bitarray-2.7.0.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.pPUeYO/_old  2023-02-10 14:36:14.562251222 +0100
+++ /var/tmp/diff_new_pack.pPUeYO/_new  2023-02-10 14:36:14.566251246 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.6.2
+Version:2.7.0
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.6.2.tar.gz -> bitarray-2.7.0.tar.gz ++
 4030 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2023-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2023-01-03 15:05:19

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.1563 (New)


Package is "python-bitarray"

Tue Jan  3 15:05:19 2023 rev:13 rq:1046261 version:2.6.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2022-09-23 14:15:58.470086292 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.1563/python-bitarray.changes
2023-01-03 15:05:34.782584924 +0100
@@ -1,0 +2,10 @@
+Mon Jan  2 18:35:34 UTC 2023 - Dirk Müller 
+
+- update to 2.6.2:
+  * optimize `richcompare()` for opposite endianness
+  * improve some docstrings add tests
+  * add documentation on shift operators, #181
+  * fix typo in iterable initializer description, #179
+  * optimize `richcompare()` 
+
+---

Old:

  bitarray-2.6.0.tar.gz

New:

  bitarray-2.6.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.NWBUYs/_old  2023-01-03 15:05:35.862591227 +0100
+++ /var/tmp/diff_new_pack.NWBUYs/_new  2023-01-03 15:05:35.866591250 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bitarray
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.6.0
+Version:2.6.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.6.0.tar.gz -> bitarray-2.6.2.tar.gz ++
 1756 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2022-09-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2022-09-23 14:15:21

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.2275 (New)


Package is "python-bitarray"

Fri Sep 23 14:15:21 2022 rev:12 rq:1005519 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2022-04-03 21:31:35.167427979 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.2275/python-bitarray.changes
2022-09-23 14:15:58.470086292 +0200
@@ -1,0 +2,36 @@
+Fri Sep 23 02:36:48 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to 2.6.0:
+  * add data descriptions: `.nbytes`, `.padbits`, `.readonly`
+  * allow optional `endian` argument to be `None` when creating bitarrays
+  * fix type annotation for `canonical_decode()`, #178
+  * frozenbitarray's padbits are now guaranteed to be zero
+  * add tests
+
+- Update to 2.5.1:
+  * optimize `.reverse()`, see #177
+  * allow negative (byte) indices in `.bytereverse()`
+
+- Update to 2.5.0:
+  * add calculating of canonical Huffman codes `util.canonical_huffman()`
+and decoding thereof `util.canonical_decode()`, see #173
+  * allow creating "Huffman codes" from frequency maps with a single symbol
+in `util.huffman_code()` and `util.canonical_huffman()`, see #172
+  * allow bytes-like argument in `.frombytes()` and `.pack()` - previously,
+the arguments were limited to the `bytes` object, see #174
+  * allow bytes-like arguments in `util.deserialize()`
+  * add official [pyodide](https://pyodide.org/) support
+  * add [DEFLATE decompression](../examples/puff/) example
+  * optimize `.bytereverse()`
+  * optimize `delslice()` for cases like `del a[1:17:2]` when `a` is large
+  * fix `examples/huffman/compress.py` to handle files with 0 or 1 characters,
+see also #172
+  * add `skipIF` decorator for skipping tests
+  * add tests
+
+- Update to 2.4.1:
+  * improve `resize()`, see #167
+  * optimize `copy_n()` by avoiding loops, #171
+  * `.bytereverse()` no longer sets unused pad bits to zero 
+
+---

Old:

  bitarray-2.4.0.tar.gz

New:

  bitarray-2.6.0.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.QihYKH/_old  2022-09-23 14:15:58.942087392 +0200
+++ /var/tmp/diff_new_pack.QihYKH/_new  2022-09-23 14:15:58.946087401 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.4.0
+Version:2.6.0
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.4.0.tar.gz -> bitarray-2.6.0.tar.gz ++
 7337 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2022-04-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2022-04-03 21:31:10

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.1900 (New)


Package is "python-bitarray"

Sun Apr  3 21:31:10 2022 rev:11 rq:98 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2021-08-20 16:58:18.982833198 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.1900/python-bitarray.changes
2022-04-03 21:31:35.167427979 +0200
@@ -1,0 +2,9 @@
+Sun Mar 27 14:18:57 UTC 2022 - Dirk M??ller 
+
+- update to 2.4.0:
+  * enable building wheels for multiple platforms and Python versions using
+pypa/cibuildwheel, see #165 and #170 (thanks Brian Thorne, @hardbyte)
+  * use setuptools instead of distutils in `setup.py`, #168
+  * add missing type hinting for `.count()` step argument
+
+---

Old:

  bitarray-2.3.0.tar.gz

New:

  bitarray-2.4.0.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.WLeRYN/_old  2022-04-03 21:31:35.659422623 +0200
+++ /var/tmp/diff_new_pack.WLeRYN/_new  2022-04-03 21:31:35.663422580 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bitarray
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.3.0
+Version:2.4.0
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.3.0.tar.gz -> bitarray-2.4.0.tar.gz ++
 4232 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2021-08-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2021-08-20 16:57:54

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.1899 (New)


Package is "python-bitarray"

Fri Aug 20 16:57:54 2021 rev:10 rq:913269 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2021-07-20 15:40:15.921558365 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.1899/python-bitarray.changes
2021-08-20 16:58:18.982833198 +0200
@@ -1,0 +2,52 @@
+Thu Aug 19 12:55:23 UTC 2021 - John Paul Adrian Glaubitz 

+
+- Update to 2.3.0
+  * add optional `buffer` argument to `bitarray()` to import the buffer of
+another object, #141, #146, see also: [buffer protocol](buffer.rst)
+  * update `.buffer_info()` to include: a read-only flag, an imported buffer
+flag, and the number of buffer exports
+  * add optional start and stop arguments to `util.rindex()`
+  * add [memory-mapped file](../examples/mmapped-file.py) example
+  * ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')`
+  * add missing type hinting for new `.bytereverse()` arguments
+  * fix `.extend()` type annotations, #145
+  * avoid `.reverse()` using temporary memory
+  * make `.unpack()`, `util.serialize()`, `util.vl_encode()`
+and `.__reduce__()` more memory efficient
+  * add and improve tests
+- from version 2.2.5
+  * speedup `find_bit()` and `find_last()` using uint64 checking, this means
+a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()`
+  * add optional start and stop arguments to `.bytereverse()`
+  * add example to illustrate how
+[unaligned copying](../examples/copy_n.py) works internally
+  * add documentation
+  * add tests
+- from version 2.2.4
+  * use shift operations to speedup all unaligned copy operations, #142
+  * expose functionality to Python level only in debug mode for testing
+  * add and improve tests
+- from version 2.2.3
+  * speedup `repeat()`, #136
+  * speedup shift operations, #139
+  * optimize slice assignment with negative step, e.g.: `a[::-1] = 1`
+  * add tests
+- from version 2.2.2
+  * speedup slice assignment, see #132 and #135
+  * speedup bitwise operations, #133
+  * optimize `getbit()` and `setbit()` in `bitarray.h`
+  * fix TypeError messages when bitarray or int (0, 1) are expected (bool
+is a subclass of int)
+  * add and improve tests
+- from version 2.2.1
+  * improve documentation
+  * speedup `vl_encode()`
+  * `bitarray.h`: make `getbit()` always an (inline) function
+  * add assertions in C code
+- from version 2.2.0
+  * add `bitarray.util.vl_encode()` and `bitarray.util.vl_decode()` which
+uses a [variable length bitarray format](variable_length.rst), #131
+- from version 2.1.3
+  * Fix building with MSVC / Bullseye, #129
+
+---

Old:

  bitarray-2.1.2.tar.gz

New:

  bitarray-2.3.0.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.T6PQJG/_old  2021-08-20 16:58:19.558832321 +0200
+++ /var/tmp/diff_new_pack.T6PQJG/_new  2021-08-20 16:58:19.562832315 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.1.2
+Version:2.3.0
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.1.2.tar.gz -> bitarray-2.3.0.tar.gz ++
 6998 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2021-07-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2021-07-20 15:39:31

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.2632 (New)


Package is "python-bitarray"

Tue Jul 20 15:39:31 2021 rev:9 rq:907194 version:2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2021-06-12 20:10:35.453193903 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.2632/python-bitarray.changes
2021-07-20 15:40:15.921558365 +0200
@@ -1,0 +2,8 @@
+Sat Jul 17 08:25:28 UTC 2021 - Martin Hauke 
+
+- Update to 2.2.2
+  * support type hinting for all Python 3 versions (that bitarray
+supports, 3.5 and higher currently).
+  * add explicit endianness to two tests.
+
+---

Old:

  bitarray-2.1.1.tar.gz

New:

  bitarray-2.1.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.3isIX4/_old  2021-07-20 15:40:16.453559316 +0200
+++ /var/tmp/diff_new_pack.3isIX4/_new  2021-07-20 15:40:16.457559323 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:2.1.1
+Version:2.1.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-2.1.1.tar.gz -> bitarray-2.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.1.1/CHANGE_LOG 
new/bitarray-2.1.2/CHANGE_LOG
--- old/bitarray-2.1.1/CHANGE_LOG   2021-06-11 23:28:10.0 +0200
+++ new/bitarray-2.1.2/CHANGE_LOG   2021-06-14 02:02:50.0 +0200
@@ -1,3 +1,10 @@
+2021-06-13   2.1.2:
+---
+  * support type hinting for all Python 3 versions (that bitarray supports,
+3.5 and higher currently), fixed #128
+  * add explicit endianness to two tests, fixes #127
+
+
 2021-06-11   2.1.1:
 ---
   * add type hinting (see PEP 484, 561) using stub (`.pyi`) files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.1.1/Makefile new/bitarray-2.1.2/Makefile
--- old/bitarray-2.1.1/Makefile 2021-06-11 23:28:10.0 +0200
+++ new/bitarray-2.1.2/Makefile 2021-06-14 02:02:50.0 +0200
@@ -19,6 +19,10 @@
twine check dist/*
 
 
+mypy:
+   mypy examples/*.py examples/huffman/*.py
+
+
 clean:
rm -rf build dist
rm -f bitarray/*.o bitarray/*.so
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.1.1/README.rst 
new/bitarray-2.1.2/README.rst
--- old/bitarray-2.1.1/README.rst   2021-06-11 23:28:10.0 +0200
+++ new/bitarray-2.1.2/README.rst   2021-06-14 02:02:50.0 +0200
@@ -62,7 +62,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /Users/ilan/bitarray/bitarray
-bitarray version: 2.1.1
+bitarray version: 2.1.2
 sys.version: 2.7.15 (default, Mar  5 2020, 14:58:04) [GCC Clang 9.0.1]
 sys.prefix: /Users/ilan/Mini3/envs/py27
 pointer size: 64 bit
@@ -401,7 +401,7 @@
 Reference
 =
 
-bitarray version: 2.1.1 -- `change log 
`__
+bitarray version: 2.1.2 -- `change log 
`__
 
 In the following, ``item`` and ``value`` are usually a single bit -
 an integer 0 or 1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-2.1.1/bitarray/__init__.pyi 
new/bitarray-2.1.2/bitarray/__init__.pyi
--- old/bitarray-2.1.1/bitarray/__init__.pyi2021-06-11 23:28:10.0 
+0200
+++ new/bitarray-2.1.2/bitarray/__init__.pyi2021-06-14 02:02:50.0 
+0200
@@ -1,18 +1,18 @@
 """
-This stub, as well as util.pyi, have been tested with
-Python 3.9 and mypy 0.901
+This stub, as well as util.pyi, have been tested with all Python 3 versions
+that bitarray supports and mypy 0.902.
 """
 from collections.abc import Iterable, Iterator
 from unittest.runner import TextTestResult
 
-from typing import BinaryIO, Hashable, Union, overload
+from typing import Any, BinaryIO, Dict, Union, overload
 
 
-Codedict = dict[Hashable, bitarray]
+Codedict = Dict[Any, bitarray]
 
 
 class decodetree:
-def __init__(self, code: Codedict, /) -> None: ...
+def __init__(self, code: Codedict) -> None: ...
 def nodes(self) -> int: ...
 def todict(self) -> Codedict: ...
 
@@ -20,11 +20,11 @@
 class 

commit python-bitarray for openSUSE:Factory

2021-06-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2021-06-12 20:08:12

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.32437 (New)


Package is "python-bitarray"

Sat Jun 12 20:08:12 2021 rev:8 rq:899598 version:2.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2021-04-12 12:40:22.673579451 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.32437/python-bitarray.changes   
2021-06-12 20:10:35.453193903 +0200
@@ -1,0 +2,27 @@
+Sat Jun 12 08:07:51 UTC 2021 - Martin Hauke 
+
+- Update to 2.1.1
+  * add type hinting (see PEP 484, 561) using stub (`.pyi`) files
+- Update to 2.1.0
+  * add `.find()` method, see #122
+  * `.find()`, `.index()`, `.search()` and `.itersearch()` now all
+except both (sub-) bitarray as well as bool items to be
+searched for
+  * improve encode/decode error messages
+  * add [lexicographical permutations example](../examples/lexico.py)
+- Update to 2.0.1
+  * update documentation
+  * improve some error messages
+- Update to 2.0.0
+  * require more specific objects, int (0 or 1) or bool
+  * items are always returned as int 0 or 1
+  * remove `.length()` method (deprecated since 1.5.1 - use `len()`)
+  * in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff)
+  * `.tolist()` now always returns a list of integers (0 or 1)
+  * fix frozenbitarray hash function, see #121
+  * fix frozenbitarray being mutable by `<<=` and `>>=`
+  * support sequence protocol in `.extend()` (and bitarray creation)
+  * improve OverflowError messages from `util.int2ba()`
+  * add [hexadecimal example](../examples/hexadecimal.py)
+
+---

Old:

  bitarray-1.9.2.tar.gz

New:

  bitarray-2.1.1.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.BssmdJ/_old  2021-06-12 20:10:35.881194649 +0200
+++ /var/tmp/diff_new_pack.BssmdJ/_new  2021-06-12 20:10:35.885194655 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.9.2
+Version:2.1.1
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0
@@ -65,7 +65,7 @@
 
 %files %{python_files}
 %license LICENSE
-%doc examples CHANGE_LOG README.rst TODO
+%doc examples CHANGE_LOG README.rst
 %{python_sitearch}/bitarray*
 
 %changelog

++ bitarray-1.9.2.tar.gz -> bitarray-2.1.1.tar.gz ++
 7031 lines of diff (skipped)


commit python-bitarray for openSUSE:Factory

2021-04-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2021-04-12 12:37:29

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.2401 (New)


Package is "python-bitarray"

Mon Apr 12 12:37:29 2021 rev:7 rq:884519 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-11-08 20:59:16.604292769 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.2401/python-bitarray.changes
2021-04-12 12:40:22.673579451 +0200
@@ -1,0 +2,51 @@
+Sat Apr 10 07:45:02 UTC 2021 - Martin Hauke 
+
+- Update to 1.9.2
+  * update pythoncapi_compat: Fix support with PyPy 3.7
+- Update to 1.9.0
+  * add shift operations (``<<``, ``>>``, ``<<=``, ``>>=``)
+  * add ``bitarray.util.ba2base()`` and ``bitarray.util.base2ba()``,
+- Update to 1.8.2
+  * fix crash caused by unsupported types in binary operations,
+  * speedup initializing or extending a bitarray from another
+with different bit endianness.
+  * add formatting options to ``bitarray.util.pprint()``
+  * add and improve tests (all 291 tests run in less than half
+a second on a modern machine)
+- Update to 1.8.1
+  * moved implementation of and ``hex2ba()`` and ``ba2hex()``
+to C-level
+  * add ``bitarray.util.parity()``
+- Update to 1.8.0
+  * add ``bitarray.util.serialize()`` and
+``bitarray.util.deserialize()``
+  * allow whitespace (ignore space and ``\n\r\t\v``) in input
+strings; e.g. ``bitarray('01 11')`` or ``a += '10 00'``
+  * add ``bitarray.util.pprint()``
+  * When initializing a bitarray from another with different
+bit endianness, e.g. ``a = bitarray('110', 'little')``
+and ``b = bitarray(a, 'big')``, the buffer used to be
+simply copied, with consequence that ``a == b`` would
+result in ``False``.  This is fixed now, that is
+``a == b`` will always evaluate to ``True``.
+  * add test for loading existing pickle file (created using
+bitarray 1.5.0)
+- Update to 1.7.1
+  * Raise TypeError when incorrect index is used during
+assignment, e.g. ``a[1.5] = 1``
+  * raise TypeError (not IndexError) when assigning slice to
+incorrect type, e.g. ``a[1:4] = 1.2``
+  * improve some docstrings and tests
+- Update to 1.7.0
+  * add ``bitarray.util.urandom()``
+  * raise TypeError when trying to extend bitarrays from bytes
+on Python 3, ie. ``bitarray(b'011')`` and ``.extend(b'110')``.
+(Deprecated since 1.4.1)
+- Update to 1.6.2
+  * use ``Py_SET_TYPE()`` and ``Py_SET_SIZE()`` for Python 3.10
+  * add official Python 3.10 support
+  * fix slice assignment to same object,
+e.g. ``a[2::] = a`` or ``a[::-1] = a``,
+  * add bitarray.h,
+
+---

Old:

  bitarray-1.6.1.tar.gz

New:

  bitarray-1.9.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.rxOQI6/_old  2021-04-12 12:40:23.129579981 +0200
+++ /var/tmp/diff_new_pack.rxOQI6/_new  2021-04-12 12:40:23.133579986 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bitarray
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.6.1
+Version:1.9.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0
@@ -28,6 +28,7 @@
 BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
 BuildRequires:  %{python_module dbm}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -64,7 +65,7 @@
 
 %files %{python_files}
 %license LICENSE
-%doc examples AUTHORS CHANGE_LOG README.md TODO
+%doc examples CHANGE_LOG README.rst TODO
 %{python_sitearch}/bitarray*
 
 %changelog

++ bitarray-1.6.1.tar.gz -> bitarray-1.9.2.tar.gz ++
 9157 lines of diff (skipped)