Bug#1013085: python-ase: scipy.constants.codata._physical_constants_xxxx no longer in scipy-1.8.0

2022-06-25 Thread Graham Inggs
Control: severity -1 serious
Control: tags -1 + patch

Please see attached patch from Ubuntu for this issue.
Description: Drop scipy.constants.codata._physical_constants_ no longer in scipy 1.8
 See https://gitlab.com/ase/ase/-/issues/1038
Author: Graham Inggs 
Last-Update: 2022-04-04

--- a/ase/test/test_units.py
+++ b/ase/test/test_units.py
@@ -11,7 +11,7 @@
 
 
 # Scipy lacks data for some of the codata versions:
-codata_scipy_versions = set(CODATA) - {'1998', '1986'}
+codata_scipy_versions = set(CODATA) - {'1998', '1986', '2002', '2006', '2010', '2014'}
 
 
 @pytest.mark.parametrize('version', sorted(codata_scipy_versions))


Bug#1013085: python-ase: scipy.constants.codata._physical_constants_xxxx no longer in scipy-1.8.0

2022-06-16 Thread Drew Parsons
Source: python-ase
Version: 3.22.1-1
Severity: normal
Tags: upstream
Control: forwarded -1 https://gitlab.com/ase/ase/-/issues/1038


ase unit tests use a deprecated scipy API for scipy.constants.codata,
so tests in test_units.py are now failing with scipy 1.8.1.