Commit Graph

2 Commits

Author SHA1 Message Date
Alper Ak
ea7b704b3f
python3-bitarray: switch to PEP-517 build backend
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-bitarray-3.4.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-22 17:39:11 -07:00
Wang Mingyu
81e2e64183
python3-bitarray: upgrade 3.3.1 -> 3.4.1
Changelog:
==========
* add 'pyproject.toml'
* implement 'bits2bytes()' in C
* optimize 'delslice()' when 'step' is larger than about 5
* consistently name '*_span()' and '*_range()' in C for
  invert, set and count
* organize and add tests
* remove '.endian()' method in favor of data descriptor '.endian'
* allow bitarray initializer 'bytes' or 'bytearray' to set buffer directly
* allow calling '.extend()' with 'bytes' object (although the only
  valid bytes are 0x00 and 0x01)
* add 'util.byteswap()'
* add 'util.correspond_all()'
* fix '.reverse()' for imported buffer
* drop Python 3.5 support
* add tests
* fix off-by-one-error in check for length of count argument
  in 'util.canonical_decode()'
* simplify 'util.int2ba()'
* add tests
* add [masked indexing example](../examples/masked.py)
* add [tricks example](../examples/tricks.py)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-21 07:39:36 -07:00