openscm / scmdata

Handling of Simple Climate Model data
https://scmdata.readthedocs.io
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

chore(deps): update pint requirement from <0.20 to <0.22 #271

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on pint to permit the latest version.

Changelog

Sourced from pint's changelog.

0.21.1 (2023-05-20)

  • No problems reported with rc1.

0.21.1rc1 (2023-05-19)

  • Allow non-quantity atol parameters for isclose and allclose. (PR #1783)

0.21 (2023-05-01)

  • 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)

... (truncated)

Commits
  • cc7d037 Preparing for 0.21.1
  • fc029c5 Preparing release 0.21.1rc1
  • 967a7d5 Update CHANGES
  • 2e4baa2 add a special implementation for isclose and allclose
  • d3d53d5 check that non-quantity atol do not raise
  • ef3a6ec Preparing release 0.21
  • e4a0cbf Add zest releaser to setup.cfg
  • 9875438 Improved MANIFEST.in
  • f3f2158 Merge pull request #1762 from jules-ch/fix-upcast-types
  • f7da980 fix(upcast): Fix upcast function
  • Additional commits viewable in compare view


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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)
lewisjared commented 1 year ago

Hmm interesting that this hasn't included 0.22. There might be other constraints that clash

znicholls commented 1 year ago

Might have to upgrade pint-pandas at the same time to make this work

znicholls commented 1 year ago

Might have to upgrade pint-pandas at the same time to make this work

Only v 0.3 is being installed in the CI for reasons that aren't immediattely obvious to me

phackstock commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

Sorry, only users with push access can use that command.

phackstock commented 1 year ago

@znicholls or @lewisjared now that openscm supports pandas 2.0 could you rebase this PR to see if that fixes the issue? I don't have the permissions to do that.

lewisjared commented 1 year ago

Don' think it will work as we need to resolve #234 @dependabot rebase

dependabot[bot] commented 1 year ago

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

dependabot[bot] commented 1 year ago

Looks like pint is no longer updatable, so this is no longer needed.