"uncertainties" allows calculations such as (2±0.1)*2 = 4±0.2 to be
performed transparently. Much more complex mathematical expressions
involving numbers with uncertainties can also be evaluated directly.
Provides
Requires
License
BSD-3-Clause
Changelog
* Mon Nov 10 2025 Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.2.3:
* Changes:
+ Changes how numpy is handled as an optional dependency. Now 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.
* Fixes:
+ Adds documentation for ufloat_fromstr behavior for strings which do
not contain uncertainty.
+ Fixes typos in ufloat_fromstr docstring examples (#285)
+ Fixes a bug that resulted in a ZeroDivisionError while formatting
very small numbers with uncertainty (#135)
- Add patch support-python314.patch:
* Support Python 3.14 changes.
* Thu Sep 05 2024 Ben Greiner <code@bnavigator.de>
- Update to 3.2.2
* fix support for Numpy 2.0 (#245). Note: uncertainties.unumpy
still provides umatrix based on numpy.matrix. With numpy.matrix
discouraged, umatrix is too, and will be dropped in a future
release.
* use setuptools-scm for setting version number from git tag
(#247)
* Thu Jul 04 2024 Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.2.1:
* Drop future dependency. Uncertainties now has no external dependencies
when not using Numpy integration
* Drop support for Python versions before 3.8, including Python 2
* remove 1to2 and deprecations
* Moved from setup.py to pyproject.toml
* Move tests to tests folder
* Update unumpy test to be compatible with numpy 2
* Mark docstrings with backslashes as raw strings in tests
- Drop patch remove-future-requirement.patch, no longer required.
* Thu Dec 28 2023 ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
* Thu Sep 07 2023 Steve Kowalik <steven.kowalik@suse.com>
- Add patch remove-future-requirement.patch, remove requirement for future
- Switch to pyproject and autosetup macros
* Thu Jun 23 2022 Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 3.1.7:
* Emphasis added for automatic differentiation
* Made the automatic differentiation capabilities clearer
* Thu Jul 22 2021 Arun Persaud <arun@gmx.de>
- update to version 3.1.6:
* the pretty-print and LaTeX format can now be customized.
* Fri Feb 19 2021 Ben Greiner <code@bnavigator.de>
- Don't install and test numpy for python36. With NumPy 1.20, TW
no longer provides a python36-numpy
* Sat Jan 09 2021 Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
- update to version 3.1.5:
* added a “p” formatting option, that makes sure that there are
always parentheses around the … ± … part of printed numbers.
* Mon Jun 29 2020 pgajdos@suse.com
- switch from nosetests to pytest
Files
/usr/lib/python3.13/site-packages/uncertainties
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/METADATA
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/RECORD
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/WHEEL
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/licenses
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/licenses/LICENSE.txt
/usr/lib/python3.13/site-packages/uncertainties-3.2.3.dist-info/top_level.txt
/usr/lib/python3.13/site-packages/uncertainties/__init__.py
/usr/lib/python3.13/site-packages/uncertainties/__pycache__
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/core.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/core.cpython-313.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/formatting.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/formatting.cpython-313.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/ops.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/ops.cpython-313.pyc
/usr/lib/python3.13/site-packages/uncertainties/__pycache__/par