Skip to content

Update dependency bitarray to v2.9.3#7

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bitarray-2.x
Open

Update dependency bitarray to v2.9.3#7
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/bitarray-2.x

Conversation

@renovate

@renovate renovate Bot commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
bitarray ==2.6.0==2.9.3 age confidence

Release Notes

ilanschnell/bitarray (bitarray)

v2.9.3

Compare Source

  • add official Python 3.13 support
    • update cibuildwheel to 2.21.3
    • minor simplifications
    • fix some typos

v2.9.2

Compare Source

  • optimize initialization from strings by not constantly resizing buffer
    • optimize util.hex2ba() and util.base2ba() by avoiding unnecessary
      copies
    • optimize util.base2ba() and util.ba2base() for n=16 (hexadecimal)

v2.9.1

Compare Source

  • avoid buffer being unnecessarily initialized with 0s in several
    functions of the bitarray.util module
    • fix .count() type hint in pyi-file
    • improve testing

v2.9.0

Compare Source

  • deprecate support for Python 2 - Python 2.7 support will be removed
    in bitarray version 3.0,
    see roadmap
    • bitarray(n) for integer initializer n will always return a bitarray
      of length n with all items initialized to 0, see #​212
    • 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 (for descending order - starting with rightmost match)
    • 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

v2.8.5

Compare Source

  • speedup unaligned copies by always using word shifts (in combination
    with builtin byte swap 64 when available) when bit-endianness and
    machine byte-order are opposite
    • add HAVE_BUILTIN_BSWAP64 to header
    • avoid misaligned pointers when casting to (uint64_t *)
    • add tests

v2.8.4

Compare Source

v2.8.3

Compare Source

  • ensure readonly attribute is set correctly when creating new objects,
    see #​211
    • optimize sparse bitarray compression for raw block type
    • improve hash functions in Bloom filter example

v2.8.2

Compare Source

  • 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, i.e. skip encoding when total population count is reached

v2.8.1

Compare Source

  • use reconstructor function for pickling, see #​207
    • simplify implementation of .reverse()

v2.8.0

Compare Source

v2.7.6

Compare Source

  • remove caching hash value, fixes issue #​201

v2.7.5

Compare Source

  • fix for pypy3.9-v7.3.11, #​198 (fixes #​188)
    • enable building wheels for PyPy

v2.7.4

Compare Source

  • register bitarray as abc.MutableSequence, see #​196
    • cibuildwheel: update macOS version to 11 from unsupported 10.15, see
      actions/runner-images#5583
    • improve documentation regarding type when indexing single
      bitarray items, #​192

v2.7.3

Compare Source

  • 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

v2.7.2

Compare Source

  • 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

v2.7.1

Compare Source

  • optimize util.sc_encode()

v2.7.0

Compare Source

  • 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 example:
      dice, hamming, jaccard, kulczynski1, rogerstanimoto, russellrao,
      sokalmichener, sokalsneath, yule
    • add example sparse bitarray implementations

v2.6.2

Compare Source

  • optimize richcompare() for opposite endianness
    • improve some docstrings add tests

v2.6.1

Compare Source

  • add documentation on shift operators, #​181
    • fix typo in iterable initializer description, #​179
    • optimize richcompare()

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/bitarray-2.x branch from 5127657 to 3efb6a9 Compare February 11, 2024 07:22
@renovate
renovate Bot force-pushed the renovate/bitarray-2.x branch from 3efb6a9 to ada7777 Compare October 10, 2024 22:28
@renovate renovate Bot changed the title Update dependency bitarray to v2.9.2 Update dependency bitarray to v2.9.3 Oct 10, 2024
@renovate
renovate Bot force-pushed the renovate/bitarray-2.x branch from ada7777 to 39d9341 Compare July 16, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants