Skip to content

CI: (deps): Bump pint from 0.25.3 to 0.26.1 in /ci - #4134

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-pip-ci-pint-0.26.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-pip-ci-pint-0.26.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps pint from 0.25.3 to 0.26.1.

Changelog

Sourced from pint's changelog.

0.26.1 (2026-09-10)

  • Fix UnitRegistry(system="imperial") returning US units instead of imperial ones for shared names like gallon or pint (#2408)
  • Give UnitRegistry's magnitude type parameter a default, so ureg = UnitRegistry() needs no annotation (#2245)

0.26.0 (2026-09-10)

Version changes

  • Drop support for Python 3.11 in favour of Python 3.14 (#2304)
  • Bump minimum numpy version to 2.0.0

Major changes

  • Allow string parsing of offset units (#386)
  • Remove the ambiguous Nm alias from number_meter (Textile group), since it's commonly expected to mean newton-meter (torque) (#1966)
  • Support *, /, +, and - between Quantity and datetime.timedelta, converting the timedelta to a Quantity in seconds (#2348)
  • Accept strings in Quantity.to_preferred() and Quantity.ito_preferred() preferred unit lists (#2185)
  • Allow UnitRegistry.wraps() to pass through arbitrary **kwargs without requiring a unit slot (#2175)
  • Treat None as dimensionless destination units for Quantity.to() and Quantity.ito() (#2174)
  • Add system parameter to to_base_units and ito_base_units to allow converting to the base units of a specific unit system (#2297)
  • Quantity now converts datetime.timedelta objects to seconds or specified units when initializing a Quantity with a datetime.timedelta value. (#1978)
  • Improve type annotations for Quantity (#2302, #2303)
  • Improve type annotations for Quantity's __new__ and document support for arithmetic with datetime.timedelta introduced in #2348 at the typing level (#2373)

Formatting changes

  • Add / unit modifier to pretty-print fractional exponents as a fraction (e.g. s**1.5 -> s³ᐟ²) (#60)
  • Move SortFunc and the sort_by_* functions to the public pint.delegates.formatter module (#2086)
  • Support the superscript decimal point (U+22C5) and fraction slash (U+2E0D) in unit exponents, e.g. gr⁰⋅³³³ (grain**0.333) and gr¹⸍³ (grain**(1/3)) (#2250)
  • Prefer the Greek mu μ (U+03BC) over the micro sign µ (U+00B5) as the default symbol for the micro- prefix and micron, matching the Unicode standard's recommendation (#2177)
  • Document how to control unit order in compound unit strings via default_sort_func and dim_order (#2086)
  • Updated repr for various objects so that eval(repr(...)) works (#1495)
  • Fix format specs with a width/fill/alignment (e.g. f"{q:20.1f}") not honoring the requested field width for quantities, because the width was applied only to the magnitude before the unit was appended. The width/fill/alignment now applies to the whole formatted quantity while sign/precision/type/zero-padding stay with the magnitude (#1798)
  • Fix format_unit not respecting the ^ flag for negative powers on standalone Unit objects (e.g. format(Unit("second")**-1, "~^P") returning "1/s" instead of "s⁻¹") (#2313)
  • Fix regression when using magnitude format specs in string formats (#2291)

Minor changes

  • Add a "Try Pint in your browser" page to the docs with an in-browser JupyterLite console and notebook, requiring no local install (#2372)
  • Switch CodSpeed CI benchmarks to simulation mode to fix a walltime environment warning.
  • Document that instantiating Quantity from a (magnitude, unit) pair is significantly faster than from a string or by multiplying by a unit (#1873)
  • Document registry preprocessors with an example for parsing non-standard square-unit spellings (#1211, #2062)
  • Add beats per minute (beats_per_minute, bpm) (#2286)
  • Document how custom duck array classes can register as upcast types and mark the public upcast type map as mutable (#2063)

... (truncated)

Commits
  • 5a27ca2 Preparing for release 0.26.1
  • 7b173b7 Give UnitRegistry's magnitude parameter a default (#2407)
  • cf61c85 Fix UnitRegistry(system="imperial") returning US units (#2408)
  • 848af34 Back to development: 0.26.1
  • 059792c Preparing for release 0.26
  • 7107f9f Prep for release 0.26
  • 6fc0533 Document that Quantity(value, unit) beats string/multiply construction (#2384)
  • bbc6b4c Add / unit modifier to pretty-print fractional exponents as a fraction (#2382)
  • 0cb09dc Format negative magnitudes with the pretty exponent (#2371)
  • d07ca63 Fix DimensionalityError from floating-point noise in fractional exponents (#2...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pint](https://github.com/hgrecco/pint) from 0.25.3 to 0.26.1.
- [Changelog](https://github.com/hgrecco/pint/blob/master/CHANGES)
- [Commits](hgrecco/pint@0.25.3...0.26.1)

---
updated-dependencies:
- dependency-name: pint
  dependency-version: 0.26.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong) labels Sep 14, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 14, 2026 14:13
@dependabot dependabot Bot added the Type: Maintenance Updates and clean ups (but not wrong) label Sep 14, 2026
@dependabot
dependabot Bot requested review from dcamron and removed request for a team September 14, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants