Accepting request 1134997 from devel:languages:python:jupyter
- Update to 0.8.0 * Allow passing request_timeout to client_fetch #67 (@afbarbaro) * code maintenance - Disable the -server subpackage for Ring1 OBS-URL: https://build.opensuse.org/request/show/1134997 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-jupyter?expand=0&rev=4
This commit is contained in:
commit
9924171176
BIN
pytest_jupyter-0.7.0.tar.gz
(Stored with Git LFS)
BIN
pytest_jupyter-0.7.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
pytest_jupyter-0.8.0.tar.gz
Normal file
3
pytest_jupyter-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:842817c300802c8608676bbb1460ba0081f2688cf5cb55b87d7bad5dcb0e9729
|
||||||
|
size 15716
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 24 14:14:51 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.8.0
|
||||||
|
* Allow passing request_timeout to client_fetch #67 (@afbarbaro)
|
||||||
|
* code maintenance
|
||||||
|
- Disable the -server subpackage for Ring1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 23 17:24:28 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Sun Apr 23 17:24:28 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -25,14 +25,18 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# defined at Ring1-MinimalX lettered staging prjconf
|
||||||
|
# We do not want jupyter-server in ring1
|
||||||
|
%bcond_with ringdisabled
|
||||||
|
|
||||||
Name: python-pytest-jupyter%{psuffix}
|
Name: python-pytest-jupyter%{psuffix}
|
||||||
Version: 0.7.0
|
Version: 0.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions
|
Summary: A pytest plugin for testing Jupyter libraries and extensions
|
||||||
License: BSD-3-Clause AND MIT
|
License: BSD-3-Clause AND MIT
|
||||||
URL: https://github.com/jupyter-server/pytest-jupyter
|
URL: https://github.com/jupyter-server/pytest-jupyter
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest_jupyter/pytest_jupyter-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest_jupyter/pytest_jupyter-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -41,10 +45,11 @@ Requires: python-jupyter_core
|
|||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module nbformat}
|
|
||||||
BuildRequires: %{python_module pytest-jupyter = %{version}}
|
BuildRequires: %{python_module pytest-jupyter = %{version}}
|
||||||
BuildRequires: %{python_module pytest-jupyter-client = %{version}}
|
BuildRequires: %{python_module pytest-jupyter-client = %{version}}
|
||||||
|
%if !%{with ringdisabled}
|
||||||
BuildRequires: %{python_module pytest-jupyter-server = %{version}}
|
BuildRequires: %{python_module pytest-jupyter-server = %{version}}
|
||||||
|
%endif
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -54,8 +59,9 @@ A pytest plugin for testing Jupyter libraries and extensions.
|
|||||||
|
|
||||||
%package client
|
%package client
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions [client] extra
|
Summary: A pytest plugin for testing Jupyter libraries and extensions [client] extra
|
||||||
Requires: python-ipykernel
|
Requires: python-ipykernel >= 6.14
|
||||||
Requires: python-jupyter_client >= 7.4
|
Requires: python-jupyter-client >= 7.4
|
||||||
|
Requires: python-nbformat >= 5.3
|
||||||
Requires: python-pytest-jupyter = %{version}
|
Requires: python-pytest-jupyter = %{version}
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
@ -64,10 +70,11 @@ This subpackage provides the [client] extra dependencies
|
|||||||
|
|
||||||
%package server
|
%package server
|
||||||
Summary: A pytest plugin for testing Jupyter libraries and extensions [server] extra
|
Summary: A pytest plugin for testing Jupyter libraries and extensions [server] extra
|
||||||
|
Requires: python-ipykernel >= 6.14
|
||||||
|
Requires: python-jupyter-client >= 7.4
|
||||||
Requires: python-jupyter-server >= 1.21
|
Requires: python-jupyter-server >= 1.21
|
||||||
Requires: python-nbformat >= 5.3
|
Requires: python-nbformat >= 5.3
|
||||||
Requires: python-pytest-jupyter = %{version}
|
Requires: python-pytest-jupyter = %{version}
|
||||||
Requires: python-pytest-jupyter-client = %{version}
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
A pytest plugin for testing Jupyter libraries and extensions.
|
A pytest plugin for testing Jupyter libraries and extensions.
|
||||||
@ -75,7 +82,10 @@ This subpackage provides the [server] extra dependencies
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest_jupyter-%{version}
|
%setup -q -n pytest_jupyter-%{version}
|
||||||
sed -i 's/--color=yes//' pyproject.toml
|
sed -e 's/ "--color=yes",//' -i pyproject.toml
|
||||||
|
%if %{with ringdisabled}
|
||||||
|
sed -e "/jupyter_server/d" -i tests/conftest.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
@ -88,7 +98,8 @@ sed -i 's/--color=yes//' pyproject.toml
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%pytest
|
mv pytest_jupyter pytest_jupyter.moved
|
||||||
|
%pytest %{?_with_ringdisabled:--ignore tests/test_jupyter_server.py}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@ -101,8 +112,10 @@ sed -i 's/--color=yes//' pyproject.toml
|
|||||||
%files %{python_files client}
|
%files %{python_files client}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
%if !%{with ringdisabled}
|
||||||
%files %{python_files server}
|
%files %{python_files server}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user