Accepting request 925909 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/925909 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=16
This commit is contained in:
commit
c347a98bca
33
conftest.py
33
conftest.py
@ -1,33 +0,0 @@
|
|||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
pytest_plugins = [
|
|
||||||
"jupyter_server.pytest_plugin"
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser):
|
|
||||||
parser.addoption(
|
|
||||||
"--integration_tests",
|
|
||||||
default=False,
|
|
||||||
type=bool,
|
|
||||||
help="only run tests with the 'integration_test' pytest mark.",
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def pytest_configure(config):
|
|
||||||
# register an additional marker
|
|
||||||
config.addinivalue_line(
|
|
||||||
"markers", "integration_test"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def pytest_runtest_setup(item):
|
|
||||||
is_integration_test = any(mark for mark in item.iter_markers(name="integration_test"))
|
|
||||||
|
|
||||||
if item.config.getoption("--integration_tests") is True:
|
|
||||||
if not is_integration_test:
|
|
||||||
pytest.skip("Only running tests marked as 'integration_test'.")
|
|
||||||
else:
|
|
||||||
if is_integration_test:
|
|
||||||
pytest.skip("Skipping this test because it's marked 'integration_test'. Run integration tests using the `--integration_tests` flag.")
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d3a3b68ebc6d7bfee1097f1712cf7709ee39c92379da2cc08724515bb85e72bf
|
|
||||||
size 417665
|
|
3
jupyter_server-1.11.1.tar.gz
Normal file
3
jupyter_server-1.11.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab7ab1cc38512f15026cbcbb96300fb46ec8b24aa162263d9edd00e0a749b1e8
|
||||||
|
size 420035
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 17 17:39:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 1.11.1
|
||||||
|
* Do not log connection error if the kernel is already shutdown
|
||||||
|
#584 (@martinRenou)
|
||||||
|
* [BUG]: allow None for min_open_files_limit trait #587
|
||||||
|
(@Zsailer)
|
||||||
|
- Release 1.11.0
|
||||||
|
* Allow non-empty directory deletion through settings #574
|
||||||
|
(@fcollonval)
|
||||||
|
* pytest_plugin: allow user specified headers in jp_ws_fetch #580
|
||||||
|
(@oliver-sanders)
|
||||||
|
* Shutdown kernels/terminals on api/shutdown #579 (@martinRenou)
|
||||||
|
* pytest: package conftest #576 (@oliver-sanders)
|
||||||
|
* Set stacklevel on warning to point to the right place. #572
|
||||||
|
(@Carreau)
|
||||||
|
* Respect reraise setting #571 (@vidartf)
|
||||||
|
* Fix jupyter_client warning #581 (@martinRenou)
|
||||||
|
* Add Pre-Commit Config #575 (@fcollonval)
|
||||||
|
* Clean up link checking #569 (@blink1073)
|
||||||
|
- Drop extra conftest.py
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 16 12:39:42 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Mon Aug 16 12:39:42 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-jupyter-server
|
Name: python-jupyter-server
|
||||||
Version: 1.10.2
|
Version: 1.11.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The backend to Jupyter web applications
|
Summary: The backend to Jupyter web applications
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -27,8 +27,6 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/jupyter-server/jupyter_server
|
URL: https://github.com/jupyter-server/jupyter_server
|
||||||
# need the release tarball for the static stylesheets
|
# need the release tarball for the static stylesheets
|
||||||
Source: https://github.com/jupyter-server/jupyter_server/releases/download/v%{version}/jupyter_server-%{version}.tar.gz
|
Source: https://github.com/jupyter-server/jupyter_server/releases/download/v%{version}/jupyter_server-%{version}.tar.gz
|
||||||
# conftest.py is not in release tarball but required for tests
|
|
||||||
Source1: https://github.com/jupyter-server/jupyter_server/raw/v%{version}/conftest.py
|
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module Send2Trash}
|
BuildRequires: %{python_module Send2Trash}
|
||||||
BuildRequires: %{python_module anyio >= 3.1.0}
|
BuildRequires: %{python_module anyio >= 3.1.0}
|
||||||
@ -92,9 +90,21 @@ share documents that contain live code, equations, visualizations, and
|
|||||||
explanatory text. The Notebook has support for multiple programming
|
explanatory text. The Notebook has support for multiple programming
|
||||||
languages, sharing, and interactive widgets.
|
languages, sharing, and interactive widgets.
|
||||||
|
|
||||||
|
%package test
|
||||||
|
Summary: The backend to Jupyter web applications - test requirements
|
||||||
|
Requires: python-ipykernel
|
||||||
|
Requires: python-jupyter-server = %{version}
|
||||||
|
Requires: python-pytest >= 6
|
||||||
|
Requires: python-pytest-console-scripts
|
||||||
|
Requires: python-pytest-mock
|
||||||
|
Requires: python-pytest-tornasync
|
||||||
|
Requires: python-requests
|
||||||
|
|
||||||
|
%description test
|
||||||
|
Metapackage for the jupyter_server[test] requirement specifier
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jupyter_server-%{version}
|
%setup -q -n jupyter_server-%{version}
|
||||||
cp %{SOURCE1} ./
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -133,4 +143,7 @@ fi
|
|||||||
%{python_sitelib}/jupyter_server
|
%{python_sitelib}/jupyter_server
|
||||||
%{python_sitelib}/jupyter_server-%{version}*-info
|
%{python_sitelib}/jupyter_server-%{version}*-info
|
||||||
|
|
||||||
|
%files %{python_files test}
|
||||||
|
%license COPYING.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user