Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python3-espressomd for openSUSE:Factory checked in at 2023-01-28 18:43:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-espressomd (Old) and /work/SRC/openSUSE:Factory/.python3-espressomd.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-espressomd" Sat Jan 28 18:43:00 2023 rev:16 rq:1061493 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-espressomd/python3-espressomd.changes 2022-09-15 23:01:15.161564748 +0200 +++ /work/SRC/openSUSE:Factory/.python3-espressomd.new.32243/python3-espressomd.changes 2023-01-28 19:03:30.696778213 +0100 @@ -1,0 +2,6 @@ +Thu Jan 26 19:46:39 UTC 2023 - Jean-Noel Grad <jg...@icp.uni-stuttgart.de> + +- added numpy-1.24.patch to fix the testsuite (see + gh#espressomd/espresso#4635) + +------------------------------------------------------------------- New: ---- numpy-1.24.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-espressomd.spec ++++++ --- /var/tmp/diff_new_pack.D9Vtwd/_old 2023-01-28 19:03:31.264781345 +0100 +++ /var/tmp/diff_new_pack.D9Vtwd/_new 2023-01-28 19:03:31.272781388 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2014 Christoph Junghans # # All modifications and additions to the file contributed by third parties @@ -52,6 +52,8 @@ Patch3: rpath.patch # PATCH-FIX-UPSTREAM fix-broken-fft-check.patch gh#espressomd/espresso#4567 Patch4: fix-broken-fft-check.patch +# PATCH-FIX-UPSTREAM numpy-1.24.patch gh#espressomd/espresso#4635 +Patch5: numpy-1.24.patch # According to gh#espressomd/espresso#4537 32bit architectures are not supported any more ExcludeArch: %{ix86} BuildRequires: cmake ++++++ numpy-1.24.patch ++++++ commit bff5e2703d4371f06f281d48181431558066d566 Author: Jean-Noël Grad <jg...@icp.uni-stuttgart.de> Date: Tue Dec 20 19:36:34 2022 +0100 tests: Replace deprecated numpy option Option 'normed' in numpy.histogramdd was deprecated since 1.15 and removed in 1.24. --- testsuite/python/observable_profile.py | 2 +- testsuite/python/observable_profileLB.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/testsuite/python/observable_profile.py +++ b/testsuite/python/observable_profile.py @@ -51,7 +51,7 @@ def test_density_profile(self): obs_bin_centers = density_profile.bin_centers() np_hist, np_edges = tests_common.get_histogram( np.copy(self.system.part.all().pos), self.kwargs, 'cartesian', - normed=True) + density=True) np_hist *= len(self.system.part) np.testing.assert_array_almost_equal(obs_data, np_hist) for i in range(3): --- a/testsuite/python/observable_profileLB.py +++ b/testsuite/python/observable_profileLB.py @@ -91,7 +91,7 @@ def test_velocity_profile(self): obs_edges = obs.call_method("edges") _, np_edges = tests_common.get_histogram( np.zeros([1, 3]), LB_VELOCITY_PROFILE_PARAMS, 'cartesian', - normed=True) + density=True) for i in range(3): np.testing.assert_array_almost_equal(obs_edges[i], np_edges[i]) for x in range(obs_data.shape[0]):