Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-altair for openSUSE:Factory 
checked in at 2024-03-20 21:14:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-altair (Old)
 and      /work/SRC/openSUSE:Factory/.python-altair.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-altair"

Wed Mar 20 21:14:49 2024 rev:16 rq:1159814 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-altair/python-altair.changes      
2024-03-01 23:36:28.947361915 +0100
+++ /work/SRC/openSUSE:Factory/.python-altair.new.1905/python-altair.changes    
2024-03-20 21:17:01.399949734 +0100
@@ -1,0 +2,7 @@
+Fri Mar 15 19:47:34 UTC 2024 - Ben Greiner <[email protected]>
+
+- Disable jupyter testing for python39: dropped support in
+  ipython 8.19
+- Update requirements
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-altair.spec ++++++
--- /var/tmp/diff_new_pack.KDeTlu/_old  2024-03-20 21:17:02.243980739 +0100
+++ /var/tmp/diff_new_pack.KDeTlu/_new  2024-03-20 21:17:02.243980739 +0100
@@ -24,29 +24,30 @@
 URL:            https://github.com/altair-viz/altair
 Source:         
https://github.com/altair-viz/altair/archive/refs/tags/v%{version}.tar.gz#/altair-%{version}.tar.gz
 BuildRequires:  %{python_module Jinja2}
-BuildRequires:  %{python_module anywidget}
+BuildRequires:  %{python_module anywidget if %python-base >= 3.10}
 BuildRequires:  %{python_module base >= 3.8}
-BuildRequires:  %{python_module black}
 BuildRequires:  %{python_module hatchling}
-BuildRequires:  %{python_module jsonschema}
-BuildRequires:  %{python_module jupyter_ipython}
+BuildRequires:  %{python_module jsonschema >= 3}
+BuildRequires:  %{python_module jupyter_ipython if %python-base >= 3.10}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pip}
 ##BuildRequires:  %%{python_module vl-convert-python}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module toolz}
-BuildRequires:  %{python_module typing-extensions}
+BuildRequires:  %{python_module typing-extensions if %python-base < 3.11}
 BuildRequires:  %{python_module vega_datasets}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Jinja2
-Requires:       python-jsonschema
+Requires:       python-jsonschema >= 3
 Requires:       python-numpy
 Requires:       python-packaging
-Requires:       python-pandas
+Requires:       python-pandas >= 0.25
 Requires:       python-toolz
+%if 0%{?python_version_nodots} < 311
 Requires:       python-typing-extensions
+%endif
 Recommends:     python-jupyter_ipython
 Recommends:     python-pyarrow
 Recommends:     python-vega_datasets
@@ -73,8 +74,13 @@
 
 %check
 # disable tests that require network
+donttest="test_examples or test_to_url"
 # vega requires vl-convert-python, not packaged
-%pytest -k 'not (test_examples or test_vegalite_compiler or with_format_vega 
or test_to_url)'
+donttest="$donttest or test_vegalite_compiler or with_format_vega"
+# anywidget and jupyter_ipython not available anymore in python39
+python39_ignore="--ignore tests/test_jupyter_chart.py"
+python39_donttest=" or test_check_renderer_options or test_display_options"
+%pytest -k "not ($donttest ${$python_donttest})" ${$python_ignore}
 
 %files %{python_files}
 %doc README.md

Reply via email to