diff --git a/conftest.py b/conftest.py deleted file mode 100644 index 522420c..0000000 --- a/conftest.py +++ /dev/null @@ -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.") diff --git a/jupyter_server-1.10.2.tar.gz b/jupyter_server-1.10.2.tar.gz deleted file mode 100644 index b0a1f3b..0000000 --- a/jupyter_server-1.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3a3b68ebc6d7bfee1097f1712cf7709ee39c92379da2cc08724515bb85e72bf -size 417665 diff --git a/jupyter_server-1.11.1.tar.gz b/jupyter_server-1.11.1.tar.gz new file mode 100644 index 0000000..7e6e3da --- /dev/null +++ b/jupyter_server-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab7ab1cc38512f15026cbcbb96300fb46ec8b24aa162263d9edd00e0a749b1e8 +size 420035 diff --git a/python-jupyter-server.changes b/python-jupyter-server.changes index 9389f9f..802de3f 100644 --- a/python-jupyter-server.changes +++ b/python-jupyter-server.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sun Oct 17 17:39:09 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-jupyter-server.spec b/python-jupyter-server.spec index f1d171b..5cfaf38 100644 --- a/python-jupyter-server.spec +++ b/python-jupyter-server.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-jupyter-server -Version: 1.10.2 +Version: 1.11.1 Release: 0 Summary: The backend to Jupyter web applications License: BSD-3-Clause @@ -27,8 +27,6 @@ Group: Development/Languages/Python URL: https://github.com/jupyter-server/jupyter_server # 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 -# 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 Send2Trash} 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 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 %setup -q -n jupyter_server-%{version} -cp %{SOURCE1} ./ %build %python_build @@ -133,4 +143,7 @@ fi %{python_sitelib}/jupyter_server %{python_sitelib}/jupyter_server-%{version}*-info +%files %{python_files test} +%license COPYING.md + %changelog