From 952eaabc28dcaa046cc02f51bc728b265e495814411308bb9a8511b0ae3503bb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 15 Jan 2022 14:40:03 +0000 Subject: [PATCH 1/2] Accepting request 946627 from home:mcepl:branches:devel:languages:python:jupyter - Update to 6.7.0: - PR: do_one_iteration is a coroutine - Clean python 2 artifacts. Fix - Fix title position in changelog - Set debugOptions for breakpoints in python standard library source - Send omit_sections to IPython to choose which sections of documentation you do not want - Added missing exceptionPaths field to debugInfo reply - Test jupyter_kernel_test as downstream - Remove nose dependency - Add explicit encoding to open calls in debugger - Fix the temp file name created by the debugger - Enforce labels on PRs - Unpin IPython, and remove some dependencies on it. - Fix rich variables inspection - Do not call setQuitOnLastWindowClosed() on a QCoreApplication - Drop ipython_genutils requirement OBS-URL: https://build.opensuse.org/request/show/946627 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=41 --- ipykernel-6.4.2.tar.gz | 3 --- ipykernel-6.7.0.tar.gz | 3 +++ python-ipykernel.changes | 22 ++++++++++++++++++++++ python-ipykernel.spec | 9 +++------ 4 files changed, 28 insertions(+), 9 deletions(-) delete mode 100644 ipykernel-6.4.2.tar.gz create mode 100644 ipykernel-6.7.0.tar.gz diff --git a/ipykernel-6.4.2.tar.gz b/ipykernel-6.4.2.tar.gz deleted file mode 100644 index a36b391..0000000 --- a/ipykernel-6.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0140f78bfd60e47e387b6433b4bed0f228986420dc4d5fac0e251c9711e23e29 -size 121253 diff --git a/ipykernel-6.7.0.tar.gz b/ipykernel-6.7.0.tar.gz new file mode 100644 index 0000000..3bd6f6c --- /dev/null +++ b/ipykernel-6.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d82b904fdc2fd8c7b1fbe0fa481c68a11b4cd4c8ef07e6517da1f10cc3114d24 +size 125582 diff --git a/python-ipykernel.changes b/python-ipykernel.changes index 4374607..2f63b38 100644 --- a/python-ipykernel.changes +++ b/python-ipykernel.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Fri Jan 14 17:29:31 UTC 2022 - Matej Cepl + +- Update to 6.7.0: + - PR: do_one_iteration is a coroutine + - Clean python 2 artifacts. Fix + - Fix title position in changelog + - Set debugOptions for breakpoints in python standard library + source + - Send omit_sections to IPython to choose which sections of + documentation you do not want + - Added missing exceptionPaths field to debugInfo reply + - Test jupyter_kernel_test as downstream + - Remove nose dependency + - Add explicit encoding to open calls in debugger + - Fix the temp file name created by the debugger + - Enforce labels on PRs + - Unpin IPython, and remove some dependencies on it. + - Fix rich variables inspection + - Do not call setQuitOnLastWindowClosed() on a QCoreApplication + - Drop ipython_genutils requirement + ------------------------------------------------------------------- Sun Dec 19 19:59:00 UTC 2021 - Ben Greiner diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 5573cff..f97166c 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -1,7 +1,7 @@ # # spec file for package python-ipykernel # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define skip_python36 1 Name: python-ipykernel # Note: Don't update to > 6.4 until you can update traitlets 4, which is required for python36 -Version: 6.4.2 +Version: 6.7.0 Release: 0 Summary: IPython Kernel for Jupyter License: BSD-3-Clause @@ -36,7 +36,6 @@ BuildRequires: python-rpm-macros Requires: jupyter-jupyter-client Requires: python-debugpy >= 1.0 Requires: python-ipython >= 7.23.1 -Requires: python-ipython_genutils Requires: python-jupyter-client Requires: python-jupyter-core Requires: python-matplotlib-inline >= 0.1 @@ -63,8 +62,6 @@ BuildRequires: %{python_module ipython_genutils} BuildRequires: %{python_module jupyter-client} BuildRequires: %{python_module jupyter-core} BuildRequires: %{python_module matplotlib-inline >= 0.1} -# still using nose streams from ipython, but they are working on a removal -BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tornado >= 4.2} BuildRequires: %{python_module traitlets >= 4.1.0} @@ -105,7 +102,7 @@ $python -m ipykernel install \ %fdupes %{buildroot}%{_jupyter_kernel_dir} %check -%pytest -ra +%pytest ipykernel %files %{python_files} %doc README.md From c1d2343dfd2050458d5e67f65ac33c9b6ae7214346ee964c30d018d424bdfcba Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 15 Jan 2022 15:11:05 +0000 Subject: [PATCH 2/2] Accepting request 946633 from home:bnavigator:branches:devel:languages:python:jupyter - Cleanup specfile - Update dependency declarations OBS-URL: https://build.opensuse.org/request/show/946633 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=42 --- python-ipykernel.changes | 6 ++++++ python-ipykernel.spec | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-ipykernel.changes b/python-ipykernel.changes index 2f63b38..ecd2c7c 100644 --- a/python-ipykernel.changes +++ b/python-ipykernel.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 15 14:59:15 UTC 2022 - Ben Greiner + +- Cleanup specfile +- Update dependency declarations + ------------------------------------------------------------------- Fri Jan 14 17:29:31 UTC 2022 - Matej Cepl diff --git a/python-ipykernel.spec b/python-ipykernel.spec index f97166c..52170da 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-ipykernel -# Note: Don't update to > 6.4 until you can update traitlets 4, which is required for python36 Version: 6.7.0 Release: 0 Summary: IPython Kernel for Jupyter @@ -40,7 +38,7 @@ Requires: python-jupyter-client Requires: python-jupyter-core Requires: python-matplotlib-inline >= 0.1 Requires: python-tornado >= 4.2 -Requires: python-traitlets >= 4.1.0 +Requires: python-traitlets >= 5.1.0 Provides: python-jupyter_ipykernel = %{version} Obsoletes: python-jupyter_ipykernel < %{version} Provides: %{python_module ipykernel-doc = %{version}} @@ -58,13 +56,12 @@ Obsoletes: jupyter-ipykernel < %{version}-%{release} BuildRequires: %{python_module debugpy >= 1.0.0} BuildRequires: %{python_module flaky} BuildRequires: %{python_module ipython >= 7.23.1} -BuildRequires: %{python_module ipython_genutils} BuildRequires: %{python_module jupyter-client} BuildRequires: %{python_module jupyter-core} BuildRequires: %{python_module matplotlib-inline >= 0.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tornado >= 4.2} -BuildRequires: %{python_module traitlets >= 4.1.0} +BuildRequires: %{python_module traitlets >= 5.1.0} # /SECTION # typing is only built-in for later versions of python %if 0%{?suse_version} <= 1320