Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-physt for openSUSE:Factory checked in at 2026-03-25 21:17:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-physt (Old) and /work/SRC/openSUSE:Factory/.python-physt.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-physt" Wed Mar 25 21:17:54 2026 rev:12 rq:1342273 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-physt/python-physt.changes 2025-08-29 18:38:37.438814847 +0200 +++ /work/SRC/openSUSE:Factory/.python-physt.new.8177/python-physt.changes 2026-03-27 06:48:40.815928099 +0100 @@ -1,0 +2,11 @@ +Tue Mar 24 16:56:48 UTC 2026 - Dirk Müller <[email protected]> + +- Update to version 0.9.0: + * Reorganized project structure (src layout, docs + directory). + * Switched build system to flit. + * Added experimental command-line interface. + * Added dependencies: narwhals, rich, click. + * Modernized codebase and improved compatibility layers. + +------------------------------------------------------------------- Old: ---- physt-0.8.6.tar.gz New: ---- physt-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-physt.spec ++++++ --- /var/tmp/diff_new_pack.4Uk1ZB/_old 2026-03-27 06:48:41.483955608 +0100 +++ /var/tmp/diff_new_pack.4Uk1ZB/_new 2026-03-27 06:48:41.491955938 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-physt # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,14 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif +%{?sle15_python_module_pythons} Name: python-physt -Version: 0.8.6 +Version: 0.9.0 Release: 0 Summary: Python histogram library License: MIT @@ -28,29 +34,41 @@ BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-click >= 8.1.8 Requires: python-hypothesis >= 6.96.1 +Requires: python-narwhals >= 2.0.1 Requires: python-numpy >= 1.25 Requires: python-packaging +Requires: python-rich >= 14.1.0 Requires: python-typing-extensions Recommends: python-astropy >= 6 Recommends: python-dask-array >= 2023.0 Recommends: python-folium -Recommends: python-matplotlib -Recommends: python-pandas +Recommends: python-matplotlib >= 3.0 +Recommends: python-pandas >= 1.3 Recommends: python-xarray Suggests: python-plotly BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif # SECTION test requirements BuildRequires: %{python_module astropy} +BuildRequires: %{python_module click >= 8.1.8} BuildRequires: %{python_module dask-array >= 2023.0} BuildRequires: %{python_module hypothesis >= 6.96.1} -BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module matplotlib >= 3.0} +BuildRequires: %{python_module narwhals >= 2.0.1} BuildRequires: %{python_module numpy >= 1.25} BuildRequires: %{python_module packaging} -BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pandas >= 1.3} BuildRequires: %{python_module plotly} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module rich} +BuildRequires: %{python_module rich >= 14.1.0} BuildRequires: %{python_module typing-extensions} # /SECTION %python_subpackages @@ -72,18 +90,26 @@ %install %pyproject_install +%python_clone -a %{buildroot}%{_bindir}/physt %python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # no polars ignore="--ignore tests/compat/test_polars.py" -donttest="test_array_at_least_two_different_values or test_zero_statistics" +donttest="test_array_at_least_two_different_values or test_zero_statistics or test_plot_hbar" %pytest $ignore -k "not ($donttest)" +%post +%python_install_alternative physt + +%postun +%python_uninstall_alternative physt + %files %{python_files} %doc README.md %license LICENSE +%python_alternative %{_bindir}/physt %{python_sitelib}/physt %{python_sitelib}/physt-%{version}.dist-info ++++++ physt-0.8.6.tar.gz -> physt-0.9.0.tar.gz ++++++ ++++ 37704 lines of diff (skipped)
