Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ase for openSUSE:Factory 
checked in at 2023-03-10 22:07:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ase (Old)
 and      /work/SRC/openSUSE:Factory/.python-ase.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ase"

Fri Mar 10 22:07:09 2023 rev:2 rq:1070524 version:3.22.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ase/python-ase.changes    2023-02-08 
17:20:43.458070144 +0100
+++ /work/SRC/openSUSE:Factory/.python-ase.new.31432/python-ase.changes 
2023-03-10 22:07:15.973101441 +0100
@@ -1,0 +2,6 @@
+Thu Mar  9 15:58:40 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Add upstream patch to fix test on aarch64:
+  * 2582.patch
+
+-------------------------------------------------------------------

New:
----
  2582.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ase.spec ++++++
--- /var/tmp/diff_new_pack.WNMFI4/_old  2023-03-10 22:07:16.757105010 +0100
+++ /var/tmp/diff_new_pack.WNMFI4/_new  2023-03-10 22:07:16.761105028 +0100
@@ -20,20 +20,22 @@
 Version:        3.22.1
 Release:        0
 Summary:        Atomic Simulation Environment
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 URL:            https://wiki.fysik.dtu.dk/ase
 Source:         
https://files.pythonhosted.org/packages/source/a/ase/ase-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM https://gitlab.com/ase/ase/-/merge_requests/2826
 Patch0:         support-matplotlib-36.patch
-BuildRequires:  python-rpm-macros
+# PATCH-FIX-UPSTREAM https://gitlab.com/ase/ase/-/merge_requests/2582
+Patch1:         2582.patch
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module matplotlib >= 3.1.0}
 BuildRequires:  %{python_module numpy >= 1.15.0}
-BuildRequires:  %{python_module scipy >= 1.1.0}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scipy >= 1.1.0}
 BuildRequires:  %{python_module tk}
 # /SECTION
 BuildRequires:  fdupes

++++++ 2582.patch ++++++
>From 5e733253d9e791ed1568076ede93a983f27979f6 Mon Sep 17 00:00:00 2001
From: "Adam J. Jackson" <a.j.jack...@physics.org>
Date: Tue, 30 Nov 2021 09:51:47 +0000
Subject: [PATCH] TST: Vibration slab test should check for movement in ANY
 direction

It is possible for a perfectly good eigenvector to be zero in some
Cartesian direction; this was encountered in #976 and appears to be
architecture-dependent.
---
 ase/test/vibrations/test_vib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ase/test/vibrations/test_vib.py b/ase/test/vibrations/test_vib.py
index fe28ff13e5..7786a47aec 100644
--- a/ase/test/vibrations/test_vib.py
+++ b/ase/test/vibrations/test_vib.py
@@ -524,4 +524,4 @@ class TestSlab:
             assert_array_almost_equal(vibs.get_mode(i)[0], [0., 0., 0.])
 
             # The N atoms should have finite displacement
-            assert np.all(vibs.get_mode(i)[-2:, :])
+            assert np.all(np.any(vibs.get_mode(i)[-2:, :], axis=1))
-- 
GitLab

Reply via email to