Skip to content

Commit

Permalink
3.2.2 (#247)
Browse files Browse the repository at this point in the history
finalize version 3.2.2, use `setuptools-scm` to set the version number from the git tag
  • Loading branch information
newville authored Jul 7, 2024
1 parent 411ce33 commit 1238d37
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uncertainties-py23/
uncertainties/version.py
*.pyc
build
doc/_build
Expand Down
22 changes: 22 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
Change Log
===================

3.2.2 2024-July-08
-----------------------

Fixes:

- 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 2024-June-08
-----------------------

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 2024-June-02
-----------------------

Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "uncertainties/version.py"
version_scheme = "post-release"


[project]
name = "uncertainties"
version = "3.2.1"
dynamic = ["version"]
authors = [
{name = "Eric O. LEBIGOT (EOL)", email = "eric.lebigot@normalesup.org"},
]
Expand Down Expand Up @@ -48,7 +53,6 @@ dependencies = []
[tool.setuptools]
packages = ["uncertainties", "uncertainties.unumpy"]

[tool.setuptools_scm]

[project.urls]
Documentation = "https://uncertainties.readthedocs.io/"
Expand Down
7 changes: 3 additions & 4 deletions uncertainties/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,11 @@
This software is released under the BSD license.
'''

from builtins import map
from .core import *
from .core import __all__ # For a correct help(uncertainties)

# Numerical version:
__version_info__ = (3, 2, 1)
__version__ = '.'.join(map(str, __version_info__))
from .version import __version__, __version_tuple__
# for backward compatibility
__version_info__ = __version_tuple__

__author__ = 'Eric O. LEBIGOT (EOL) <eric.lebigot@normalesup.org>'

0 comments on commit 1238d37

Please sign in to comment.