Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nibabel for openSUSE:Factory checked in at 2026-04-10 17:53:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nibabel (Old) and /work/SRC/openSUSE:Factory/.python-nibabel.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nibabel" Fri Apr 10 17:53:19 2026 rev:17 rq:1345706 version:5.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nibabel/python-nibabel.changes 2026-02-23 16:14:49.418959945 +0100 +++ /work/SRC/openSUSE:Factory/.python-nibabel.new.21863/python-nibabel.changes 2026-04-10 18:02:40.345766958 +0200 @@ -1,0 +2,15 @@ +Wed Apr 8 11:29:04 UTC 2026 - Markéta Machová <[email protected]> + +- Update to 5.4.2 + * Add mode parameter to nibabel.processing.conform + * Label image axes consistently in cases of extreme obliquity + * Use compression.zstd or backports.zstd in preference to pyzstd + * Support PAR/REC files generated by Philips R11 consoles + * Adapt to numpy 2.5 deprecation of setting shape attributes + * Support ushort datatypes in MGH/MGZ files + * Drop support for Python 3.9, Numpy < 1.25 + * Adjust tests to not depend on how pytest is run, or deep clones +- Drop ignore-userwarnings.patch, merged upstream +- Convert to libalternatives on SLE-16-based and newer systems + +------------------------------------------------------------------- Old: ---- ignore-userwarnings.patch nibabel-5.3.3.tar.gz New: ---- nibabel-5.4.2.tar.gz ----------(Old B)---------- Old: * Adjust tests to not depend on how pytest is run, or deep clones - Drop ignore-userwarnings.patch, merged upstream - Convert to libalternatives on SLE-16-based and newer systems ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nibabel.spec ++++++ --- /var/tmp/diff_new_pack.tSygon/_old 2026-04-10 18:02:41.033795337 +0200 +++ /var/tmp/diff_new_pack.tSygon/_new 2026-04-10 18:02:41.033795337 +0200 @@ -17,42 +17,50 @@ %define binaries nib-conform nib-convert nib-dicomfs nib-diff nib-ls nib-nifti-dx nib-roi nib-stats nib-tck2trk nib-trk2tck parrec2nii +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif Name: python-nibabel -Version: 5.3.3 +Version: 5.4.2 Release: 0 Summary: Tool to access multiple neuroimaging data formats License: MIT URL: https://nipy.org/nibabel # SourceRepository: https://github.com/nipy/nibabel Source: https://files.pythonhosted.org/packages/source/n/nibabel/nibabel-%{version}.tar.gz -# PATCH-FIX-UPSTREAM One commit of gh#nipy/nibabel#1416 -Patch0: ignore-userwarnings.patch -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.20 -Requires: python-packaging => 17 +Requires: python-numpy >= 1.25 +Requires: python-packaging >= 17 +Recommends: python-Pillow +Recommends: python-h5py +Recommends: python-pydicom >= 1 +Recommends: python-scipy +BuildArch: noarch %if 0%{?python_version_nodots} < 312 Requires: python-importlib-resources >= 5.12 %endif %if 0%{?python_version_nodots} < 313 Requires: python-typing-extensions >= 4.6 %endif +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else Requires(post): update-alternatives Requires(postun): update-alternatives -Recommends: python-Pillow -Recommends: python-h5py -Recommends: python-pydicom >= 1 -Recommends: python-scipy -BuildArch: noarch +%endif # SECTION test requirements BuildRequires: %{python_module Pillow} BuildRequires: %{python_module h5py} BuildRequires: %{python_module importlib-resources >= 5.12 if %python-base < 3.12} -BuildRequires: %{python_module numpy >= 1.20} +BuildRequires: %{python_module numpy >= 1.25} BuildRequires: %{python_module packaging >= 17} BuildRequires: %{python_module pydicom >= 1} BuildRequires: %{python_module pytest-doctestplus} @@ -100,6 +108,9 @@ %postun %{expand:%(for b in %{binaries}; do echo "%%python_uninstall_alternative $b"; done)} +%pre +%{expand:%(for b in %{binaries}; do echo "%%python_libalternatives_reset_alternative $b"; done)} + %files %{python_files} %doc AUTHOR Changelog README.rst %license COPYING ++++++ nibabel-5.3.3.tar.gz -> nibabel-5.4.2.tar.gz ++++++ ++++ 7584 lines of diff (skipped)
