Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency pint to v0.24 - autoclosed #176

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 18, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pint 0.20.1 -> 0.24 age adoption passing confidence

Release Notes

hgrecco/pint (pint)

v0.24

Compare Source

  • Fix detection of invalid conversion between offset and delta units. (PR #​1905)
  • Added dBW, decibel Watts, which is used in RF high power applications
  • NumPy 2.0 support
    (PR #​1985, #​1971)
  • Implement numpy roll (Related to issue #​981)
  • Implement numpy correlate
    (PR #​1990)
  • Add dim_sort function to _formatter_helpers.
  • Add dim_order and default_sort_func properties to FullFormatter.
    (PR #​1926, fixes Issue #​1841)
  • Documented packages using pint.
    (PR #​1960)
  • Fixed bug causing operations between arrays of quantity scalars and quantity holding
    array resulting in incorrect units.
    (PR #​1677)
  • Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
    (PR #​1977)
  • Added refractive index units.
    (PR #​1816)
  • Fix converting to offset units of higher dimension e.g. gauge pressure
    (PR #​1949)
  • Fix unhandled TypeError when auto_reduce_dimensions=True and non_int_type=Decimal
    (PR #​1853)
  • Improved error message in get_dimensionality() when non existent units are passed.
    (PR #​1874, Issue #​1716)

v0.23

Compare Source

  • Add _get_conversion_factor to registry with cache.
  • Homogenize input and ouput of internal regitry functions to
    facility typing, subclassing and wrapping.
    (_yield_unit_triplets, )
  • Generated downstream_status page to track the
    state of downstream projects.
  • Improve typing annotation.
  • Updated to flexparser 0.2.
  • Faster wraps
    (PR #​1862)
  • Add codspeed github action.
  • Move benchmarks to pytest-benchmarks.
  • Support pytest on python 3.12 wrt Fraction formatting change
    (#​1818)
  • Fixed Transformation type protocol.
    (PR #​1805, PR #​1832)
  • Documented to_preferred and created added an autoautoconvert_to_preferred registry option.
    (PR #​1803)
  • Enable Pint to parse uncertainty numbers.
    (See #​1611, #​1614)
  • Optimize matplotlib unit conversion for Quantity arrays
    (PR #​1819)
  • Add numpy.linalg.norm implementation.
    (PR #​1251)

v0.22

Compare Source

  • Drop Python 3.8 compatability following NEP-29.
  • Drop NumPy < 1.21 following NEP-29.
  • Improved typing experience.
  • Migrated fully to pyproject.toml.
  • Migrated to ruff.
  • In order to make static typing possible as required by mypy
    and similar tools, the way to subclass the registry has been
    changed.
  • Allow non-quantity atol parameters for isclose and allclose.
    (PR #​1783)

v0.21.1

Compare Source

v0.21

Compare Source

  • Add PEP621/631 support.
    (Issue #​1647)
  • Exposed matplotlib unit formatter (PR #​1703)
  • Fix error when when re-registering a formatter.
    (PR #​1629)
  • Add new SI prefixes: ronna-, ronto-, quetta-, quecto-.
    (PR #​1652)
  • Fix unit check with atol using np.allclose & np.isclose.
    (Issue #​1658)
  • Implementation for numpy.positive added for Quantity.
    (PR #​1663)
  • Changed frequency to angular frequency in the docs.
    (PR #​1668)
  • Remove deprecated alen numpy function
    (PR #​1678)
  • Updated URLs for log and offset unit errors.
    (PR #​1727)
  • Patched TYPE_CHECKING import regression.
    (PR #​1686)
  • Parse '°' along with previous text, rather than adding a space,
    allowing, eg 'Δ°C' as a unit.
    (PR #​1729)
  • Improved escaping of special characters for LaTeX format
    (PR #​1712)
  • Avoid addition of spurious trailing zeros when converting units and non-int-type is
    Decimal (PR #​1625).
  • Implementation for numpy.delete added for Quantity.
    (PR #​1669)
  • Fixed Quantity type returned from __dask_postcompute__.
    (PR #​1722)
  • Added Townsend unit
    (PR #​1738)
  • Fix get_compatible_units() in dynamically added units.
    (Issue #​1725)
  • Fix pint-convert script
    (Issue #​1646)
  • Honor non_int_type when dividing.
    (Issue #​1505)
  • Fix trapz, dot, and cross to work properly with non-multiplicative units
    (Issue #​1593)
Breaking Changes
  • Support percent and ppm units. Support the % symbol.
    (Issue #​1277)
  • Fix error when parsing subtraction operator followed by white space.
    (PR #​1701)
  • Removed Td as an alias for denier (within the Textile group)

Configuration

📅 Schedule: 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update dependency pint to v0.23 fix(deps): update dependency pint to v0.24 Jun 7, 2024
@renovate renovate bot changed the title fix(deps): update dependency pint to v0.24 fix(deps): update dependency pint to v0.24 - autoclosed Jun 24, 2024
@renovate renovate bot closed this Jun 24, 2024
@renovate renovate bot deleted the renovate/pint-0.x-lockfile branch June 24, 2024 12:06
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