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
This commit is contained in:
Matej Cepl 2022-07-04 18:06:24 +00:00 committed by Git OBS Bridge
parent acb6a552cf
commit 039494684c
5 changed files with 26 additions and 25 deletions

View File

@ -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]

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05d4ff6a0ade25138c6bb0fbeac7ddc26b5fe835e7dd816b64b4a45b931bdc0b
size 328697

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa9a6c32054b290374f95f73bb0cae91455c58dfb84f65c8591912b8f65e6d56
size 329871

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Jun 28 18:51:36 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de> Wed May 25 23:15:53 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -27,16 +27,15 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-jupyter-client%{psuffix} Name: python-jupyter-client%{psuffix}
Version: 7.3.1 Version: 7.3.4
Release: 0 Release: 0
Summary: Jupyter protocol implementation and client libraries Summary: Jupyter protocol implementation and client libraries
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/jupyter/jupyter_client URL: https://github.com/jupyter/jupyter_client
Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
# PATCH-FIX-UPSTREAM BuildRequires: %{python_module hatchling}
Patch0: jupyter-client-fix787-kernelwarningsfilter.patch BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: jupyter-jupyter_client = %{version} Requires: jupyter-jupyter_client = %{version}
@ -44,17 +43,18 @@ Requires: python-entrypoints
Requires: python-jupyter-core >= 4.9.2 Requires: python-jupyter-core >= 4.9.2
Requires: python-nest-asyncio >= 1.5.4 Requires: python-nest-asyncio >= 1.5.4
Requires: python-python-dateutil >= 2.8.2 Requires: python-python-dateutil >= 2.8.2
Requires: python-pyzmq >= 22.3 Requires: python-pyzmq >= 23.0
Requires: python-tornado >= 6.0 Requires: python-tornado >= 6.0
Requires: python-traitlets Requires: python-traitlets
Provides: python-jupyter_client = %{version} Provides: python-jupyter_client = %{version}
Obsoletes: python-jupyter_client < %{version} Obsoletes: python-jupyter_client < %{version}
BuildArch: noarch BuildArch: noarch
%if %{with test} %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 ipython}
BuildRequires: %{python_module jupyter-client = %{version}} 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-timeout}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# flaky is not an upstream dep, but for obs flakyness of parallel kernel test # 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 %prep
%autosetup -p1 -n jupyter_client-%{version} %autosetup -p1 -n jupyter_client-%{version}
sed -i 's/--color=yes//' pyproject.toml
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif