Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-o2sclpy for openSUSE:Factory checked in at 2024-07-24 15:30:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-o2sclpy (Old) and /work/SRC/openSUSE:Factory/.python-o2sclpy.new.1869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-o2sclpy" Wed Jul 24 15:30:12 2024 rev:6 rq:1189110 version:0.929 Changes: -------- --- /work/SRC/openSUSE:Factory/python-o2sclpy/python-o2sclpy.changes 2022-08-22 11:05:09.285704468 +0200 +++ /work/SRC/openSUSE:Factory/.python-o2sclpy.new.1869/python-o2sclpy.changes 2024-07-25 12:06:54.761225553 +0200 @@ -1,0 +2,47 @@ +Fri Jul 12 08:12:28 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com> + +- Update to version 0.929: + * No release notes. +- Switch to pyproject_* macros for builds (adds BuildRequires: + python-pip and python-wheel). +- Add appropriate BuildRequires and run tests using pytest. + +------------------------------------------------------------------- +Fri Jan 26 21:29:26 UTC 2024 - Dirk Müller <dmueller@suse.com> + +- update to 0.928: + * Several improvements to documentation and examples. + * Reworked interp_krige, interp_krige_optim, interpm_krige and + interpm_krige_optim. + * Fixed ioctl calls and removed default ncurses requirement. + * Improved multiprecision support in the integrators and created + funct_multip_transform. Created a getfp, setfp, sets_vec_vec, + and setd_vec_vec functions for hdf_file. + * Updated mcmc_para, eos_tov_interp, polylog, and eos_sn_hfsl + classes. + * Removed old acolm_o2graph functions. + * Updated fermion_rel class, continuing work on multiprecision + support. + * Updated python interface for several classes. + * Created new classes vec_prob_dens_mdim, vec_prob_cond_mdim, + prob_dens_func_gmm, + * Created new classes gmm_python, kde_python, interpm_python + and reworked python support. + * Created new FFT functions, rng_set_seed(), rng_set_seed_mpi(), + screenify_trans(), backslashify(), + * Created new example ex_tensor. + * Created acol command to-hist for table3d objects, + interp-table3d for table objects, to-gmm for table objects, + refine for table3d and hist_2d objects. Improved commands + generic, autocorr, to-gaussian. Improved handling of string[] + objects. Renamed entry to value and entry-grid to value-grid. + * Work on experimental emulator classes and experimental exp_max. + * Deprecated class interp, now superceded by interp_vec. + * Generalized axpy_prod() for other linear algebra libraries. + * Updated docker files, now including python support, tensorflow, + and sckit-learn. + * Fixed table::delete_column(), tensor_grid::copy_table3d_align(), + tensor_grid::grid_rearrange_and_copy(). + * Created new unicode mode for format_float(). + +------------------------------------------------------------------- Old: ---- o2sclpy-0.926.tar.gz New: ---- o2sclpy-0.929.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-o2sclpy.spec ++++++ --- /var/tmp/diff_new_pack.VNqNaI/_old 2024-07-25 12:06:55.185242696 +0200 +++ /var/tmp/diff_new_pack.VNqNaI/_new 2024-07-25 12:06:55.185242696 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-o2sclpy # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 %define modname o2sclpy +%{?sle15_python_module_pythons} Name: python-o2sclpy -Version: 0.926 +Version: 0.929 Release: 0 Summary: Python extensions for O2scl License: GPL-3.0-only @@ -32,15 +30,25 @@ BuildRequires: %{python_module h5py} BuildRequires: %{python_module matplotlib >= 3.1} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pip} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module yt} BuildRequires: fdupes BuildRequires: python-rpm-macros +# SECTION Tests +BuildRequires: %{python_module scikit-learn} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module scipy} +BuildRequires: o2scl-devel >= %{version} +# /SECTION Requires: o2scl-devel >= %{version} Requires: python-h5py Requires: python-matplotlib >= 3.1 Requires: python-numpy Requires: python-requests +Requires: python-yt Requires: texlive-latex Requires(post): update-alternatives Requires(postun):update-alternatives @@ -55,13 +63,19 @@ %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/o2graph %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# TMPDIR with write permissions +export TMPDIR=`mktemp -d -p ./` +# test_interpm requires tensorflow, unavailable as package for oS +%pytest -k "not test_interpm" + %post %python_install_alternative o2graph @@ -73,5 +87,5 @@ %doc README.md %python_alternative %{_bindir}/o2graph %{python_sitelib}/%{modname}/ -%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/%{modname}-%{version}*.*-info/ ++++++ o2sclpy-0.926.tar.gz -> o2sclpy-0.929.tar.gz ++++++ ++++ 43215 lines of diff (skipped)