Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-librosa for openSUSE:Factory checked in at 2023-08-28 17:12:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-librosa (Old) and /work/SRC/openSUSE:Factory/.python-librosa.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-librosa" Mon Aug 28 17:12:05 2023 rev:14 rq:1105317 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-librosa/python-librosa.changes 2023-05-30 22:02:22.678987512 +0200 +++ /work/SRC/openSUSE:Factory/.python-librosa.new.1766/python-librosa.changes 2023-08-28 17:12:11.694143159 +0200 @@ -1,0 +2,120 @@ +Sun Aug 20 16:24:41 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.10.1 + * VQT octave boundaries by @bmcfee in #1677 + * redoing 0.10.0.post1 release by @bmcfee in #1684 + * Pin pooch < 1.7 by @bmcfee in #1686 + * Post-release 2 for 0.10.0, pin pooch by @bmcfee in #1687 + * Stricter checks on yin/pyin parameters by @bmcfee in #1693 + * bumping sphinx config, fixes #1671 by @bmcfee in #1699 + * fixed bins_per_octave's docs type float to int by @kyaryunha in + #1703 + * add volume adjustment(rms-mean) at pitch_shift by @kyaryunha in + #1704 + * Several small documentation updates by @bmcfee in #1713 + * pin numpy version to < 1.24 in doc environment by @bmcfee in + #1714 + * fixed broken 'latest' link generator by @bmcfee in #1716 + * README.md typo fix by @Zenitismus in #1706 + * CI for documentation builds by @bmcfee in #1718 + * reworked lazy loading of matplotlib by @bmcfee in #1722 + * Advanced example for patch generation by @bmcfee in #1719 + * support pooch >= 1.7 by @bmcfee in #1727 + * Consistent conversion of time duration/offset to sample counts + by @bmcfee in #1726 + * Update tests for scipy 1.11 by @bmcfee in #1731 + +------------------------------------------------------------------- +Mon May 29 15:19:42 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.10.0.post2 + * This maintenance release updates the dependency specifications + to avoid an incompatibility with pooch >= 1.7.0. This + restriction only affects loading of specific example files, and + does not otherwise affect functionality of the library. +- Releae 0.10.0 + * This release provides many speedups and enhancements to core + operations, faster importing and loading, and full type + annotations. + ## New features + * #1485 Added support for âhâ (hours) and âmâ (minutes) in + librosa.display.TimeFormatter. Vincent Lostanlen + * #1495 Expanded options for bandwidth calculation in + librosa.segment.recurrence_matrix and + librosa.segment.cross_similarity. Tom Xi + * #1529 Accelerated utility functions for squared magnitude + librosa.util.abs2 and librosa.util.phasor. Brian McFee + * #1514 librosa.stft support for pre-allocated output arrays. + Brian McFee + * #1533 Accelerated librosa.util.localmax and + librosa.util.localmin. Brian McFee + * #1552 EXPERIMENTAL Support for just-intonation based variable-Q + transforms librosa.vqt and functional just system (FJS) + notation. Brian McFee, Vincent Lostanlen + * #1579 Imports are now done lazily, significantly reducing + startup time. It is not longer necessary to explicitly import + librosa.display. Brian McFee + * #1587, #1632, #1637 Type annotations. Matan Gover, Brian McFee, + Fabian Keller + * #1647 Harmonic spectrum interpolation librosa.f0_harmonics and + tempogram ratio features librosa.feature.tempogram_ratio. Brian + McFee + ## Bug fixes + * #1560 Corrected an error in bandwidth estimation for window + functions that take on negative sample values. Brian McFee + * #1571 Fixed rounding error in multirate filterbank calculation + of sampling rates. Brian McFee + * #1594 Fixed incorrect use of deprecated numpy numerical types. + Mattia Di Gangi + * #1596 Fixed harmonic interpolation for recent scipy releases. + Brian McFee + ## API changes + * #1561 librosa.resample now supports axis= for all sample rate + conversion backends. Brian McFee + * #1572 Notation conversion (e.g., librosa.midi_to_note) now + vectorizes operations, and produces numpy.ndarray outputs + rather than list when given iterable inputs. Brian McFee + * #1625 Deprecations now raise FutureWarning instead of + DeprecationWarning. + * #1625 librosa.get_duration parameter filename has been renamed + to path. Brian McFee + * #1643 Removed support for threshold=None in + librosa.zero_crossings. Brian McFee + * #1665 Fixed overflow bug in librosa.feature.rms on integer + inputs. Brian McFee + ## Deprecations + * #1521 Removed backward compatibility support for positional + arguments that are now keyword-only. Brian McFee + * #1577 Removed official support for python 3.6. Brian McFee + * #1625 The audioread backend is now deprecated and will be + removed in a future release. Brian McFee + ## Other changes + * #1501 Infer square / equal plot dimensions for compatible x/y + axes in librosa.display.specshow. Kian Eliasi + * #1535 Standardized integer type checks throughout the library. + Alexandre Chabot-Leclerc + * #1539 Refactored librosa.display.AdaptiveWaveplot to allow + callback disconnection. Brian McFee + * #1548 Removed deprecated âhanningâ window specification from + tests. Brian McFee + * #1551 Removed dependency on contextlib2. Steve Kowalik + * #1565 Efficiency improvements to librosa.autocorrelate. Brian + McFee + * #1566 Changed the default sample rate conversion method from + kaiser_best (resampy) to soxr_hq (soxr). Brian McFee + * #1581 Updated tests for numpy 1.23 compatibility. Brian McFee + * #1617 Accelerated librosa.yin implementation. Brian McFee + * #1640 Updated display module dependencies to require matplotlib + >= 3.3. Brian McFee + * #1643 Accelerated librosa.zero_crossings implementation. Brian + McFee + * #1646 Added support for transposed (vertical) display of + waveforms. Brian McFee +- Drop patches + * remove-contextlib2.patch + * skip-test-data-missing-tests.patch + * update-tests-for-numpy-123.patch + * remove-hanning-from-tests.patch + * update-for-numpy-124.patch + +------------------------------------------------------------------- Old: ---- librosa-0.9.2.tar.gz remove-contextlib2.patch remove-hanning-from-tests.patch skip-test-data-missing-tests.patch update-for-numpy-124.patch update-tests-for-numpy-123.patch New: ---- _constraints librosa-0.10.1.tar.gz librosa-static-test-data-0.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-librosa.spec ++++++ --- /var/tmp/diff_new_pack.WL45oU/_old 2023-08-28 17:12:14.410240698 +0200 +++ /var/tmp/diff_new_pack.WL45oU/_new 2023-08-28 17:12:14.418240986 +0200 @@ -16,8 +16,9 @@ # +%define static_test_data_commit 72bd79e448829187f6336818b3f6bdc2c2ae8f5a Name: python-librosa -Version: 0.9.2 +Version: 0.10.1 Release: 0 Summary: Python module for audio and music processing License: CC-BY-3.0 AND ISC @@ -27,50 +28,48 @@ Source1: librosa-create-pooch-cache.py # Pooch test data. Use librosa-create-pooch-cache.py to create this file Source2: librosa-pooch-cache.tar.gz -# PATCH-FIX-UPSTREAM gh#librosa/librosa#1551 -Patch0: remove-contextlib2.patch -# PATCH-FIX-OPENSUSE Skip tests that require further test data that is ~180MiB -Patch1: skip-test-data-missing-tests.patch -# PATCH-FIX-UPSTREAM update-tests-for-numpy-123.patch gh#librosa/librosa#1581 -Patch2: update-tests-for-numpy-123.patch -# PATCH-FIX-UPSTREAM remove-hanning-from-tests.patch gh#librosa/librosa#1548 -Patch3: remove-hanning-from-tests.patch -# PATCH-FIX-UPSTREAM update-for-numpy-124.patch, parts from gh#librosa/librosa#1587, gh#librosa/librosa#1632 -Patch4: update-for-numpy-124.patch -BuildRequires: %{python_module SoundFile >= 0.10.2} +# Static test data +Source3: https://github.com/librosa/librosa-test-data/archive/%{static_test_data_commit}.tar.gz#/librosa-static-test-data-%{version}.tar.gz +BuildRequires: %{python_module SoundFile >= 0.12.1} BuildRequires: %{python_module audioread >= 2.1.9} -BuildRequires: %{python_module base >= 3.6} -BuildRequires: %{python_module decorator >= 4.0.10} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module decorator >= 4.3.0} BuildRequires: %{python_module joblib >= 0.14} -BuildRequires: %{python_module numba >= 0.45.1} -BuildRequires: %{python_module numpy >= 1.17.0} -BuildRequires: %{python_module packaging >= 20.0} +BuildRequires: %{python_module lazy_loader >= 0.1} +BuildRequires: %{python_module msgpack >= 1.0} +BuildRequires: %{python_module numba >= 0.51.0} +BuildRequires: %{python_module numpy >= 1.22.3} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pooch >= 1.0} -BuildRequires: %{python_module resampy >= 0.2.2} -BuildRequires: %{python_module scikit-learn >= 0.19.1} +BuildRequires: %{python_module pooch >= 1.0 with %python-pooch < 1.7} +BuildRequires: %{python_module scikit-learn >= 0.20.0} BuildRequires: %{python_module scipy >= 1.2.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module soxr >= 0.3.2} +BuildRequires: %{python_module typing_extensions >= 4.1.1} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-SoundFile >= 0.10.2 +Requires: python-SoundFile >= 0.12.1 Requires: python-audioread >= 2.1.9 -Requires: python-decorator >= 4.0.10 +Requires: python-decorator >= 4.3.0 Requires: python-joblib >= 0.14 -Requires: python-numba >= 0.45.1 -Requires: python-numpy >= 1.17.0 -Requires: python-packaging >= 20.0 -Requires: python-pooch >= 1.0 -Requires: python-resampy >= 0.2.2 -Requires: python-scikit-learn >= 0.19.1 +Requires: python-lazy_loader >= 0.1 +Requires: python-msgpack >= 1.0 +Requires: python-numba >= 0.51.0 +Requires: python-numpy >= 1.22.3 +Requires: python-scikit-learn >= 0.20.0 Requires: python-scipy >= 1.2.0 +Requires: python-soxr >= 0.3.2 +Requires: python-typing_extensions >= 4.1.1 +Requires: (python-pooch >= 1.0 with python-pooch < 1.7) BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module matplotlib >= 3.3.0} +BuildRequires: %{python_module packaging >= 20.0} BuildRequires: %{python_module pytest-mpl} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module resampy >= 0.2.2} BuildRequires: %{python_module samplerate} BuildRequires: ffmpeg # /SECTION @@ -83,6 +82,9 @@ %prep %autosetup -p1 -n librosa-%{version} -a 2 +pushd tests/data +tar xf %{SOURCE3} --strip-components=1 +popd # Remove unneeded shebangs find librosa -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \; # don't measure test coverage @@ -97,23 +99,38 @@ %check export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache -# test data files not packaged -donttest+=" or (test_core and test_iirt) or test_find_files" -donttest+=" or (test_features and test_cens)" -donttest+=" or (test_filters and test_semitone_filterbank)" # image files do not match without exact mpl version -donttest+=" or test_display" -# soxr not in Tumbleweed -donttest+=" or soxr" +donttest="test_display" # fails with current Tumbleweed donttest+=" or test_pyin_multi_center" -# Overflow on i586 +# Overflow on 32-bit if [ $(getconf LONG_BIT) -eq 32 ]; then donttest+=" or test_tempo or test_hybrid_cqt or test_stft_winsizes" donttest+=" or test_istft_reconstruction or test_trim" - donttest+=" or test_nnls_multiblock" + donttest+=" or test_multichannel" + donttest+=" or test_time_stretch_multi" + donttest+=" or test_piptrack_properties" + donttest+=" or test_pitch_shift_multi" + donttest+=" or test_split_multi" + donttest+=" or test_hpss_multi" + donttest+=" or test_nn_filter_multi" + donttest+=" or (test_nnls_multiblock and 256)" + donttest+=" or (test_rms and (4096 or 4097))" fi -%pytest -k "not (${donttest:4})" -n auto +# Flaky segfaults when run in parallel, upstream does not test with xdist +notparallel="test_piptrack" +notparallel+=" or (test_onset_strength_audio and chroma_stft)" +notparallel+=" or test_localmax" +notparallel+=" or test_localmin" +notparallel+=" or test_yin" +notparallel+=" or test_pyin" +notparallel+=" or test_tonnetz" +notparallel+=" or test_remix" +notparallel+=" or test_chroma" +notparallel+=" or test_estimate_tuning" +notparallel+=" or test_zero_crossings" +%pytest -k "not (${donttest} or ${notparallel})" -n auto +%pytest -k "not (${donttest}) and (${notparallel})" %files %{python_files} %doc AUTHORS.md README.md ++++++ _constraints ++++++ <constraints> <hardware> <physicalmemory> <size unit="G">12</size> </physicalmemory> </hardware> </constraints> ++++++ librosa-0.9.2.tar.gz -> librosa-0.10.1.tar.gz ++++++ ++++ 22759 lines of diff (skipped) ++++++ librosa-pooch-cache.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-librosa/librosa-pooch-cache.tar.gz /work/SRC/openSUSE:Factory/.python-librosa.new.1766/librosa-pooch-cache.tar.gz differ: char 13, line 1