Skip to content

Releases: lmfit/uncertainties

3.2.2

07 Jul 22:35
1238d37
Compare
Choose a tag to compare
  • 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.
  • fix automated running and reporting of code coverage with tests (#246)
  • use setuptools-scm for setting version number from git tag (#247)

3.2.1

08 Jun 14:11
35ab5e8
Compare
Choose a tag to compare

Fixes for build, deployment, and docs

  • Use explicit package list to make sure unumpy is included (#232)
  • Use setuptools-scm to make sure all files are in the source distribution (#235)
  • updates to configuration for and links to readthedocs documentation. (#239)
  • use double backticks more uniformly in docs. (#240)
  • fixes to README.rst to allow it to render (needed for PyPI upload) (#243)

3.2.0

03 Jun 12:34
a4a48b3
Compare
Choose a tag to compare

3.2.0 2024-June-02

Version 3.2.0 is the first release of Uncertainties in nearly two years and the
first minor release in over five years. It marks the beginning of an effort to
refresh and update the project with a new and expanded team of maintainers.

  • Main Changes

    • Moved code development to lmfit organization, with 4 maintainers.
    • Update documentation.
    • Drop future dependency. Uncertainties now has no external dependencies when
      not using Numpy integration (Drop official support for Python versions before 3.8 #200).
    • Drop support for Python versions before 3.8, including Python 2 (Drop official support for Python versions before 3.8 #200)
    • remove 1to2 and deprecations (remove 1to2 and depreciations #214)
  • Developer related changes

    • Moved from setup.py to pyproject.toml (Transition from setup.py to pyproject.toml #199)
    • Move tests to tests folder (Move tests to tests folder #216)
    • Update unumpy test to be compatible with numpy 2
    • Mark docstrings with backslashes as raw strings in tests (Mark docstrings with backslashes as raw strings #226)

No imp deprecation warning for Python 3.4+

19 Jun 14:08
Compare
Choose a tag to compare

Global customization of the pretty-print and LaTeX formats

11 Jul 21:06
Compare
Choose a tag to compare

The pretty-print and LaTeX formats can now be customized: the symbols used can be changed (a centered dot can thus for instance be used instead of the usual multiplication symbol).

Unit tests were added for this.

More details are in the Sphinx documentation.

Added "p" formatting tag

18 Nov 08:25
Compare
Choose a tag to compare

The new "p" formatting tag forces parentheses around the … ± … part of printed numbers.

Single Python 2+3 code. Universal wheel.

07 Jun 08:59
Compare
Choose a tag to compare

There is now a single code base for Python 2 and Python 3.

Python 2.7 is now the minimal Python version.

The installation can also now be done through a universal wheel, which helps with some external projects (see issue #106, for instance).

This Git version should have the same uncertainties code as PyPI version 3.1.4, but some accompanying files have been updated. This should have no impact on users. Developers are better off using this Git 3.1.4 version.

Partial NumPy 1.17 fix

05 Aug 08:00
Compare
Choose a tag to compare

Starting with NumPy 1.17, numpy.linalg.pinv has a None __defaults__ attribute, for which the code made no provision. This is fixed.

Fixed regression in correlated_values()

30 May 18:20
Compare
Choose a tag to compare

correlated_values() now again accepts variables with a 0 variance. This was broken by version 3.1.

No warning because of inspect.getargspec() anymore

28 Oct 22:04
Compare
Choose a tag to compare

The deprecation warning raised by inspect.getargspec() in recent versions of Python 3 is now gone.