diff --git a/jupyter_client-7.3.4.tar.gz b/jupyter_client-7.3.4.tar.gz deleted file mode 100644 index 10b645e..0000000 --- a/jupyter_client-7.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa9a6c32054b290374f95f73bb0cae91455c58dfb84f65c8591912b8f65e6d56 -size 329871 diff --git a/jupyter_client-7.4.8.tar.gz b/jupyter_client-7.4.8.tar.gz new file mode 100644 index 0000000..7bbcca0 --- /dev/null +++ b/jupyter_client-7.4.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:109a3c33b62a9cf65aa8325850a0999a795fac155d9de4f7555aef5f310ee35a +size 328958 diff --git a/py310-ignore-deprecation.patch b/py310-ignore-deprecation.patch new file mode 100644 index 0000000..db32493 --- /dev/null +++ b/py310-ignore-deprecation.patch @@ -0,0 +1,14 @@ +Index: jupyter_client-7.4.8/pyproject.toml +=================================================================== +--- jupyter_client-7.4.8.orig/pyproject.toml ++++ jupyter_client-7.4.8/pyproject.toml +@@ -136,6 +136,9 @@ filterwarnings= [ + # when there is a running event loop. + "ignore:There is no current event loop:DeprecationWarning:zmq", + ++ # https://github.com/jupyter/jupyter_client/issues/713 ++ "ignore:There is no current event loop:DeprecationWarning", ++ + # Workaround for jupyter_core warning. + "module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning", + ] diff --git a/py3109-compat.patch b/py3109-compat.patch deleted file mode 100644 index 34f81ac..0000000 --- a/py3109-compat.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: jupyter_client-7.3.4/jupyter_client/utils.py -=================================================================== ---- jupyter_client-7.3.4.orig/jupyter_client/utils.py -+++ jupyter_client-7.3.4/jupyter_client/utils.py -@@ -6,6 +6,7 @@ utils: - import asyncio - import inspect - import os -+import sys - - - def run_sync(coro): -@@ -13,10 +14,14 @@ def run_sync(coro): - try: - loop = asyncio.get_running_loop() - except RuntimeError: -- # Workaround for bugs.python.org/issue39529. -- try: -- loop = asyncio.get_event_loop_policy().get_event_loop() -- except RuntimeError: -+ if sys.version_info <= (3, 10, 8): -+ # Workaround for bugs.python.org/issue39529. -+ try: -+ loop = asyncio.get_event_loop_policy().get_event_loop() -+ except RuntimeError: -+ loop = asyncio.new_event_loop() -+ asyncio.set_event_loop(loop) -+ else: - loop = asyncio.new_event_loop() - asyncio.set_event_loop(loop) - import nest_asyncio # type: ignore diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index 76fa720..a078e01 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Wed Dec 14 21:10:50 UTC 2022 - Ben Greiner + +- Update to 7.4.8 + * Make sure loop is marked with nest_asyncio #893 (@impact27) +- Release 7.4.7 + * Fix connection reconciliation to handle restarts #882 + (@kevin-bates) +- Release 7.4.6 + * Reconcile connection information #879 (@kevin-bates) +- Release 7.4.5 + * [7.x] Handle Jupyter Core Warning #875 (@blink1073) +- Release 7.4.4 + * Workaround for launch bug #861 (@blink1073) +- Release 7.4.3 + * Defer creation of ready future #858 (@blink1073) +- Release 7.4.2 + * Fix ready promise and session send #852 (@blink1073) + * Fix pending kernels backported and reverted: #848 #851 +- Release 7.3.5 + * add AsyncKernelClient to doc/api/client.rst #819 (@helioz11) + * Use tornado 6.2's PeriodicCallback in restarter #822 (@vidartf) + * Make _stdin_hook_default async #814 (@davidbrochart) +- Replace py3109-compat.patch by py310-ignore-deprecation.patch + gh#jupyter/jupyter_client#713 + ------------------------------------------------------------------- Mon Dec 12 16:30:43 UTC 2022 - Daniel Garcia diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index bfd662b..91b4aff 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -24,18 +24,18 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 + Name: python-jupyter-client%{psuffix} -Version: 7.3.4 +Version: 7.4.8 Release: 0 Summary: Jupyter protocol implementation and client libraries License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter/jupyter_client Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz -# PATCH-FIX-OPENSUSE py3109-compat.patch -Patch0: py3109-compat.patch +# PATCH-FIX-UPSTREAM py310-ignore-deprecation.patch gh#jupyter/jupyter_client#713 +Patch0: py310-ignore-deprecation.patch +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes @@ -46,7 +46,7 @@ Requires: python-jupyter-core >= 4.9.2 Requires: python-nest-asyncio >= 1.5.4 Requires: python-python-dateutil >= 2.8.2 Requires: python-pyzmq >= 23.0 -Requires: python-tornado >= 6.0 +Requires: python-tornado >= 6.2 Requires: python-traitlets Provides: python-jupyter_client = %{version} Obsoletes: python-jupyter_client < %{version}