Accepting request 979260 from devel:languages:python:jupyter

- Add jupyter-client-fix787-kernelwarningsfilter.patch
  * gh#jupyter/jupyter_client#787 
- Disable pytest for signalkernel.py and problemkernel.py because
  issue with newer ipykernel.
  https://github.com/jupyter/jupyter_client/issues/787
- Update to version 7.3.1.
  * Bugs fixed
    * Check that channels exist before asking if they are alive
      #785 (@ccordoba12)
    * Unicode error correction using Error Handler #779 (@hxawax)
  * Maintenance and upkeep improvements
    * Allow bot PRs to be automatically labeled #784 (@blink1073)
- Update for version 7.3.0
  * Bugs fixed
    * Fix shutdown and cleanup behavior #772 (@blink1073)
  * Maintenance and upkeep improvements
    * Improve mypy config #769 (@blink1073)
- Update for version 7.2.2
  * Maintenance and upkeep improvements
    * Include py.typed file #766 (@blink1073)
    * More Cleanup #764 (@blink1073)
- Update for version 7.2.1
  * Maintenance and upkeep improvements
    * Handle Warnings #760 (@blink1073)
- Update for version 7.2.0
  * Enhancements made
    * Update consoleapp.py #733 (@you-n-g)
  * Bugs fixed
    * Json packer: handle TypeError and fallback to old json_clean
      #752 (@martinRenou)
    * Prefer sending signals to kernel process group #743
      (@kevin-bates)
  * Maintenance and upkeep improvements
    * Mock is not needed #758 (@hroncok)
    * Add pytest opts and clean up workflows #757 (@blink1073)
    * Clean up dependency handling #750 (@blink1073)
    * Use built in run cancellation #742 (@blink1073)

OBS-URL: https://build.opensuse.org/request/show/979260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-client?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-05-30 10:42:24 +00:00 committed by Git OBS Bridge
commit 6f963925d4
5 changed files with 69 additions and 9 deletions

View File

@ -0,0 +1,13 @@
--- 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:4ea61033726c8e579edb55626d8ee2e6bf0a83158ddf3751b8dd46b2c5cd1e96
size 326163

View File

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Wed May 25 23:15:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add jupyter-client-fix787-kernelwarningsfilter.patch
* gh#jupyter/jupyter_client#787
-------------------------------------------------------------------
Wed May 25 15:01:01 UTC 2022 - andy great <andythe_great@pm.me>
- Disable pytest for signalkernel.py and problemkernel.py because
issue with newer ipykernel.
https://github.com/jupyter/jupyter_client/issues/787
- Update to version 7.3.1.
* Bugs fixed
* Check that channels exist before asking if they are alive
#785 (@ccordoba12)
* Unicode error correction using Error Handler #779 (@hxawax)
* Maintenance and upkeep improvements
* Allow bot PRs to be automatically labeled #784 (@blink1073)
- Update for version 7.3.0
* Bugs fixed
* Fix shutdown and cleanup behavior #772 (@blink1073)
* Maintenance and upkeep improvements
* Improve mypy config #769 (@blink1073)
- Update for version 7.2.2
* Maintenance and upkeep improvements
* Include py.typed file #766 (@blink1073)
* More Cleanup #764 (@blink1073)
- Update for version 7.2.1
* Maintenance and upkeep improvements
* Handle Warnings #760 (@blink1073)
- Update for version 7.2.0
* Enhancements made
* Update consoleapp.py #733 (@you-n-g)
* Bugs fixed
* Json packer: handle TypeError and fallback to old json_clean
#752 (@martinRenou)
* Prefer sending signals to kernel process group #743
(@kevin-bates)
* Maintenance and upkeep improvements
* Mock is not needed #758 (@hroncok)
* Add pytest opts and clean up workflows #757 (@blink1073)
* Clean up dependency handling #750 (@blink1073)
* Use built in run cancellation #742 (@blink1073)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 13 06:53:58 UTC 2022 - Ben Greiner <code@bnavigator.de> Sun Mar 13 06:53:58 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -27,23 +27,25 @@
%{?!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.1.2 Version: 7.3.1
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
Patch0: jupyter-client-fix787-kernelwarningsfilter.patch
BuildRequires: %{python_module setuptools} 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}
Requires: python-entrypoints Requires: python-entrypoints
Requires: python-jupyter-core >= 4.6.0 Requires: python-jupyter-core >= 4.9.2
Requires: python-nest-asyncio >= 1.5 Requires: python-nest-asyncio >= 1.5.4
Requires: python-python-dateutil >= 2.1 Requires: python-python-dateutil >= 2.8.2
Requires: python-pyzmq >= 13 Requires: python-pyzmq >= 22.3
Requires: python-tornado >= 4.1 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}