Accepting request 1073645 from home:bnavigator:branches:devel:languages:python:jupyter

- Update to 8.0.3
  * Fix kernelspec print output #933 (@minrk)
  * Don't emit a trailng newline in base64-encoded data like
    'image/png' #931 (@xl0)
  * Improving jsonutil tests #929 (@andrehora)
- Update to 8.0.2
  * Add papermill downstream check and fix kernel client replies
    #925 (@blink1073)
- Release 8.0.1
  * Fix json_output in kernelspec app #921 (@blink1073)
- Release 8.0.0
  * This release is primarily focused on improving asyncio support,
    while aiming to have minimal API changes.
  ## Enhancements made
  * Remove nest-asyncio dependency #835 (@blink1073)
  ## Bugs fixed
  * Allow interrupt during restart of pending kernels #898
    (@blink1073)
  * Fix connection reconciliation to handle restarts #882
    (@kevin-bates)
  * Reconcile connection information #879 (@kevin-bates)
  * Workaround for launch bug #861 (@blink1073)
  * Defer creation of ready future #858 (@blink1073)
  * Fix handling of initial ready promise #854 (@blink1073)
  * Revert "Fix pending kernels again" #853 (@blink1073)
  * Fix pending kernels again #845 (@blink1073)
  * Use pytest_asyncio fixture #826 (@davidbrochart)
  ## Maintenance and upkeep improvements
  * Fix jupyter_core pinning #896 (@ophie200)
  * Use pytest-jupyter #891 (@blink1073)
  * Import ensure_async and run_sync from jupyter_core #889
    (@davidbrochart)
  * Support Python 3.8-3.11 #866 (@blink1073)
  * Move tests to top level #834 (@blink1073)
  * Fix nbconvert downstream test #827 (@blink1073)
- Add jupyter-client-suse-remove-ifconfig-test.patch

OBS-URL: https://build.opensuse.org/request/show/1073645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=41
This commit is contained in:
Benjamin Greiner 2023-03-21 21:31:33 +00:00 committed by Git OBS Bridge
parent ce114df266
commit 7b79030f3f
5 changed files with 73 additions and 16 deletions

View File

@ -0,0 +1,9 @@
Index: jupyter_client-8.0.2/tests/test_localinterfaces.py
===================================================================
--- jupyter_client-8.0.2.orig/tests/test_localinterfaces.py
+++ jupyter_client-8.0.2/tests/test_localinterfaces.py
@@ -26,4 +26,3 @@ def test_load_ips():
if sys.platform == 'linux':
localinterfaces._load_ips_ip()
- localinterfaces._load_ips_ifconfig()

BIN
jupyter_client-7.4.9.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Sun Mar 19 17:37:24 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 8.0.3
* Fix kernelspec print output #933 (@minrk)
* Don't emit a trailng newline in base64-encoded data like
'image/png' #931 (@xl0)
* Improving jsonutil tests #929 (@andrehora)
-------------------------------------------------------------------
Sun Feb 5 15:29:23 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 8.0.2
* Add papermill downstream check and fix kernel client replies
#925 (@blink1073)
- Release 8.0.1
* Fix json_output in kernelspec app #921 (@blink1073)
- Release 8.0.0
* This release is primarily focused on improving asyncio support,
while aiming to have minimal API changes.
## Enhancements made
* Remove nest-asyncio dependency #835 (@blink1073)
## Bugs fixed
* Allow interrupt during restart of pending kernels #898
(@blink1073)
* Fix connection reconciliation to handle restarts #882
(@kevin-bates)
* Reconcile connection information #879 (@kevin-bates)
* Workaround for launch bug #861 (@blink1073)
* Defer creation of ready future #858 (@blink1073)
* Fix handling of initial ready promise #854 (@blink1073)
* Revert "Fix pending kernels again" #853 (@blink1073)
* Fix pending kernels again #845 (@blink1073)
* Use pytest_asyncio fixture #826 (@davidbrochart)
## Maintenance and upkeep improvements
* Fix jupyter_core pinning #896 (@ophie200)
* Use pytest-jupyter #891 (@blink1073)
* Import ensure_async and run_sync from jupyter_core #889
(@davidbrochart)
* Support Python 3.8-3.11 #866 (@blink1073)
* Move tests to top level #834 (@blink1073)
* Fix nbconvert downstream test #827 (@blink1073)
- Add jupyter-client-suse-remove-ifconfig-test.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 15 21:12:25 UTC 2023 - Ben Greiner <code@bnavigator.de> Sun Jan 15 21:12:25 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -26,39 +26,43 @@
%endif %endif
Name: python-jupyter-client%{psuffix} Name: python-jupyter-client%{psuffix}
Version: 7.4.9 Version: 8.0.3
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
BuildRequires: %{python_module base >= 3.7} # PATCH-FIX-OPENSUSE jupyter-client-suse-remove-ifconfig-test.patch code@bnavigator.de -- we don't have `ifconfig` and don't need it because we have `ip`
BuildRequires: %{python_module hatchling} Patch10: jupyter-client-suse-remove-ifconfig-test.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling >= 1.5}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
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.9.2
Requires: python-nest-asyncio >= 1.5.4
Requires: python-python-dateutil >= 2.8.2 Requires: python-python-dateutil >= 2.8.2
Requires: python-pyzmq >= 23.0 Requires: python-pyzmq >= 23.0
Requires: python-tornado >= 6.2 Requires: python-tornado >= 6.2
Requires: python-traitlets Requires: python-traitlets >= 5.3
Requires: (python-importlib-metadata >= 4.8.3 if python-base < 3.10)
Requires: (python-jupyter-core >= 5.1 or (python-jupyter-core >= 4.12 with python-jupyter-core < 5.0))
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}
# gh#jupyter/jupyter_client#787 # gh#jupyter/jupyter_client#787
BuildRequires: %{python_module ipykernel >= 6.13} BuildRequires: %{python_module ipykernel >= 6.14}
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 >= 0.18} BuildRequires: %{python_module pytest-jupyter-client >= 0.4.1}
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
BuildRequires: %{python_module flaky} BuildRequires: %{python_module flaky}
BuildRequires: iproute2
BuildRequires: openssh-clients
%endif %endif
%python_subpackages %python_subpackages
@ -104,19 +108,19 @@ sed -i 's/--color=yes//' pyproject.toml
%if %{with test} %if %{with test}
%check %check
pushd jupyter_client/tests # flaky timeout
%pytest --force-flaky --max-runs=3 --no-success-flaky-report donttest="(TestAsyncKernelClient and test_input_request)"
popd %pytest --force-flaky --max-runs=3 --no-success-flaky-report -k "not ($donttest)"
%endif %endif
%if !%{with test} %if !%{with test}
%files %{python_files} %files %{python_files}
%license COPYING.md %license LICENSE
%{python_sitelib}/jupyter_client-%{version}*-info %{python_sitelib}/jupyter_client-%{version}*-info
%{python_sitelib}/jupyter_client/ %{python_sitelib}/jupyter_client/
%files -n jupyter-jupyter-client %files -n jupyter-jupyter-client
%license COPYING.md %license LICENSE
%doc CONTRIBUTING.md README.md %doc CONTRIBUTING.md README.md
%{_bindir}/jupyter-kernel %{_bindir}/jupyter-kernel
%{_bindir}/jupyter-kernelspec %{_bindir}/jupyter-kernelspec