From be07eb051e44f4a15534e8c75d62719090a470a8 Mon Sep 17 00:00:00 2001 From: dgarcia <> Date: Mar 22 2023 21:43:16 +0000 Subject: Update python-arviz to version 0.15.1 / rev 3 via SR 1073712 https://build.opensuse.org/request/show/1073712 by user dgarcia + dimstar_suse - skip python 3.11 and python 3.8 because some dependencies doesn't support that python versions - Update to 0.15.1 - Fix memory usage and improve efficiency in `from_emcee` ([2215](https://github.com/arviz-devs/arviz/pull/2215)) - Lower pandas version needed ([2217](https://github.com/arviz-devs/arviz/pull/2217)) - 0.15.0 - Adds Savage-Dickey density ratio plot for Bayes factor approximation. ([2037](https://github.com/arviz-devs/arviz/pull/2037), [2152](https://github.com/arviz-devs/arviz/pull/2152)) - Add `CmdStanPySamplingWrapper` and `PyMCSamplingWrapper` classes ([2158](https://github.com/arviz-devs/arviz/pull/2158)) - Changed dependency on netcdf4-python to h5netcdf ([2122](https://github.com/arviz-devs/arviz/pull/2122)) - Fix `reloo` outdate --- diff --git a/packages/p/python-arviz/.files b/packages/p/python-arviz/.files index 08cc04e..5fa7c9d 100644 Binary files a/packages/p/python-arviz/.files and b/packages/p/python-arviz/.files differ diff --git a/packages/p/python-arviz/.rev b/packages/p/python-arviz/.rev index 8f13efa..68f2fb6 100644 --- a/packages/p/python-arviz/.rev +++ b/packages/p/python-arviz/.rev @@ -16,4 +16,42 @@ 1037905 + + c286fa48dcb3f5618d108a0b279c59e4 + 0.15.1 + + dimstar_suse + - skip python 3.11 and python 3.8 because some dependencies doesn't + support that python versions +- Update to 0.15.1 + - Fix memory usage and improve efficiency in `from_emcee` + ([2215](https://github.com/arviz-devs/arviz/pull/2215)) + - Lower pandas version needed + ([2217](https://github.com/arviz-devs/arviz/pull/2217)) +- 0.15.0 + - Adds Savage-Dickey density ratio plot for Bayes factor + approximation. + ([2037](https://github.com/arviz-devs/arviz/pull/2037), + [2152](https://github.com/arviz-devs/arviz/pull/2152)) + - Add `CmdStanPySamplingWrapper` and `PyMCSamplingWrapper` classes + ([2158](https://github.com/arviz-devs/arviz/pull/2158)) + - Changed dependency on netcdf4-python to h5netcdf + ([2122](https://github.com/arviz-devs/arviz/pull/2122)) + - Fix `reloo` outdated usage of `ELPDData` + ([2158](https://github.com/arviz-devs/arviz/pull/2158)) + - plot_bpv smooth discrete data only when computing u_values + ([2179](https://github.com/arviz-devs/arviz/pull/2179)) + - Fix bug when beanmachine objects lack some fields + ([2154](https://github.com/arviz-devs/arviz/pull/2154)) + - Fix gap for `plot_trace` with option `kind="rank_bars"` + ([2180](https://github.com/arviz-devs/arviz/pull/2180)) + - Fix `plot_lm` unsupported usage of `np.tile` + ([2186](https://github.com/arviz-devs/arviz/pull/2186)) + - Update `_z_scale` to work with SciPy 1.10 + ([2186](https://github.com/arviz-devs/arviz/pull/2186)) + - Fix bug in BaseLabeller when combining with with NoVarLabeller + ([2200](https://github.com/arviz-devs/arviz/pull/2200)) + + 1073712 + diff --git a/packages/p/python-arviz/arviz-0.14.0.tar.gz b/packages/p/python-arviz/arviz-0.14.0.tar.gz deleted file mode 120000 index 5e1ccb1..0000000 --- a/packages/p/python-arviz/arviz-0.14.0.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeibyqk3ktibj5gxzcemzrxamb5bfxk45wwo4qqgfhoku43jhchlysa \ No newline at end of file diff --git a/packages/p/python-arviz/arviz-0.15.1.tar.gz b/packages/p/python-arviz/arviz-0.15.1.tar.gz new file mode 120000 index 0000000..d767961 --- /dev/null +++ b/packages/p/python-arviz/arviz-0.15.1.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeif5andu3xz4zzluf4uhdohvecfvvxi3y6ghweavporprziqhlemwy \ No newline at end of file diff --git a/packages/p/python-arviz/python-arviz.changes b/packages/p/python-arviz/python-arviz.changes index 24291cc..32ce150 100644 --- a/packages/p/python-arviz/python-arviz.changes +++ b/packages/p/python-arviz/python-arviz.changes @@ -1,4 +1,38 @@ ------------------------------------------------------------------- +Wed Mar 22 08:21:10 UTC 2023 - Daniel Garcia + +- skip python 3.11 and python 3.8 because some dependencies doesn't + support that python versions +- Update to 0.15.1 + - Fix memory usage and improve efficiency in `from_emcee` + ([2215](https://github.com/arviz-devs/arviz/pull/2215)) + - Lower pandas version needed + ([2217](https://github.com/arviz-devs/arviz/pull/2217)) +- 0.15.0 + - Adds Savage-Dickey density ratio plot for Bayes factor + approximation. + ([2037](https://github.com/arviz-devs/arviz/pull/2037), + [2152](https://github.com/arviz-devs/arviz/pull/2152)) + - Add `CmdStanPySamplingWrapper` and `PyMCSamplingWrapper` classes + ([2158](https://github.com/arviz-devs/arviz/pull/2158)) + - Changed dependency on netcdf4-python to h5netcdf + ([2122](https://github.com/arviz-devs/arviz/pull/2122)) + - Fix `reloo` outdated usage of `ELPDData` + ([2158](https://github.com/arviz-devs/arviz/pull/2158)) + - plot_bpv smooth discrete data only when computing u_values + ([2179](https://github.com/arviz-devs/arviz/pull/2179)) + - Fix bug when beanmachine objects lack some fields + ([2154](https://github.com/arviz-devs/arviz/pull/2154)) + - Fix gap for `plot_trace` with option `kind="rank_bars"` + ([2180](https://github.com/arviz-devs/arviz/pull/2180)) + - Fix `plot_lm` unsupported usage of `np.tile` + ([2186](https://github.com/arviz-devs/arviz/pull/2186)) + - Update `_z_scale` to work with SciPy 1.10 + ([2186](https://github.com/arviz-devs/arviz/pull/2186)) + - Fix bug in BaseLabeller when combining with with NoVarLabeller + ([2200](https://github.com/arviz-devs/arviz/pull/2200)) + +------------------------------------------------------------------- Thu Nov 24 10:03:01 UTC 2022 - Daniel Garcia - Update to 0.14.0 diff --git a/packages/p/python-arviz/python-arviz.spec b/packages/p/python-arviz/python-arviz.spec index ec2c033..19c9db1 100644 --- a/packages/p/python-arviz/python-arviz.spec +++ b/packages/p/python-arviz/python-arviz.spec @@ -1,7 +1,7 @@ # # spec file for package python-arviz # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,27 @@ %define modname arviz +# python-numba dependency Not compatible with Python 3.11 yet. If this +# changes, and the python311 flavor is active, make sure to expand the +# multibuild test flavors https://github.com/numba/numba/issues/8304 +%define skip_python311 1 +# python-xarray doesn't support python38 anymore +%define skip_python38 1 Name: python-arviz -Version: 0.14.0 +Version: 0.15.1 Release: 0 Summary: Exploratory analysis of Bayesian models License: Apache-2.0 URL: http://github.com/arviz-devs/arviz -Source: https://github.com/arviz-devs/arviz/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz +Source: https://github.com/arviz-devs/arviz/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module cloudpickle} +BuildRequires: %{python_module bokeh} +BuildRequires: %{python_module dash} +BuildRequires: %{python_module dask} +BuildRequires: %{python_module h5netcdf} BuildRequires: %{python_module matplotlib >= 3.5} -BuildRequires: %{python_module netCDF4} BuildRequires: %{python_module numba} BuildRequires: %{python_module numpy >= 1.20.0} BuildRequires: %{python_module packaging} @@ -37,18 +46,22 @@ BuildRequires: %{python_module pytest >= 0.23} BuildRequires: %{python_module scipy >= 1.8.0} BuildRequires: %{python_module setuptools >= 60.0.0} BuildRequires: %{python_module typing_extensions} +BuildRequires: %{python_module ujson} BuildRequires: %{python_module xarray >= 0.21.0} BuildRequires: %{python_module xarray-einstats >= 0.3} +BuildRequires: %{python_module zarr} # /SECTION BuildRequires: fdupes -Requires: python-matplotlib >= 3.5 -Requires: python-netCDF4 +Requires: python-h5netcdf +Requires: python-matplotlib >= 3.2 Requires: python-numpy >= 1.20.0 Requires: python-packaging Requires: python-pandas >= 1.4.0 Requires: python-scipy >= 1.8.0 Requires: python-setuptools >= 60.0.0 +Requires: python-typing_extensions Requires: python-xarray >= 0.21.0 +Requires: python-xarray-einstats Recommends: python-bokeh >= 1.4.0 Recommends: python-numba Recommends: python-ujson @@ -71,12 +84,10 @@ diagnostics. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Delete pyjags test to avoid import errors when running pytest -rm arviz/tests/external_tests/test_data_pyjags.py -# Weird errors when pymc3 is not available, just skipping the tests does not work -rm arviz/tests/external_tests/test_data_pymc.py # Matplotlib tests try to save results to non-writeable dir -%pytest -k 'not test_plots_matplotlib' +donttest="test_plots_matplotlib" +donttest+=" or test_plot_separation" +%pytest -k "not ($donttest)" %files %{python_files} %doc CHANGELOG.md README.md