Accepting request 986713 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/986713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-client?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-07-07 10:56:01 +00:00 committed by Git OBS Bridge
commit 14ada7b126
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>

View File

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