Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyroomacoustics for 
openSUSE:Factory checked in at 2021-02-15 23:16:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyroomacoustics (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyroomacoustics.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyroomacoustics"

Mon Feb 15 23:16:21 2021 rev:3 rq:871425 version:0.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pyroomacoustics/python-pyroomacoustics.changes
    2020-07-03 00:15:33.428691298 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyroomacoustics.new.28504/python-pyroomacoustics.changes
 2021-02-15 23:18:37.695604426 +0100
@@ -1,0 +2,82 @@
+Fri Feb 12 11:21:13 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 0.4.2
+  * Change the eps for geometry computations from 1e-4 to 1e-5 in 
+    ``libroom``
+  * Added a specialized ``is_inside`` routine for ``ShoeBox`` rooms
+- Changes in 0.4.1
+  * Issue #162 (crash with max_order>31 on windows), seems fixed by 
+    the new C++ simulator
+  * Added minimal `Dockerfile` example.
+- Changes in 0.4.0
+  * Improved Simulator with Ray Tracing
+    - Ray Tracing in the libroom module. The function compute_rir() 
+      of the Room object in python can now be executed using a pure 
+      ray tracing approach or a hybrid (ISM + RT) approach. That's 
+      why this function has now several default arguments to 
+      run ray tracing (number of rays, scattering coefficient, 
+      energy and time thresholds, microphone's radius).
+    - Bandpass filterbank construction in ``pyroomacoustics.
+      acoustics.bandpass_filterbank``
+    - Acoustic properties of different materials in 
+      ``pyroomacoustics.materials``
+    - Scattering from the wall is handled via ray tracing method, 
+      scattering coefficients are provided
+      in ``pyroomacoustics.materials.Material`` objects
+    - Function ``inverse_sabine`` allows to compute the 
+      ``absorption`` and ``max_order`` to use with
+      the image source model to achieve a given reverberation time
+    - The method ``rt60_theory`` in ``pyroomacoustics.room.Room`` 
+      allows to compute the theoretical
+      RT60 of the room according to Eyring or Sabine formula
+    - The method ``measure_rt60`` in ``pyroomacoustics.room.Room`` 
+      allows to measure the RT60 of the simulated RIRs
+  * Changes in the Room Class
+    - Deep refactor of Room class. The constructor arguments have 
+      changed
+    - No more ``sigma2_awgn``, noise is now handled in 
+      ``pyroomacoustics.Room.simulate`` method
+    - The way absorption is handled has changed. The scalar 
+      variables ``absorption`` are deprecated in favor of 
+      ``pyroomacoustics.materials.Material``
+    - Complete refactor of libroom, the compiled extension module 
+      responsible for the room simulation, into C++. The bindings 
+      to python are now done using pybind11.
+    - Removes the pure Python room simulator as it was really slow
+    - ``pyroomacoustics.transform.analysis``, ``pyroomacoustics.
+      transform.synthesis``, ``pyroomacoustics.transform.
+      compute_synthesis_window``, have been deprecated in favor of
+      ``pyroomacoustics.transform.stft.analysis``, 
+      ``pyroomacoustics.transform.stft.synthesis``,
+      ``pyroomacoustics.transform.stft.compute_synthesis_window``.
+    - ``pyroomacoustics.Room`` has a new method ``add`` that can be 
+      used to add either a ``SoundSource``, or a 
+      ``MicrophoneArray`` object.  Subsequent calls to the method 
+      will always add source/microphones. There exists also methods
+      ``add_source`` and ``add_microphone`` that can be used to add
+      source/microphone via coordinates. The method 
+      `add_microphone_array`` can be used to add a 
+      ``MicrophoneArray`` object, or a 2D array containing the
+      locations of several microphones in its columns.  While the
+      ``add_microphone_array`` method used to replace the existing 
+      array by the argument, the new behavior is to add in addition 
+      to other microphones already present.
+  * From Issue #150, increase max iterations to check if point is 
+    inside room
+  * Fixed normalization part in FastMNMF
+  * Added `room_isinside_max_iter` in `parameters.py`
+  * Default set to 20 rather than 5 as it was in `pyroomacoustics.
+    room.Room.isinside`
+  * Changed while loop to iterate up to `room_isinside_max_iter` in 
+    `pyroomacoustics.room.Room.isinside`
+  * Changed initialization of FastMNMF to accelerate convergence
+  * Fixed bug in doa/tops (float -> integer division)
+  * Added vectorised functions in MUSIC 
+  * Use the vectorised functions in _process of MUSIC
+- Skip python36 build, because NumPy in TW dropped it (NEP 29)
+- Use system eigen3 headers
+- Clean test rig setup
+  * Only test on x86_64: All other platforms fail because of
+    rounding errors vs. too tight precision requirements in tests.
+
+-------------------------------------------------------------------

Old:
----
  pyroomacoustics-0.3.1.tar.gz

New:
----
  pyroomacoustics-0.4.2.tar.gz

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

Other differences:
------------------
++++++ python-pyroomacoustics.spec ++++++
--- /var/tmp/diff_new_pack.pnJxss/_old  2021-02-15 23:18:38.483605603 +0100
+++ /var/tmp/diff_new_pack.pnJxss/_new  2021-02-15 23:18:38.487605609 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyroomacoustics
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,10 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# NEP 29: NumPy dropped Python 3.6
+%define skip_python36 1
 Name:           python-pyroomacoustics
-Version:        0.3.1
+Version:        0.4.2
 Release:        0
 Summary:        A framework for room acoustics and audio processing in Python
 License:        MIT
@@ -27,16 +29,19 @@
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module pybind11-devel >= 2.2}
+BuildRequires:  %{python_module scipy >= 0.18.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  c++_compiler
+BuildRequires:  eigen3-devel
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Cython
 Requires:       python-numpy
+Requires:       python-pybind11 >= 2.2
 Requires:       python-scipy >= 0.18.0
 # SECTION test requirements
-BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scipy >= 0.18.0}
 # /SECTION
 %python_subpackages
 
@@ -51,6 +56,10 @@
 
 %build
 export CFLAGS="%{optflags}"
+# First build the extension with custom include path:
+# Use eigen3 headers from system instead of from the empty submodule dir in 
the github archive.
+%python_exec setup.py build_ext -I %{_includedir}/eigen3
+# Then build everything
 %python_build
 
 %install
@@ -58,17 +67,16 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-mv pyroomacoustics pyroomacoustics_temp
-rm -rf build _build.*
-%{python_expand rm -rf build _build.*
-export PYTHONPATH=%{buildroot}%{$python_sitearch}
-%pytest pyroomacoustics_temp/tests/
-}
-mv pyroomacoustics_temp pyroomacoustics
+# Only test on x86_64: All other platforms fail because of rounding errors vs.
+# too tight precision requirements in tests.
+%ifarch x86_64
+%pytest_arch pyroomacoustics/tests --import-mode=append
+%endif
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/pyroomacoustics
+%{python_sitearch}/pyroomacoustics-%{version}*-info
 
 %changelog

++++++ pyroomacoustics-0.3.1.tar.gz -> pyroomacoustics-0.4.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pyroomacoustics/pyroomacoustics-0.3.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-pyroomacoustics.new.28504/pyroomacoustics-0.4.2.tar.gz
 differ: char 12, line 1

Reply via email to