From 039494684cad79fc53a6aa87298e4d265f1e0c1d66a8c2f2822cdf7f0a8bb0bd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 4 Jul 2022 18:06:24 +0000 Subject: [PATCH] Accepting request 985674 from home:bnavigator:branches:devel:languages:python:jupyter - Update to version 7.3.4 * Revert latest changes to ThreadedZMQSocketChannel because they break Qtconsole #803 (@ccordoba12) * Add local-provisioner entry point to pyproject.toml Fixes #800 #801 (@utkonos) * Correct Any type annotations. #791 (@joouha) * Use hatch backend #789 (@blink1073) - Remove jupyter-client-fix787-kernelwarningsfilter.patch, we updated the ipykernel instead. OBS-URL: https://build.opensuse.org/request/show/985674 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=21 --- ...r-client-fix787-kernelwarningsfilter.patch | 13 ------------- jupyter_client-7.3.1.tar.gz | 3 --- jupyter_client-7.3.4.tar.gz | 3 +++ python-jupyter-client.changes | 13 +++++++++++++ python-jupyter-client.spec | 19 ++++++++++--------- 5 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 jupyter-client-fix787-kernelwarningsfilter.patch delete mode 100644 jupyter_client-7.3.1.tar.gz create mode 100644 jupyter_client-7.3.4.tar.gz diff --git a/jupyter-client-fix787-kernelwarningsfilter.patch b/jupyter-client-fix787-kernelwarningsfilter.patch deleted file mode 100644 index 2c20695..0000000 --- a/jupyter-client-fix787-kernelwarningsfilter.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- jupyter-client.orig/pyproject.toml -+++ jupyter-client/pyproject.toml -@@ -53,6 +53,10 @@ - # We could eventually find a way to make sure these are only created - # when there is a running event loop. - "ignore:There is no current event loop:DeprecationWarning:zmq", -+ -+ # workaround for deprecated modules -+ "ignore:the imp module is deprecated in favour of importlib:DeprecationWarning", -+ "ignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives" - ] - - [tool.mypy] diff --git a/jupyter_client-7.3.1.tar.gz b/jupyter_client-7.3.1.tar.gz deleted file mode 100644 index 390caee..0000000 --- a/jupyter_client-7.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05d4ff6a0ade25138c6bb0fbeac7ddc26b5fe835e7dd816b64b4a45b931bdc0b -size 328697 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/python-jupyter-client.changes b/python-jupyter-client.changes index 69aa3a2..7055a51 100644 --- a/python-jupyter-client.changes +++ b/python-jupyter-client.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jun 28 18:51:36 UTC 2022 - Ben Greiner + +- Update to version 7.3.4 + * Revert latest changes to ThreadedZMQSocketChannel because they + break Qtconsole #803 (@ccordoba12) + * Add local-provisioner entry point to pyproject.toml Fixes #800 + #801 (@utkonos) + * Correct Any type annotations. #791 (@joouha) + * Use hatch backend #789 (@blink1073) +- Remove jupyter-client-fix787-kernelwarningsfilter.patch, we + updated the ipykernel instead. + ------------------------------------------------------------------- Wed May 25 23:15:53 UTC 2022 - Ben Greiner diff --git a/python-jupyter-client.spec b/python-jupyter-client.spec index 4b68cfb..8ceffc7 100644 --- a/python-jupyter-client.spec +++ b/python-jupyter-client.spec @@ -27,16 +27,15 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-jupyter-client%{psuffix} -Version: 7.3.1 +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 -# PATCH-FIX-UPSTREAM -Patch0: jupyter-client-fix787-kernelwarningsfilter.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: jupyter-jupyter_client = %{version} @@ -44,17 +43,18 @@ Requires: python-entrypoints Requires: python-jupyter-core >= 4.9.2 Requires: python-nest-asyncio >= 1.5.4 Requires: python-python-dateutil >= 2.8.2 -Requires: python-pyzmq >= 22.3 +Requires: python-pyzmq >= 23.0 Requires: python-tornado >= 6.0 Requires: python-traitlets Provides: python-jupyter_client = %{version} Obsoletes: python-jupyter_client < %{version} BuildArch: noarch %if %{with test} -BuildRequires: %{python_module ipykernel} +# gh#jupyter/jupyter_client#787 +BuildRequires: %{python_module ipykernel >= 6.13} BuildRequires: %{python_module ipython} BuildRequires: %{python_module jupyter-client = %{version}} -BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-asyncio >= 0.18} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} # flaky is not an upstream dep, but for obs flakyness of parallel kernel test @@ -91,13 +91,14 @@ This package provides the jupyter components. %prep %autosetup -p1 -n jupyter_client-%{version} +sed -i 's/--color=yes//' pyproject.toml %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif