Accepting request 1156366 from devel:languages:python:jupyter

- Update to 0.2.4
  * Fix extension discovery warning #31 (@Zsailer)
- Stop testing on python39: no pytest-jupyter anymore

OBS-URL: https://build.opensuse.org/request/show/1156366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-notebook-shim?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2024-03-08 17:10:44 +00:00 committed by Git OBS Bridge
commit c157e6ba15
4 changed files with 20 additions and 7 deletions

BIN
notebook_shim-0.2.3.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb
size 13167

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 8 13:26:06 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.2.4
* Fix extension discovery warning #31 (@Zsailer)
- Stop testing on python39: no pytest-jupyter anymore
-------------------------------------------------------------------
Thu Aug 17 16:06:14 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-notebook-shim
#
# Copyright (c) 2023 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
@ -17,7 +17,7 @@
Name: python-notebook-shim
Version: 0.2.3
Version: 0.2.4
Release: 0
Summary: A shim layer for notebook traits and config
License: BSD-3-Clause
@ -35,7 +35,7 @@ Provides: python-notebook_shim = %{version}-%{release}
BuildArch: noarch
BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 3}
BuildRequires: %{python_module pytest-console-scripts}
BuildRequires: %{python_module pytest-jupyter}
BuildRequires: %{python_module pytest-jupyter if %python-base >= 3.10}
BuildRequires: %{python_module pytest-tornasync}
BuildRequires: %{python_module pytest}
%python_subpackages
@ -68,7 +68,13 @@ file
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest notebook_shim
export PYTHONDONTWRITEBYTECODE=1
%{python_expand # don't test anything on python39: no pytest-jupyter anymore
export PYTHONPATH=%{buildroot}%{$python_sitelib}
if [ ${python_flavor} != "python39" ]; then
$python -m pytest -v notebook_shim
fi
}
%files %{python_files}
%license LICENSE