Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-xarray-einstats for
openSUSE:Factory checked in at 2023-03-27 18:15:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xarray-einstats (Old)
and /work/SRC/openSUSE:Factory/.python-xarray-einstats.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xarray-einstats"
Mon Mar 27 18:15:43 2023 rev:2 rq:1074482 version:0.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-xarray-einstats/python-xarray-einstats.changes
2022-11-25 13:22:18.771407165 +0100
+++
/work/SRC/openSUSE:Factory/.python-xarray-einstats.new.31432/python-xarray-einstats.changes
2023-03-27 18:15:45.838943147 +0200
@@ -1,0 +2,24 @@
+Fri Mar 24 20:37:44 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.5.1
+ * Fix lower cap on xarray version dependency #45
+- Release v0.5.0
+ * Added {func}.empty_ref, {func}.ones_ref and {func}.zeros_ref
+ DataArray creation helpers #37
+ * Added {func}.linalg.diagonal wrapper #37
+ * Added {func}.stats.logsumexp wrapper #40
+ * Added {func}.searchsorted and {func}.ecdf in
+ {mod}~xarray_einstats.numba module #40
+ * Added {func}~xarray_einstats.sort wrapper for vectorized sort
+ along specific dimension using values #40
+ * Fix issue in linalg.svd for non-square matrices #37
+ * Fix evaluation of distribution methods (e.g. .pdf) on scalars
+ #38 and #39
+ * Ensure support on inputs with stacked dimensions #40
+- Release v0.4.0
+ * Add multivariate_normal distribution class #23
+ * Update pyproject.toml to support building the package with both
+ flit and setuptools #26
+ * Update python and dependency versions #33
+
+-------------------------------------------------------------------
Old:
----
xarray-einstats-0.3.0.tar.gz
New:
----
xarray-einstats-0.5.1-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xarray-einstats.spec ++++++
--- /var/tmp/diff_new_pack.co7Tmf/_old 2023-03-27 18:15:46.634947348 +0200
+++ /var/tmp/diff_new_pack.co7Tmf/_new 2023-03-27 18:15:46.638947368 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-xarray-einstats
#
-# 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
@@ -16,25 +16,33 @@
#
+# no python38-xarray
+%define skip_python38 1
Name: python-xarray-einstats
-Version: 0.3.0
+Version: 0.5.1
Release: 0
Summary: Stats, linear algebra and einops for xarray
License: Apache-2.0
URL: https://github.com/arviz-devs/xarray-einstats
-Source:
https://files.pythonhosted.org/packages/source/x/xarray-einstats/xarray-einstats-%{version}.tar.gz
-BuildRequires: python-rpm-macros
-BuildRequires: %{python_module wheel}
-BuildRequires: %{python_module pip}
+Source:
https://github.com/arviz-devs/xarray-einstats/archive/refs/tags/v%{version}.tar.gz#/xarray-einstats-%{version}-gh.tar.gz
BuildRequires: %{python_module flit-core}
-BuildRequires: %{python_module numpy >= 1.19}
-BuildRequires: %{python_module scipy >= 1.5}
-BuildRequires: %{python_module xarray >= 0.16}
-# Test requires
+BuildRequires: %{python_module numpy >= 1.20}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module scipy >= 1.6}
+BuildRequires: %{python_module wheel}
+BuildRequires: %{python_module xarray >= 2022.9.0}
+BuildRequires: python-rpm-macros
+# SECTION Test requires
+BuildRequires: %{python_module numba if %python-base < 3.11}
+BuildRequires: %{python_module hypothesis}
+BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module numba}
+# /SECTION
BuildRequires: fdupes
BuildArch: noarch
+Requires: python-numpy >= 1.20
+Requires: python-scipy >= 1.6
+Requires: python-xarray >= 2022.9.0
%python_subpackages
%description
@@ -42,8 +50,6 @@
%prep
%autosetup -p1 -n xarray-einstats-%{version}
-# python-einops is not available for Tumbleweed yet
-rm -rf src/xarray_einstats/tests/test_einops.py
%build
%pyproject_wheel
@@ -51,10 +57,13 @@
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/xarray_einstats/tests
%check
-%pytest src/xarray_einstats/tests
+# no python-einops in TW
+ignoretests="--ignore tests/test_einops.py"
+# no python311-numba yet
+python311_ignoretests="--ignore tests/test_numba.py"
+%pytest $ignoretests ${$python_ignoretests}
%files %{python_files}
%license LICENSE