From 02415eb0b6ae94480a5127e7d41833b627ef35e1a230d2d32527e7e2a670493b Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 17 Oct 2022 17:19:58 +0000 Subject: [PATCH 1/7] Accepting request 1029571 from home:bnavigator:branches:devel:languages:python:jupyter - Update to version 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) OBS-URL: https://build.opensuse.org/request/show/1029571 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=23 --- jupyter_client-7.3.4.tar.gz | 3 --- jupyter_client-7.4.2.tar.gz | 3 +++ python-jupyter-client.changes | 11 +++++++++++ python-jupyter-client.spec | 8 ++++---- 4 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 jupyter_client-7.3.4.tar.gz create mode 100644 jupyter_client-7.4.2.tar.gz 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.2.tar.gz b/jupyter_client-7.4.2.tar.gz new file mode 100644 index 0000000..0fab2b1 --- /dev/null +++ b/jupyter_client-7.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b91a9a7b91ac69adf170d98c87917320f6b466e1c5e89b300226ef4047193376 +size 327079 diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index 7055a51..7fbe2fb 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Oct 17 16:52:02 UTC 2022 - Ben Greiner + +- Update to version 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) + ------------------------------------------------------------------- Tue Jun 28 18:51:36 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 8ceffc7..84f5aa5 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -24,16 +24,16 @@ %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.2 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 +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes @@ -44,7 +44,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} From 5a739e9fa95818b311236362fbbf4cf69975defd5dc9ff1ebdd58f4fa41338d6 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 23 Oct 2022 14:11:15 +0000 Subject: [PATCH 2/7] - Update to version 7.4.3 * Defer creation of ready future #858 (@blink1073) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=24 --- jupyter_client-7.4.2.tar.gz | 3 --- jupyter_client-7.4.3.tar.gz | 3 +++ python-jupyter-client.changes | 6 ++++++ python-jupyter-client.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 jupyter_client-7.4.2.tar.gz create mode 100644 jupyter_client-7.4.3.tar.gz diff --git a/jupyter_client-7.4.2.tar.gz b/jupyter_client-7.4.2.tar.gz deleted file mode 100644 index 0fab2b1..0000000 --- a/jupyter_client-7.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b91a9a7b91ac69adf170d98c87917320f6b466e1c5e89b300226ef4047193376 -size 327079 diff --git a/jupyter_client-7.4.3.tar.gz b/jupyter_client-7.4.3.tar.gz new file mode 100644 index 0000000..7c8a2b2 --- /dev/null +++ b/jupyter_client-7.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fa2514cdb54dd9fbdcf7d7e4c5c3c8a973028168a8b4fc097b6aef625be13b0 +size 327186 diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index 7fbe2fb..a894287 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Oct 23 14:07:06 UTC 2022 - Ben Greiner + +- Update to version 7.4.3 + * Defer creation of ready future #858 (@blink1073) + ------------------------------------------------------------------- Mon Oct 17 16:52:02 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 84f5aa5..bd0d4c8 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -26,7 +26,7 @@ %endif Name: python-jupyter-client%{psuffix} -Version: 7.4.2 +Version: 7.4.3 Release: 0 Summary: Jupyter protocol implementation and client libraries License: BSD-3-Clause From 59253d433df5abef031bb73531c47fdf8f6964797ed96baceb07ec60696eceec Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 25 Oct 2022 13:01:18 +0000 Subject: [PATCH 3/7] Accepting request 1031141 from home:bnavigator:branches:devel:languages:python:jupyter - Update to version 7.4.4 * Workaround for launch bug #861 (@blink1073) OBS-URL: https://build.opensuse.org/request/show/1031141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=25 --- jupyter_client-7.4.3.tar.gz | 3 --- jupyter_client-7.4.4.tar.gz | 3 +++ python-jupyter-client.changes | 6 ++++++ python-jupyter-client.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 jupyter_client-7.4.3.tar.gz create mode 100644 jupyter_client-7.4.4.tar.gz diff --git a/jupyter_client-7.4.3.tar.gz b/jupyter_client-7.4.3.tar.gz deleted file mode 100644 index 7c8a2b2..0000000 --- a/jupyter_client-7.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fa2514cdb54dd9fbdcf7d7e4c5c3c8a973028168a8b4fc097b6aef625be13b0 -size 327186 diff --git a/jupyter_client-7.4.4.tar.gz b/jupyter_client-7.4.4.tar.gz new file mode 100644 index 0000000..0f40486 --- /dev/null +++ b/jupyter_client-7.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5616db609ac720422e6a4b893d6572b8d655ff41e058367f4459a0d2c0726832 +size 327373 diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index a894287..644132a 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 25 12:44:59 UTC 2022 - Ben Greiner + +- Update to version 7.4.4 + * Workaround for launch bug #861 (@blink1073) + ------------------------------------------------------------------- Sun Oct 23 14:07:06 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index bd0d4c8..8e11d6f 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -26,7 +26,7 @@ %endif Name: python-jupyter-client%{psuffix} -Version: 7.4.3 +Version: 7.4.4 Release: 0 Summary: Jupyter protocol implementation and client libraries License: BSD-3-Clause From 0b11a4755cd32698138a55e4df3f479b3de0949e756aa55ddc2da54d259b16a3 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 1 Nov 2022 14:41:54 +0000 Subject: [PATCH 4/7] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=26 --- python-jupyter-client.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index 644132a..e0e6fb6 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,5 @@ +NOTE: Do not submit yet, it breaks stuff -- gh#voila-dashboards/voila#1239 + ------------------------------------------------------------------- Tue Oct 25 12:44:59 UTC 2022 - Ben Greiner From f206693b05d834ac054db0dc86193c1b7e73166c3069d0c29b7a1a45b1b77f5e Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 12 Dec 2022 12:00:38 +0000 Subject: [PATCH 5/7] Accepting request 1042349 from devel:languages:python:jupyter Revert to 7.3.4 OBS-URL: https://build.opensuse.org/request/show/1042349 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=27 --- jupyter_client-7.3.4.tar.gz | 3 +++ jupyter_client-7.4.4.tar.gz | 3 --- python-jupyter-client.changes | 25 ------------------------- python-jupyter-client.spec | 8 ++++---- 4 files changed, 7 insertions(+), 32 deletions(-) create mode 100644 jupyter_client-7.3.4.tar.gz delete mode 100644 jupyter_client-7.4.4.tar.gz diff --git a/jupyter_client-7.3.4.tar.gz b/jupyter_client-7.3.4.tar.gz new file mode 100644 index 0000000..10b645e --- /dev/null +++ b/jupyter_client-7.3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa9a6c32054b290374f95f73bb0cae91455c58dfb84f65c8591912b8f65e6d56 +size 329871 diff --git a/jupyter_client-7.4.4.tar.gz b/jupyter_client-7.4.4.tar.gz deleted file mode 100644 index 0f40486..0000000 --- a/jupyter_client-7.4.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5616db609ac720422e6a4b893d6572b8d655ff41e058367f4459a0d2c0726832 -size 327373 diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index e0e6fb6..7055a51 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,28 +1,3 @@ -NOTE: Do not submit yet, it breaks stuff -- gh#voila-dashboards/voila#1239 - -------------------------------------------------------------------- -Tue Oct 25 12:44:59 UTC 2022 - Ben Greiner - -- Update to version 7.4.4 - * Workaround for launch bug #861 (@blink1073) - -------------------------------------------------------------------- -Sun Oct 23 14:07:06 UTC 2022 - Ben Greiner - -- Update to version 7.4.3 - * Defer creation of ready future #858 (@blink1073) - -------------------------------------------------------------------- -Mon Oct 17 16:52:02 UTC 2022 - Ben Greiner - -- Update to version 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) - ------------------------------------------------------------------- Tue Jun 28 18:51:36 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 8e11d6f..8ceffc7 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -24,16 +24,16 @@ %define psuffix %{nil} %bcond_with test %endif - +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-jupyter-client%{psuffix} -Version: 7.4.4 +Version: 7.3.4 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 -BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes @@ -44,7 +44,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.2 +Requires: python-tornado >= 6.0 Requires: python-traitlets Provides: python-jupyter_client = %{version} Obsoletes: python-jupyter_client < %{version} From b5a214fd31289c7d1db54ed80a17be94305519500d4067214eaf65db5f89735e Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 12 Dec 2022 12:45:54 +0000 Subject: [PATCH 6/7] - Add py3109-compat.patch to make it work with python 3.10.9. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=28 --- py3109-compat.patch | 19 +++++++++++++++++++ python-jupyter-client.changes | 5 +++++ python-jupyter-client.spec | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 py3109-compat.patch diff --git a/py3109-compat.patch b/py3109-compat.patch new file mode 100644 index 0000000..3ccfc10 --- /dev/null +++ b/py3109-compat.patch @@ -0,0 +1,19 @@ +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 +@@ -13,12 +13,8 @@ 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: +- loop = asyncio.new_event_loop() +- asyncio.set_event_loop(loop) ++ loop = asyncio.new_event_loop() ++ asyncio.set_event_loop(loop) + import nest_asyncio # type: ignore + + nest_asyncio.apply(loop) diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index 7055a51..eb41c72 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 12 12:34:49 UTC 2022 - Daniel Garcia + +- Add py3109-compat.patch to make it work with python 3.10.9. + ------------------------------------------------------------------- Tue Jun 28 18:51:36 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 8ceffc7..bfd662b 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -34,6 +34,8 @@ 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 BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes From de91cbde6a87a0c634afa9b4467ff525f20b1634ed4771db3ee8a2611ce4a31f Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 12 Dec 2022 16:32:44 +0000 Subject: [PATCH 7/7] - Update py3109-compat.patch to work with python 3.10.8 and lower. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=29 --- py3109-compat.patch | 26 +++++++++++++++++++------- python-jupyter-client.changes | 5 +++++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/py3109-compat.patch b/py3109-compat.patch index 3ccfc10..34f81ac 100644 --- a/py3109-compat.patch +++ b/py3109-compat.patch @@ -2,7 +2,15 @@ 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 -@@ -13,12 +13,8 @@ def run_sync(coro): +@@ -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: @@ -10,10 +18,14 @@ Index: jupyter_client-7.3.4/jupyter_client/utils.py - try: - loop = asyncio.get_event_loop_policy().get_event_loop() - except RuntimeError: -- loop = asyncio.new_event_loop() -- asyncio.set_event_loop(loop) -+ loop = asyncio.new_event_loop() -+ asyncio.set_event_loop(loop) ++ 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 - - nest_asyncio.apply(loop) diff --git a/python-jupyter-client.changes b/python-jupyter-client.changes index eb41c72..76fa720 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 12 16:30:43 UTC 2022 - Daniel Garcia + +- Update py3109-compat.patch to work with python 3.10.8 and lower. + ------------------------------------------------------------------- Mon Dec 12 12:34:49 UTC 2022 - Daniel Garcia