Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-uncertainties for
openSUSE:Factory checked in at 2024-09-05 15:47:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
and /work/SRC/openSUSE:Factory/.python-uncertainties.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uncertainties"
Thu Sep 5 15:47:41 2024 rev:17 rq:1198944 version:3.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2024-07-11 20:33:34.085719142 +0200
+++
/work/SRC/openSUSE:Factory/.python-uncertainties.new.10096/python-uncertainties.changes
2024-09-05 15:48:29.595324213 +0200
@@ -1,0 +2,11 @@
+Thu Sep 5 09:45:43 UTC 2024 - Ben Greiner <[email protected]>
+
+- 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)
+
+-------------------------------------------------------------------
Old:
----
uncertainties-3.2.1.tar.gz
New:
----
uncertainties-3.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-uncertainties.spec ++++++
--- /var/tmp/diff_new_pack.F72RUD/_old 2024-09-05 15:48:30.495361591 +0200
+++ /var/tmp/diff_new_pack.F72RUD/_new 2024-09-05 15:48:30.499361757 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-uncertainties
-Version: 3.2.1
+Version: 3.2.2
Release: 0
Summary: Uncertainties on the Quantities Involved (aka "Error
Propagation")
License: BSD-3-Clause
@@ -28,7 +28,8 @@
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools >= 64}
+BuildRequires: %{python_module setuptools_scm >= 8}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module tools}
BuildRequires: %{python_module wheel}
++++++ uncertainties-3.2.1.tar.gz -> uncertainties-3.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/.codecov.yml
new/uncertainties-3.2.2/.codecov.yml
--- old/uncertainties-3.2.1/.codecov.yml 2024-05-30 16:08:36.000000000
+0200
+++ new/uncertainties-3.2.2/.codecov.yml 2024-07-07 17:26:08.000000000
+0200
@@ -4,14 +4,12 @@
after_n_builds: 9
coverage:
+ precision: 2
+ round: down
+ range: "90...100"
status:
project:
default:
target: auto
threshold: 2.0%
informational: true
- patch:
- default:
- target: auto
- threshold: 20%
- informational: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/uncertainties-3.2.1/.github/workflows/python-package.yml
new/uncertainties-3.2.2/.github/workflows/python-package.yml
--- old/uncertainties-3.2.1/.github/workflows/python-package.yml
2024-06-07 16:04:59.000000000 +0200
+++ new/uncertainties-3.2.2/.github/workflows/python-package.yml
2024-07-07 17:26:08.000000000 +0200
@@ -31,7 +31,8 @@
python -m pip install .[arrays,test]
- name: Test source code and docs
run: |
- pytest --cov . --cov-report xml
+ cd tests
+ python -m pytest --cov=uncertainties --cov=. --cov-report=xml
--cov-report=term
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/.gitignore
new/uncertainties-3.2.2/.gitignore
--- old/uncertainties-3.2.1/.gitignore 2024-05-15 03:31:14.000000000 +0200
+++ new/uncertainties-3.2.2/.gitignore 2024-07-07 20:52:57.000000000 +0200
@@ -1,4 +1,4 @@
-uncertainties-py23/
+uncertainties/version.py
*.pyc
build
doc/_build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/CHANGES.rst
new/uncertainties-3.2.2/CHANGES.rst
--- old/uncertainties-3.2.1/CHANGES.rst 2024-06-07 16:04:59.000000000 +0200
+++ new/uncertainties-3.2.2/CHANGES.rst 2024-07-07 20:52:57.000000000 +0200
@@ -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
-----------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/PKG-INFO
new/uncertainties-3.2.2/PKG-INFO
--- old/uncertainties-3.2.1/PKG-INFO 2024-06-08 15:48:57.606378000 +0200
+++ new/uncertainties-3.2.2/PKG-INFO 2024-07-08 00:34:52.911029600 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: uncertainties
-Version: 3.2.1
+Version: 3.2.2
Summary: calculations with values with uncertainties, error propagation
Author-email: "Eric O. LEBIGOT (EOL)" <[email protected]>
License: Revised BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/pyproject.toml
new/uncertainties-3.2.2/pyproject.toml
--- old/uncertainties-3.2.1/pyproject.toml 2024-06-08 15:48:11.000000000
+0200
+++ new/uncertainties-3.2.2/pyproject.toml 2024-07-07 20:52:57.000000000
+0200
@@ -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 = "[email protected]"},
]
@@ -48,7 +53,6 @@
[tool.setuptools]
packages = ["uncertainties", "uncertainties.unumpy"]
-[tool.setuptools_scm]
[project.urls]
Documentation = "https://uncertainties.readthedocs.io/"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/uncertainties/__init__.py
new/uncertainties-3.2.2/uncertainties/__init__.py
--- old/uncertainties-3.2.1/uncertainties/__init__.py 2024-06-08
00:17:45.000000000 +0200
+++ new/uncertainties-3.2.2/uncertainties/__init__.py 2024-07-07
20:52:57.000000000 +0200
@@ -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) <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/uncertainties/unumpy/core.py
new/uncertainties-3.2.2/uncertainties/unumpy/core.py
--- old/uncertainties-3.2.1/uncertainties/unumpy/core.py 2024-06-07
16:04:59.000000000 +0200
+++ new/uncertainties-3.2.2/uncertainties/unumpy/core.py 2024-07-04
21:25:12.000000000 +0200
@@ -20,7 +20,6 @@
# 3rd-party modules:
import numpy
-from numpy.core import numeric
# Local modules:
import uncertainties.umath_core as umath_core
@@ -585,10 +584,10 @@
# scalar and of a matrix containing objects (when the
# arguments are given in this order). We go around this
# limitation:
- if numeric.isscalar(other):
- return numeric.dot(self, other)
+ if numpy.isscalar(other):
+ return numpy.dot(self, other)
else:
- return numeric.dot(other, self) # The order is important
+ return numpy.dot(other, self) # The order is important
def getI(self):
"""Matrix inverse or pseudo-inverse."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/uncertainties/version.py
new/uncertainties-3.2.2/uncertainties/version.py
--- old/uncertainties-3.2.1/uncertainties/version.py 1970-01-01
01:00:00.000000000 +0100
+++ new/uncertainties-3.2.2/uncertainties/version.py 2024-07-08
00:34:52.000000000 +0200
@@ -0,0 +1,16 @@
+# file generated by setuptools_scm
+# don't change, don't track in version control
+TYPE_CHECKING = False
+if TYPE_CHECKING:
+ from typing import Tuple, Union
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
+else:
+ VERSION_TUPLE = object
+
+version: str
+__version__: str
+__version_tuple__: VERSION_TUPLE
+version_tuple: VERSION_TUPLE
+
+__version__ = version = '3.2.2'
+__version_tuple__ = version_tuple = (3, 2, 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/uncertainties-3.2.1/uncertainties.egg-info/PKG-INFO
new/uncertainties-3.2.2/uncertainties.egg-info/PKG-INFO
--- old/uncertainties-3.2.1/uncertainties.egg-info/PKG-INFO 2024-06-08
15:48:57.000000000 +0200
+++ new/uncertainties-3.2.2/uncertainties.egg-info/PKG-INFO 2024-07-08
00:34:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: uncertainties
-Version: 3.2.1
+Version: 3.2.2
Summary: calculations with values with uncertainties, error propagation
Author-email: "Eric O. LEBIGOT (EOL)" <[email protected]>
License: Revised BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/uncertainties-3.2.1/uncertainties.egg-info/SOURCES.txt
new/uncertainties-3.2.2/uncertainties.egg-info/SOURCES.txt
--- old/uncertainties-3.2.1/uncertainties.egg-info/SOURCES.txt 2024-06-08
15:48:57.000000000 +0200
+++ new/uncertainties-3.2.2/uncertainties.egg-info/SOURCES.txt 2024-07-08
00:34:52.000000000 +0200
@@ -33,6 +33,7 @@
uncertainties/core.py
uncertainties/umath.py
uncertainties/umath_core.py
+uncertainties/version.py
uncertainties.egg-info/PKG-INFO
uncertainties.egg-info/SOURCES.txt
uncertainties.egg-info/dependency_links.txt