From e0792dbaea3cc115de96e245453cf7b4a8e12e812188092b70e6c9e0c4e96e35 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 18 Feb 2024 15:59:19 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Update=20to=208.21.0=20=20=20*=20Few=20?= =?UTF-8?q?new=20features=20are=20present,=20but=20the=20codebase=20has=20?= =?UTF-8?q?been=20=20=20=20=20cleaned,=20and=20a=20couple=20of=20API=20are?= =?UTF-8?q?=20=5Fconsidered=5F=20for=20deprecation.=20=20=20=20=20They=20a?= =?UTF-8?q?re=20not=20deprecated=20yet,=20but=20as=20they=20do=20not=20see?= =?UTF-8?q?m=20to=20be=20=20=20=20=20quite=20used,=20they=20may=20emit=20a?= =?UTF-8?q?=20warning,=20in=20which=20case=20please=20=20=20=20=20comment?= =?UTF-8?q?=20on=20the=20relevant=20issue=20to=20inform=20me=20of=20=5Fwhi?= =?UTF-8?q?ch=5F=20project=20=20=20=20=20use=20those=20feature=20and=20how?= =?UTF-8?q?=20you=20use=20them.=20Depending=20on=20the=20=20=20=20=20feedb?= =?UTF-8?q?ack=20I=20might=20change=20the=20timeline=20for=20deprecation.?= =?UTF-8?q?=20=20=20##=20Deprecations=20=20=20*=20PR=20#14307=20Pending=20?= =?UTF-8?q?Deprecation=20of=20=20=20=20=20ColorSchemeTable.set=5Factive=5F?= =?UTF-8?q?scheme(...)=E2=80=99s=20case=5Fsensitive=20=20=20=20=20Paramete?= =?UTF-8?q?r.=20=20=20*=20PR=20#14305=20Pending=20Deprecation=20of=20const?= =?UTF-8?q?ructing=20ColorScheme=20via=20=20=20=20=20kwargs,=20in=20favor?= =?UTF-8?q?=20passing=20a=20single=20dict.=20=20=20##=20Fixes=20=20=20*=20?= =?UTF-8?q?PR=20#14284=20TerminalIPythonApp=E2=80=99s=20would=20warn=20tha?= =?UTF-8?q?t=20auto=5Fcreate=20=20=20=20=20option=20is=20not=20recognized.?= =?UTF-8?q?=20=20=20*=20PR=20#14286=20Fix=20a=20crash=20with=20NotOneValue?= =?UTF-8?q?Found=20when=20rendering=20=20=20=20=20complex=20tracebacks.=20?= =?UTF-8?q?=20=20*=20PR=20#14287=20Partial=20Python=203.13=20compatibility?= =?UTF-8?q?=20=20=20*=20PR=20#14290=20Docs/Typos.=20=20=20*=20PR=20#14289?= =?UTF-8?q?=20ipdb.set=5Ftrace()=20now=20accepts=20header=3D=20for=20bette?= =?UTF-8?q?r=20=20=20##=20Changes=20=20=20=20=20compatibility=20with=20pdb?= =?UTF-8?q?.set=5Ftrace()=20=20=20*=20PR=20#14300=20and=20PR=20#14301=20Ad?= =?UTF-8?q?d=20hooking=20ability=20to=20produce=20=20=20=20=20mimebundle.?= =?UTF-8?q?=20It=20is=20now=20possible=20to=20extend=20the=20=3F/=3F=3F=20?= =?UTF-8?q?operator=20to=20=20=20=20=20return=20more=20mimetypes=20to=20re?= =?UTF-8?q?nder=20richer=20help=20in=20frontends=20that=20=20=20=20=20supp?= =?UTF-8?q?ort=20it.=20In=20particular=20you=20could=20send=20a=20json=20r?= =?UTF-8?q?epresentation=20=20=20=20=20of=20the=20help=20that=20could=20be?= =?UTF-8?q?=20displayed=20in=20a=20customizable=20way.=20-=20Release=208.2?= =?UTF-8?q?0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=124 --- ipython-8.18.0.tar.gz | 3 --- ipython-8.21.0.tar.gz | 3 +++ python-ipython.changes | 59 ++++++++++++++++++++++++++++++++++++++++++ python-ipython.spec | 19 ++++++-------- 4 files changed, 70 insertions(+), 14 deletions(-) delete mode 100644 ipython-8.18.0.tar.gz create mode 100644 ipython-8.21.0.tar.gz diff --git a/ipython-8.18.0.tar.gz b/ipython-8.18.0.tar.gz deleted file mode 100644 index 2dfd378..0000000 --- a/ipython-8.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4feb61210160f75e229ce932dbf8b719bff37af123c0b985fd038b14233daa16 -size 5486388 diff --git a/ipython-8.21.0.tar.gz b/ipython-8.21.0.tar.gz new file mode 100644 index 0000000..fd1dfc2 --- /dev/null +++ b/ipython-8.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48fbc236fbe0e138b88773fa0437751f14c3645fb483f1d4c5dee58b37e5ce73 +size 5490331 diff --git a/python-ipython.changes b/python-ipython.changes index ce8a01b..acf3966 100644 --- a/python-ipython.changes +++ b/python-ipython.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Sun Feb 18 15:55:42 UTC 2024 - Ben Greiner + +- Update to 8.21.0 + * Few new features are present, but the codebase has been + cleaned, and a couple of API are _considered_ for deprecation. + They are not deprecated yet, but as they do not seem to be + quite used, they may emit a warning, in which case please + comment on the relevant issue to inform me of _which_ project + use those feature and how you use them. Depending on the + feedback I might change the timeline for deprecation. + ## Deprecations + * PR #14307 Pending Deprecation of + ColorSchemeTable.set_active_scheme(...)’s case_sensitive + Parameter. + * PR #14305 Pending Deprecation of constructing ColorScheme via + kwargs, in favor passing a single dict. + ## Fixes + * PR #14284 TerminalIPythonApp’s would warn that auto_create + option is not recognized. + * PR #14286 Fix a crash with NotOneValueFound when rendering + complex tracebacks. + * PR #14287 Partial Python 3.13 compatibility + * PR #14290 Docs/Typos. + * PR #14289 ipdb.set_trace() now accepts header= for better + ## Changes + compatibility with pdb.set_trace() + * PR #14300 and PR #14301 Add hooking ability to produce + mimebundle. It is now possible to extend the ?/?? operator to + return more mimetypes to render richer help in frontends that + support it. In particular you could send a json representation + of the help that could be displayed in a customizable way. +- Release 8.20.0 + * The crux of this release is PR #14274 (Inspect continuation + prompt signature and pass only viable arguments), the rest of + the changes are mostly type annotation, and a few compatibility + issues with Python 3.13 that are getting addressed. + +------------------------------------------------------------------- +Sat Dec 23 18:49:41 UTC 2023 - Ben Greiner + +- Update to 8.19.0 + * New release of IPython a bit before the end of the month, and + end of the year. + * Mostly cleanup and deprecation, due to upstream deprecation and + removal. + * A bit later than originally plan, IPython 8.19 does not support + Python 3.9 anymore, as well as the few conditional code that + were executing only on Python 3.9. #14254 + * We used the opportunity to deprecate IPython.utils.tz #14256, + due to upstream deprecation of some timezone utilities. It will + be removed at a later date. + * Thanks to the contribution of cohml, IPython CLI now support + absolute and relative line numbers in both vi and emacs prompt, + use for example + c.TerminalInteractiveShell + .prompt_line_number_format='{line:4d}/{rel_line:+03d} | ' + configuration option to display both in a custom format. + ------------------------------------------------------------------- Sun Nov 26 15:34:52 UTC 2023 - Ben Greiner diff --git a/python-ipython.spec b/python-ipython.spec index 8f18b48..18a9778 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-ipython # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ %bcond_with localtest %{?sle15_python_module_pythons} Name: python-ipython%{psuffix} -Version: 8.18.0 +Version: 8.21.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause @@ -41,7 +41,7 @@ Group: Development/Languages/Python URL: https://github.com/ipython/ipython Source: https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz Source1: https://raw.githubusercontent.com/jupyter/qtconsole/4.0.0/qtconsole/resources/icon/JupyterConsole.svg -BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 51.0.0} BuildRequires: %{python_module wheel} @@ -57,10 +57,7 @@ Requires: python-pexpect >= 4.3 Requires: python-pygments >= 2.4.0 Requires: python-stack-data Requires: python-traitlets >= 5 -Requires: (python-prompt_toolkit >= 3.0.38 with python-prompt_toolkit < 3.1) -%if %{python_version_nodots} < 310 -Requires: python-typing-extensions -%endif +Requires: (python-prompt_toolkit >= 3.0.41 with python-prompt_toolkit < 3.1) %if %{python_version_nodots} < 311 Requires: python-exceptiongroup %endif @@ -87,11 +84,11 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module ipython = %{version}} BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module numpy >= 1.22} +BuildRequires: %{python_module numpy >= 1.23} BuildRequires: %{python_module pandas} BuildRequires: %{python_module pickleshare} +BuildRequires: %{python_module pytest < 8} BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module testpath} BuildRequires: %{python_module trio} %endif @@ -107,7 +104,7 @@ BuildRequires: alts Requires: alts %else Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %endif %if %{with ico} BuildRequires: icoutils From febb5ad99757f73a2ea8eac99f09a13c0754ddb68642a1c65b9ea221c37727b3 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 20 Feb 2024 11:45:51 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=125 --- python-ipython.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-ipython.spec b/python-ipython.spec index 18a9778..095c4b5 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -31,6 +31,8 @@ %endif # extra tests are skipped automatically, don't require these packages for Ring1 %bcond_with localtest +# no longer supported (SPEC0) +%define skip_python39 1 %{?sle15_python_module_pythons} Name: python-ipython%{psuffix} Version: 8.21.0