commit python-uncertainties for openSUSE:Factory

2024-09-05 Thread Source-Sync
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 
+
+- 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.yml2024-05-30 16:08:36.0 
+0200
+++ new/uncertainties-3.2.2/.codecov.yml2024-07-07 17:26:08.0 
+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.0 +0200
+++ new/uncertainties-3.2.2/.github/workflows/python-package.yml
2024-07-07 17:26:08.0 +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/codecov-action@v4.0.1
   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.0 +0200
+++ new/uncertainties-3.2.2/.gitignore  2024-07-07 20:52:57.0 +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.0 +0200
+++ new/uncertainties-3.2.2/CHANGES.rst 2024-07-07 20:52:57.0 +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 (

commit python-uncertainties for openSUSE:Factory

2024-07-11 Thread Source-Sync
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-07-11 20:32:54

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.17339 (New)


Package is "python-uncertainties"

Thu Jul 11 20:32:54 2024 rev:16 rq:1186728 version:3.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2024-01-03 12:23:39.896576647 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.17339/python-uncertainties.changes
 2024-07-11 20:33:34.085719142 +0200
@@ -1,0 +2,14 @@
+Thu Jul  4 03:47:54 UTC 2024 - Steve Kowalik 
+
+- 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.
+
+---

Old:

  remove-future-requirement.patch
  uncertainties-3.1.7.tar.gz

New:

  uncertainties-3.2.1.tar.gz

BETA DEBUG BEGIN:
  Old:  * Mark docstrings with backslashes as raw strings in tests
- Drop patch remove-future-requirement.patch, no longer required.
BETA DEBUG END:



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.73dVGb/_old  2024-07-11 20:33:34.577737122 +0200
+++ /var/tmp/diff_new_pack.73dVGb/_new  2024-07-11 20:33:34.581737267 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-uncertainties
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-uncertainties
-Version:3.1.7
+Version:3.2.1
 Release:0
 Summary:Uncertainties on the Quantities Involved (aka "Error 
Propagation")
 License:BSD-3-Clause
 URL:https://github.com/lebigot/uncertainties/
 Source: 
https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
-Patch0: remove-future-requirement.patch
+BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
@@ -47,8 +47,6 @@
 
 %prep
 %autosetup -p1 -n uncertainties-%{version}
-sed -i -e '/^#!\//, 1d' uncertainties/1to2.py
-sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
 
 %build
 %pyproject_wheel

++ uncertainties-3.1.7.tar.gz -> uncertainties-3.2.1.tar.gz ++
 11638 lines of diff (skipped)


commit python-uncertainties for openSUSE:Factory

2024-01-03 Thread Source-Sync
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-01-03 12:23:37

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.28375 (New)


Package is "python-uncertainties"

Wed Jan  3 12:23:37 2024 rev:15 rq:1135596 version:3.1.7

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2023-09-07 21:14:15.064544189 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.28375/python-uncertainties.changes
 2024-01-03 12:23:39.896576647 +0100
@@ -1,0 +2,5 @@
+Thu Dec 28 15:26:42 UTC 2023 - ecsos 
+
+- Add %{?sle15_python_module_pythons}
+
+---



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.Mnjw8W/_old  2024-01-03 12:23:41.204624453 +0100
+++ /var/tmp/diff_new_pack.Mnjw8W/_new  2024-01-03 12:23:41.220625038 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%{?sle15_python_module_pythons}
 Name:   python-uncertainties
 Version:3.1.7
 Release:0


commit python-uncertainties for openSUSE:Factory

2023-09-07 Thread Source-Sync
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 2023-09-07 21:13:06

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.1766 (New)


Package is "python-uncertainties"

Thu Sep  7 21:13:06 2023 rev:14 rq:1109381 version:3.1.7

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2022-06-25 10:24:29.810693852 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.1766/python-uncertainties.changes
  2023-09-07 21:14:15.064544189 +0200
@@ -1,0 +2,6 @@
+Thu Sep  7 01:51:59 UTC 2023 - Steve Kowalik 
+
+- Add patch remove-future-requirement.patch, remove requirement for future
+- Switch to pyproject and autosetup macros
+
+---

New:

  remove-future-requirement.patch



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.6UUwvW/_old  2023-09-07 21:14:16.020578365 +0200
+++ /var/tmp/diff_new_pack.6UUwvW/_new  2023-09-07 21:14:16.020578365 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-uncertainties
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,23 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-uncertainties
 Version:3.1.7
 Release:0
 Summary:Uncertainties on the Quantities Involved (aka "Error 
Propagation")
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/lebigot/uncertainties/
 Source: 
https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
-BuildRequires:  %{python_module future}
+Patch0: remove-future-requirement.patch
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module testsuite}
 BuildRequires:  %{python_module tools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
-Requires:   python-future
 BuildArch:  noarch
 %if 0%{?suse_version}
 Recommends: python-numpy
@@ -46,25 +45,23 @@
 involving numbers with uncertainties can also be evaluated directly.
 
 %prep
-%setup -q -n uncertainties-%{version}
+%autosetup -p1 -n uncertainties-%{version}
 sed -i -e '/^#!\//, 1d' uncertainties/1to2.py
 sed -i -e '/^#!\//, 1d' uncertainties/lib1to2/test_1to2.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# no python36-numpy
-python36_ignore="--ignore uncertainties/unumpy"
-%pytest ${$python_ignore}
+%pytest
 
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/uncertainties/
-%{python_sitelib}/uncertainties-%{version}*-info
+%{python_sitelib}/uncertainties-%{version}.dist-info
 

++ remove-future-requirement.patch ++
Index: uncertainties-3.1.7/setup.py
===
--- uncertainties-3.1.7.orig/setup.py
+++ uncertainties-3.1.7/setup.py
@@ -337,7 +337,7 @@ try:
 'Source': 'https://github.com/lebigot/uncertainties'
 },
 
-install_requires=['future'],
+install_requires=[],
 
 tests_require=['nose', 'numpy'],
 


commit python-uncertainties for openSUSE:Factory

2022-06-25 Thread Source-Sync
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 2022-06-25 10:24:16

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.1548 (New)


Package is "python-uncertainties"

Sat Jun 25 10:24:16 2022 rev:13 rq:984877 version:3.1.7

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2021-07-22 22:44:18.215126049 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.1548/python-uncertainties.changes
  2022-06-25 10:24:29.810693852 +0200
@@ -1,0 +2,10 @@
+Thu Jun 23 06:34:32 UTC 2022 - Arun Persaud 
+
+- specfile:
+  * update copyright year
+
+- update to version 3.1.7:
+  * Emphasis added for automatic differentiation
+  * Made the automatic differentiation capabilities clearer
+
+---

Old:

  uncertainties-3.1.6.tar.gz

New:

  uncertainties-3.1.7.tar.gz



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.61JMxP/_old  2022-06-25 10:24:30.418694720 +0200
+++ /var/tmp/diff_new_pack.61JMxP/_new  2022-06-25 10:24:30.422694726 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-uncertainties
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-uncertainties
-Version:3.1.6
+Version:3.1.7
 Release:0
 Summary:Uncertainties on the Quantities Involved (aka "Error 
Propagation")
 License:BSD-3-Clause

++ uncertainties-3.1.6.tar.gz -> uncertainties-3.1.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uncertainties-3.1.6/PKG-INFO 
new/uncertainties-3.1.7/PKG-INFO
--- old/uncertainties-3.1.6/PKG-INFO2021-07-11 22:55:37.229128000 +0200
+++ new/uncertainties-3.1.7/PKG-INFO2022-06-19 16:01:44.534547000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: uncertainties
-Version: 3.1.6
+Version: 3.1.7
 Summary: Transparent calculations with uncertainties on the quantities 
involved (aka error propagation); fast calculation of derivatives
 Home-page: http://uncertainties-python-package.readthedocs.io/
 Author: Eric O. LEBIGOT (EOL)
@@ -9,7 +9,6 @@
 Project-URL: Documentation, 
https://uncertainties-python-package.readthedocs.io/
 Project-URL: Source, https://github.com/lebigot/uncertainties
 Keywords: error propagation,uncertainties,uncertainty calculations,standard 
deviation,derivatives,partial derivatives,differentiation
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Education
@@ -147,8 +146,8 @@
 
 Main changes:
 
-- 3.1.6: the pretty-print and LaTeX format can now be customized.
-- 3.1.5: added a "p" formatting option, that makes sure that there are always
+- 3.1.6: The pretty-print and LaTeX format can now be customized.
+- 3.1.5: Added a "p" formatting option, that makes sure that there are always
   parentheses around the ??? ?? ??? part of printed numbers.
 - 3.1.4: Python 2.7+ is now required.
 - 3.1.2: Fix for NumPy 1.17 and ``unumpy.ulinalg.pinv()``.
@@ -287,4 +286,3 @@
 .. _main website: http://uncertainties-python-package.readthedocs.io/
 .. _code updater: 
http://uncertainties-python-package.readthedocs.io/en/latest/index.html#migration-from-version-1-to-version-2
 .. _formatting: 
http://uncertainties-python-package.readthedocs.io/en/latest/user_guide.html#printing
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uncertainties-3.1.6/README.rst 
new/uncertainties-3.1.7/README.rst
--- old/uncertainties-3.1.6/README.rst  2021-01-30 15:53:55.0 +0100
+++ new/uncertainties-3.1.7/README.rst  2022-06-19 15:58:35.0 +0200
@@ -1,16 +1,17 @@
 uncertainties
 =
 
-.. image:: 
https://readthedocs.org/projects/uncertainties-python-package/badge/?version=latest
-   :target: 
http://uncertainties-python-package.readthedocs.io/en/latest/?badge=latest
+.. image:: https://readthedocs.org/projects/uncertainties/badge/?version=latest
+   :target: https://uncertainties.readthedocs.io/en/latest/?badge=latest
+   :alt: Documentation Status
 .. image:: https://img.shields.io/pypi/v/uncertainties.svg
:target: https://pypi.org/project/uncertainties/
 .. image:: https://pepy.tech/badge/u

commit python-uncertainties for openSUSE:Factory

2021-07-22 Thread Source-Sync
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 2021-07-22 22:43:30

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.1899 (New)


Package is "python-uncertainties"

Thu Jul 22 22:43:30 2021 rev:12 rq:907691 version:3.1.6

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2021-02-19 23:46:23.447429597 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.1899/python-uncertainties.changes
  2021-07-22 22:44:18.215126049 +0200
@@ -1,0 +2,6 @@
+Thu Jul 22 02:06:55 UTC 2021 - Arun Persaud 
+
+- update to version 3.1.6:
+  * the pretty-print and LaTeX format can now be customized.
+
+---

Old:

  uncertainties-3.1.5.tar.gz

New:

  uncertainties-3.1.6.tar.gz



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.jp3kKp/_old  2021-07-22 22:44:18.587125565 +0200
+++ /var/tmp/diff_new_pack.jp3kKp/_new  2021-07-22 22:44:18.587125565 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-uncertainties
-Version:3.1.5
+Version:3.1.6
 Release:0
 Summary:Uncertainties on the Quantities Involved (aka "Error 
Propagation")
 License:BSD-3-Clause

++ uncertainties-3.1.5.tar.gz -> uncertainties-3.1.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/uncertainties-3.1.5/PKG-INFO 
new/uncertainties-3.1.6/PKG-INFO
--- old/uncertainties-3.1.5/PKG-INFO2020-11-18 09:25:46.0 +0100
+++ new/uncertainties-3.1.6/PKG-INFO2021-07-11 22:55:37.229128000 +0200
@@ -1,254 +1,13 @@
 Metadata-Version: 2.1
 Name: uncertainties
-Version: 3.1.5
+Version: 3.1.6
 Summary: Transparent calculations with uncertainties on the quantities 
involved (aka error propagation); fast calculation of derivatives
 Home-page: http://uncertainties-python-package.readthedocs.io/
 Author: Eric O. LEBIGOT (EOL)
 Author-email: eric.lebi...@normalesup.org
 License: Revised BSD License
-Project-URL: Source, https://github.com/lebigot/uncertainties
 Project-URL: Documentation, 
https://uncertainties-python-package.readthedocs.io/
-Description: Overview
-
-
-``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.
-
-The ``uncertainties`` package **takes the pain and complexity out**
-of uncertainty calculations.
-
-**Detailed information** about this package can be found on its `main
-website`_.
-
-Basic examples
-==
-
-.. code-block:: python
-
->>> from uncertainties import ufloat
-
->>> x = ufloat(2, 0.25)
->>> x
-2.0+/-0.25
-
->>> square = x**2  # Transparent calculations
->>> square
-4.0+/-1.0
->>> square.nominal_value
-4.0
->>> square.std_dev  # Standard deviation
-1.0
-
->>> square - x*x
-0.0  # Exactly 0: correlations taken into account
-
->>> from uncertainties.umath import *  # sin(), etc.
->>> sin(1+x**2)
--0.95892427466313845+/-0.2836621854632263
-
->>> print (2*x+1000).derivatives[x]  # Automatic calculation of 
derivatives
-2.0
-
->>> from uncertainties import unumpy  # Array manipulation
->>> random_vars = unumpy.uarray([1, 2], [0.1, 0.2])
->>> print random_vars
-[1.0+/-0.1 2.0+/-0.2]
->>> print random_vars.mean()
-1.50+/-0.11
->>> print unumpy.cos(random_vars)
-[0.540302305868+/-0.0841470984808 -0.416146836547+/-0.181859485365]
-
-Main features
-=
-
-- **Transparent calculations with uncertainties**: **no or little
-  modification of existing code** is needed.  Similarly, the Python_ 
(or
-  IPython_) shell can be used as **a powerful calculator** that
-  handles quantities with uncertainties (``print`` statements are
-  optional, which is convenient).
-
-- **Correlations** between expressions are correctly take

commit python-uncertainties for openSUSE:Factory

2021-02-19 Thread Source-Sync
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 2021-02-19 23:45:56

Comparing /work/SRC/openSUSE:Factory/python-uncertainties (Old)
 and  /work/SRC/openSUSE:Factory/.python-uncertainties.new.28504 (New)


Package is "python-uncertainties"

Fri Feb 19 23:45:56 2021 rev:11 rq:873829 version:3.1.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-uncertainties/python-uncertainties.changes
2021-01-11 17:16:08.236598215 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-uncertainties.new.28504/python-uncertainties.changes
 2021-02-19 23:46:23.447429597 +0100
@@ -1,0 +2,6 @@
+Fri Feb 19 15:17:25 UTC 2021 - Ben Greiner 
+
+- Don't install and test numpy for python36. With NumPy 1.20, TW
+  no longer provides a python36-numpy
+
+---



Other differences:
--
++ python-uncertainties.spec ++
--- /var/tmp/diff_new_pack.II4IUC/_old  2021-02-19 23:46:23.879430020 +0100
+++ /var/tmp/diff_new_pack.II4IUC/_new  2021-02-19 23:46:23.879430020 +0100
@@ -26,13 +26,13 @@
 URL:https://github.com/lebigot/uncertainties/
 Source: 
https://files.pythonhosted.org/packages/source/u/uncertainties/uncertainties-%{version}.tar.gz
 BuildRequires:  %{python_module future}
-BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module testsuite}
 BuildRequires:  %{python_module tools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
 Requires:   python-future
 BuildArch:  noarch
 %if 0%{?suse_version}
@@ -58,12 +58,14 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# no python36-numpy
+python36_ignore="--ignore uncertainties/unumpy"
+%pytest ${$python_ignore}
 
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/uncertainties/
-%{python_sitelib}/uncertainties-%{version}-py*.egg-info
+%{python_sitelib}/uncertainties-%{version}*-info
 
 %changelog