pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-uncertainties
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 23 15:11:31 UTC 2025
Modified Files:
pkgsrc/math/py-uncertainties: Makefile PLIST distinfo
Log Message:
py-uncertainties: updated to 3.2.3
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.
Fixes:
- Adds documentation for `ufloat_fromstr` behavior for strings which do
not contain uncertainty.
- Fixes typos in `ufloat_fromstr` docstring examples
- Fixes `readthedocs` configuration so that the build passes
- Fixes all doctests
- 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.
- Fixes a bug that resulted in a `ZeroDivisionError` while formatting
very small numbers with uncertainty
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__`.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/math/py-uncertainties/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/py-uncertainties/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/py-uncertainties/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-uncertainties/Makefile
diff -u pkgsrc/math/py-uncertainties/Makefile:1.21 pkgsrc/math/py-uncertainties/Makefile:1.22
--- pkgsrc/math/py-uncertainties/Makefile:1.21 Tue Apr 15 16:31:40 2025
+++ pkgsrc/math/py-uncertainties/Makefile Wed Apr 23 15:11:31 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2025/04/15 16:31:40 adam Exp $
+# $NetBSD: Makefile,v 1.22 2025/04/23 15:11:31 adam Exp $
-DISTNAME= uncertainties-3.2.2
+DISTNAME= uncertainties-3.2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=u/uncertainties/}
Index: pkgsrc/math/py-uncertainties/PLIST
diff -u pkgsrc/math/py-uncertainties/PLIST:1.4 pkgsrc/math/py-uncertainties/PLIST:1.5
--- pkgsrc/math/py-uncertainties/PLIST:1.4 Tue Apr 15 16:31:40 2025
+++ pkgsrc/math/py-uncertainties/PLIST Wed Apr 23 15:11:31 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/15 16:31:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/04/23 15:11:31 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -10,6 +10,15 @@ ${PYSITELIB}/uncertainties/__init__.pyo
${PYSITELIB}/uncertainties/core.py
${PYSITELIB}/uncertainties/core.pyc
${PYSITELIB}/uncertainties/core.pyo
+${PYSITELIB}/uncertainties/formatting.py
+${PYSITELIB}/uncertainties/formatting.pyc
+${PYSITELIB}/uncertainties/formatting.pyo
+${PYSITELIB}/uncertainties/ops.py
+${PYSITELIB}/uncertainties/ops.pyc
+${PYSITELIB}/uncertainties/ops.pyo
+${PYSITELIB}/uncertainties/parsing.py
+${PYSITELIB}/uncertainties/parsing.pyc
+${PYSITELIB}/uncertainties/parsing.pyo
${PYSITELIB}/uncertainties/umath.py
${PYSITELIB}/uncertainties/umath.pyc
${PYSITELIB}/uncertainties/umath.pyo
Index: pkgsrc/math/py-uncertainties/distinfo
diff -u pkgsrc/math/py-uncertainties/distinfo:1.11 pkgsrc/math/py-uncertainties/distinfo:1.12
--- pkgsrc/math/py-uncertainties/distinfo:1.11 Tue Jul 16 03:44:37 2024
+++ pkgsrc/math/py-uncertainties/distinfo Wed Apr 23 15:11:31 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2024/07/16 03:44:37 adam Exp $
+$NetBSD: distinfo,v 1.12 2025/04/23 15:11:31 adam Exp $
-BLAKE2s (uncertainties-3.2.2.tar.gz) = 3a0aa0db3046970327aa1f3b22af418f6e806cbcc187955c21bd73ba4996ce71
-SHA512 (uncertainties-3.2.2.tar.gz) = b78efc09cc572ecd24ead89db4136741429ab9032295c9e9050a79e14662b41c7537580f698e38d4ee1a36ae460ee22a463eeb473806a1f72246ab6868d950a3
-Size (uncertainties-3.2.2.tar.gz) = 143865 bytes
+BLAKE2s (uncertainties-3.2.3.tar.gz) = 20e7bb6837138281acbaa267d9402ce7054334fbddd760970f39c488d7d86208
+SHA512 (uncertainties-3.2.3.tar.gz) = 4b2c45f2955a6c3e4009f47521f2dbe725a71c2e417653445b180ea4661e96002b864e364f212af7c4acb333ec31228c24f74cfc4197435d2ca56ba74502bce2
+Size (uncertainties-3.2.3.tar.gz) = 160492 bytes
Home |
Main Index |
Thread Index |
Old Index