- Don't test on python39: No python39-notebook anymore
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=45
This commit is contained in:
parent
173992b87c
commit
dec8d31ad3
@ -28,6 +28,7 @@ Thu Mar 7 15:06:32 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
(@krassowski)
|
||||
* Use pseudo-elements instead of border to preserve line height
|
||||
#687 (@krassowski)
|
||||
- Don't test on python39: No python39-notebook anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 16:04:56 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
@ -42,21 +42,21 @@ BuildRequires: %{python_module Jinja2 >= 2.9}
|
||||
BuildRequires: %{python_module Pygments}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module hatch-jupyter-builder >= 0.5}
|
||||
BuildRequires: %{python_module hatchling >= 1.5.0}
|
||||
BuildRequires: %{python_module jupyter-server-mathjax >= 0.2.2}
|
||||
BuildRequires: %{python_module jupyter-server}
|
||||
BuildRequires: %{python_module nbformat}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tornado}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module jupyter-server-test}
|
||||
BuildRequires: %{python_module jupyter-server-test if %python-base >= 3.10}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module notebook}
|
||||
BuildRequires: %{python_module notebook if %python-base >= 3.10}
|
||||
BuildRequires: %{python_module pytest >= 3.6}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
@ -205,10 +205,17 @@ for b in %mainbins %gitbins %hgbins; do
|
||||
done
|
||||
}
|
||||
%endif
|
||||
%python_flavored_alternatives
|
||||
git config --global user.email "test@test.com"
|
||||
git config --global user.name "tester"
|
||||
git config --global init.defaultBranch master
|
||||
%pytest --pyargs nbdime
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%{python_expand # don't test anything on python39: no jupyter-server-test anymore
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
if [ "${python_flavor}" != "python39" ]; then
|
||||
$python -m pytest -v --pyargs nbdime
|
||||
fi
|
||||
}
|
||||
|
||||
%pre
|
||||
# remove any non-symlink bin before installing the alternative links
|
||||
|
Loading…
x
Reference in New Issue
Block a user