Accepting request 1147879 from devel:languages:python:jupyter

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

OBS-URL: https://build.opensuse.org/request/show/1147879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipython?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2024-03-06 22:02:56 +00:00 committed by Git OBS Bridge
commit b72abd276e
4 changed files with 72 additions and 14 deletions

BIN
ipython-8.18.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
ipython-8.21.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Sun Feb 18 15:55:42 UTC 2024 - Ben Greiner <code@bnavigator.de>
- 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 TerminalIPythonApps 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 <code@bnavigator.de>
- 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 <code@bnavigator.de>

View File

@ -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
@ -31,9 +31,11 @@
%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.18.0
Version: 8.21.0
Release: 0
Summary: Rich architecture for interactive computing with Python
License: BSD-3-Clause
@ -41,7 +43,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 +59,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 +86,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 +106,7 @@ BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with ico}
BuildRequires: icoutils