Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps uncertainties from 3.2.2 to 3.2.3.

Release notes

Sourced from uncertainties's releases.

3.2.3 2025-April-21

Changes

  • Changes how numpy is handled as an optional dependency. Previously, importing a numpy-dependent function, like correlated_values, without numpy installed would result in an ImportError at import time. Now such a function can be imported but if the user attempts to execute it, a NotImplementedError is raised indicating that the function can't be used because numpy couldn't be imported.
  • Refactors the implementation for the calculation of the derivatives of the power function and improves the corresponding testing.

Adds:

  • Adds a small benchmarking suite to CI to guard against absolute performance regressions and accidental breakage of the lazy expansion algorithm whichs ensures O(N), rather than O(N^2), scaling complexity for operations involving many numbers with uncertainty. Established connectivity with codspeed.io<codspeed.io>_ to track benchmarking results. (#274)

Fixes:

  • Adds documentation for ufloat_fromstr behavior for strings which do not contain uncertainty. (#287)
  • Fixes typos in ufloat_fromstr docstring examples (#285)
  • Fixes readthedocs configuration so that the build passes (#254)
  • Fixes all doctests (#281)
  • Adjusts codecov.io configuration so that minor code coverage changes will not result in indications that tests are failing. Rather code coverage reports will be purely informational for code reviewers. Also fix other minor configuration issues. (#270)
  • Fixes a bug that resulted in a ZeroDivisionError while formatting very small numbers with uncertainty (#135)

Deprecates:

  • Certain umath functions and AffineScalarFunc/UFloat methods will be removed in a future release. A deprecation warning has been added to these functions and methods. The following umath functions are marked as deprecated: ceil, copysign, fabs, factorial, floor, fmod, frexp, ldexp, modf, trunc. The following AffineScalarFunc/UFloat methods are marked as deprecated: __floordiv__, __mod__, __abs__, __trunc__, __lt__, __le__, __gt__, __ge__.
Changelog

Sourced from uncertainties's changelog.

3.2.3 2025-April-18

Changes

  • Changes how numpy is handled as an optional dependency. Previously, importing a numpy-dependent function, like correlated_values, without numpy installed would result in an ImportError at import time. Now such a function can be imported but if the user attempts to execute it, a NotImplementedError is raised indicating that the function can't be used because numpy couldn't be imported.
  • Refactors the implementation for the calculation of the derivatives of the power function and improves the corresponding testing.

Adds:

  • Adds a small benchmarking suite to CI to guard against absolute performance regressions and accidental breakage of the lazy expansion algorithm whichs ensures O(N), rather than O(N^2), scaling complexity for operations involving many numbers with uncertainty. Established connectivity with codspeed.io<codspeed.io>_ to track benchmarking results. (#274)

Fixes:

  • Adds documentation for ufloat_fromstr behavior for strings which do not contain uncertainty. (#287)
  • Fixes typos in ufloat_fromstr docstring examples (#285)
  • Fixes readthedocs configuration so that the build passes (#254)
  • Fixes all doctests (#281)
  • Adjusts codecov.io configuration so that minor code coverage changes will not result in indications that tests are failing. Rather code coverage reports will be purely informational for code reviewers. Also fix other minor configuration issues. (#270)
  • Fixes a bug that resulted in a ZeroDivisionError while formatting very small numbers with uncertainty (#135)

Deprecates:

  • Certain umath functions and AffineScalarFunc/UFloat methods will be removed in a future release. A deprecation warning has been added to these functions and methods. The following umath functions are marked as deprecated: ceil, copysign, fabs, factorial, floor, fmod, frexp, ldexp, modf, trunc. The following AffineScalarFunc/UFloat methods are marked as deprecated: __floordiv__, __mod__, __abs__, __trunc__, __lt__, __le__, __gt__, __ge__.
Commits

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 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 <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 [uncertainties](https://github.com/lmfit/uncertainties) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/lmfit/uncertainties/releases)
- [Changelog](https://github.com/lmfit/uncertainties/blob/master/CHANGES.rst)
- [Commits](lmfit/uncertainties@3.2.2...3.2.3)

---
updated-dependencies:
- dependency-name: uncertainties
  dependency-version: 3.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 1, 2025
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.

1 participant