Skip to content

Bump bitmath from 1.3.3.1 to 2.1.1#840

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/bitmath-2.1.1
Open

Bump bitmath from 1.3.3.1 to 2.1.1#840
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/bitmath-2.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps bitmath from 1.3.3.1 to 2.1.1.

Release notes

Sourced from bitmath's releases.

2.1.1 Fixes some more PyPI workflow

No code changes. Just here to get the secure artifact pipeline happy again.

2.1.0 Release - Paperwork and best practices

A focused follow-up to last month's 2.0.0 modernization. The public API is essentially unchanged; the bulk of this release is supply-chain security work, new policy documentation, and a pass through OpenSSF's automated and human review processes.

If your code was happy on 2.0, it will be happy here too. The two breaking changes affect only code that inspected internal types directly or called the now-deprecated listdir() helper.

What's Changed

New Contributors

Full Changelog: timlnx/bitmath@v2.0.1...v2.1.0

2.0.0 Fixed PyPI Publishing

Hopefully this adds automatic pypi publishing on release publication

2.0.0 Is finally out!

bitmath 2.0.0

First major release in eight years. Python 3 only, one breaking pivot, and the decade-long backwards-compatibility guarantee still intact for any 1.x code already running on Py3.

Highlights

  • Python 3.9+ only. Python 2 support is gone, as promised in [issue #99](timlnx/bitmath#99).
  • New query_capacity() API — returns a Capacity(total, used, free) NamedTuple for any path or mount point. Cross-platform, no root required. This is the API you want for almost every "how big is this disk/volume?" question.
  • Windows disk capacity via query_device_capacity(), built on DeviceIoControl. Linux and Windows are both supported; macOS raises NotImplementedError because SIP blocks raw block-device access even for root.
  • Capacity math. bitmath objects now support floor division (//), modulo (%), and divmod — for chunk-and-remainder planning: how many 500 GB volumes fit into 14 TiB, and how much is left over?
  • f-string and format() support. bitmath objects implement __format__ per PEP 3101; f"{size:.2f} {size.unit}"'1.69 GiB'.
  • Four new NIST units: ZiB, YiB, Zib, Yib. The NIST_PREFIXES, NIST_STEPS, and ALL_UNIT_TYPES constants reflect reality again.
  • Thread-safe context manager. bitmath.format() now uses threading.local with proper save/restore semantics. Fixes #83.
  • best_prefix() bit-family fix. Bit-family inputs no longer silently convert into byte-family outputs. Fixes #95.

Breaking changes

Python 2 is gone — that's the headline. Six smaller changes came along with it:

... (truncated)

Commits
  • 8aafd7a Bump VERSION
  • 7781b96 Attach wheel, sdist, and PEP 740 attestations to GitHub release
  • 2dc1fb3 Fail publish workflow when release tag and VERSION file disagree
  • b699ba6 Separate SBOM from dist/ so PyPI publish stops choking on it
  • cf0c16d Apply linkcheck findings: kill redirects, drop stale anchors
  • c195bbc Wire up Sphinx linkcheck via make linkcheck
  • bc8ddfc Refresh canonical URLs across docsite and NEWS
  • b318110 Fix broken and insecure URLs across docsite and NEWS
  • b422138 Use dict form for source_suffix in Sphinx config
  • 971edb3 Write bitmath-2.1.0 release notes in NEWS.rst
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 2, 2026
@goat-ssh

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [bitmath](https://github.com/timlnx/bitmath) from 1.3.3.1 to 2.1.1.
- [Release notes](https://github.com/timlnx/bitmath/releases)
- [Changelog](https://github.com/timlnx/bitmath/blob/master/NEWS.rst)
- [Commits](timlnx/bitmath@1.3.3.1...v2.1.1)

---
updated-dependencies:
- dependency-name: bitmath
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/pip/bitmath-2.1.1 branch from c430e2b to 23bae46 Compare June 17, 2026 07:50
@goat-ssh goat-ssh requested a review from Copilot June 17, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the operator’s Python dependencies to use bitmath v2.1.1 (from v1.3.3.1), aligning with upstream’s newer releases while keeping the dependency pinned in setup.py.

Changes:

  • Bump bitmath from 1.3.3.1 to 2.1.1 in setup.py.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread setup.py
Comment on lines +53 to 54
"bitmath==2.1.1",
"importlib-metadata; python_version<'3.8'",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants