From 642e8eb3cbf4df71b6ddf60c55164969389fb5b4037cc69477a946fdd00ae0fb Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 19 Dec 2021 19:55:30 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=207.30.1=20=20=20*=20IPython=20?= =?UTF-8?q?7.30=20fixes=20a=20couple=20of=20bugs=20introduce=20in=20previo?= =?UTF-8?q?us=20=20=20=20=20releases=20(in=20particular=20with=20respect?= =?UTF-8?q?=20to=20path=20handling),=20and=20=20=20=20=20introduce=20a=20f?= =?UTF-8?q?ew=20features=20and=20improvements:=20=20=20*=20Notably=20we=20?= =?UTF-8?q?will=20highlight=20PR=20#13267=20=E2=80=9CDocument=20that=20%ru?= =?UTF-8?q?n=20can=20=20=20=20=20execute=20notebooks=20and=20ipy=20scripts?= =?UTF-8?q?.=E2=80=9D,=20which=20is=20the=20first=20commit=20=20=20=20=20o?= =?UTF-8?q?f=20Fernando=20P=C3=A9rez=20since=20mid=202016=20(IPython=205.1?= =?UTF-8?q?).=20If=20you=20are=20new=20=20=20=20=20to=20IPython,=20Fernand?= =?UTF-8?q?o=20created=20IPython=20in=202001.=20The=20other=20most=20=20?= =?UTF-8?q?=20=20=20recent=20contribution=20of=20Fernando=20to=20IPython?= =?UTF-8?q?=20itself=20was=20May=202018,=20=20=20=20=20by=20reviewing=20an?= =?UTF-8?q?d=20merging=20PRs.=20I=20want=20to=20note=20that=20Fernando=20i?= =?UTF-8?q?s=20=20=20=20=20still=20active=20but=20mostly=20as=20a=20mentor?= =?UTF-8?q?=20and=20leader=20of=20the=20whole=20=20=20=20=20Jupyter=20orga?= =?UTF-8?q?nisation,=20but=20we=E2=80=99re=20still=20happy=20to=20see=20hi?= =?UTF-8?q?m=20=20=20=20=20contribute=20code=20!=20=20=20*=20PR=20#13290?= =?UTF-8?q?=20=E2=80=9CUse=20sphinxify=20(if=20available)=20in=20object=5F?= =?UTF-8?q?inspect=5Fmime=20=20=20=20=20path=E2=80=9D=20should=20allow=20r?= =?UTF-8?q?icher=20Repr=20of=20docstrings=20when=20using=20=20=20=20=20jup?= =?UTF-8?q?yterlab=20inspector.=20=20=20*=20PR=20#13311=20make=20the=20deb?= =?UTF-8?q?ugger=20use=20ThreadPoolExecutor=20for=20debugger=20=20=20=20?= =?UTF-8?q?=20cmdloop.=20This=20should=20fix=20some=20issues/infinite=20lo?= =?UTF-8?q?op,=20but=20let=20us=20=20=20=20=20know=20if=20you=20come=20acr?= =?UTF-8?q?oss=20any=20regressions.=20In=20particular=20this=20=20=20=20?= =?UTF-8?q?=20fixes=20issues=20with=20kmaork/madbg,=20a=20remote=20debugge?= =?UTF-8?q?r=20for=20IPython.=20=20=20*=20Note=20that=20this=20is=20likely?= =?UTF-8?q?=20the=20ante-penultimate=20release=20of=20=20=20=20=20IPython?= =?UTF-8?q?=207.x=20as=20a=20stable=20branch,=20as=20I=20hope=20to=20relea?= =?UTF-8?q?se=20IPython=20=20=20=20=208.0=20as=20well=20as=20IPython=207.3?= =?UTF-8?q?1=20next=20month/early=202022.?= 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=74 --- ipython-7.29.0.tar.gz | 3 --- ipython-7.30.1.tar.gz | 3 +++ python-ipython.changes | 27 +++++++++++++++++++++++++++ python-ipython.spec | 11 +++++++---- 4 files changed, 37 insertions(+), 7 deletions(-) delete mode 100644 ipython-7.29.0.tar.gz create mode 100644 ipython-7.30.1.tar.gz diff --git a/ipython-7.29.0.tar.gz b/ipython-7.29.0.tar.gz deleted file mode 100644 index 88b73df..0000000 --- a/ipython-7.29.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f69d7423a5a1972f6347ff233e38bbf4df6a150ef20fbb00c635442ac3060aa -size 5151803 diff --git a/ipython-7.30.1.tar.gz b/ipython-7.30.1.tar.gz new file mode 100644 index 0000000..4eb4559 --- /dev/null +++ b/ipython-7.30.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb6aef731bf708a7727ab6cde8df87f0281b1427d41e65d62d4b68934fa54e97 +size 5154336 diff --git a/python-ipython.changes b/python-ipython.changes index edbeb32..209bcca 100644 --- a/python-ipython.changes +++ b/python-ipython.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sun Dec 19 19:24:08 UTC 2021 - Ben Greiner + +- Update to 7.30.1 + * IPython 7.30 fixes a couple of bugs introduce in previous + releases (in particular with respect to path handling), and + introduce a few features and improvements: + * Notably we will highlight PR #13267 “Document that %run can + execute notebooks and ipy scripts.”, which is the first commit + of Fernando Pérez since mid 2016 (IPython 5.1). If you are new + to IPython, Fernando created IPython in 2001. The other most + recent contribution of Fernando to IPython itself was May 2018, + by reviewing and merging PRs. I want to note that Fernando is + still active but mostly as a mentor and leader of the whole + Jupyter organisation, but we’re still happy to see him + contribute code ! + * PR #13290 “Use sphinxify (if available) in object_inspect_mime + path” should allow richer Repr of docstrings when using + jupyterlab inspector. + * PR #13311 make the debugger use ThreadPoolExecutor for debugger + cmdloop. This should fix some issues/infinite loop, but let us + know if you come across any regressions. In particular this + fixes issues with kmaork/madbg, a remote debugger for IPython. + * Note that this is likely the ante-penultimate release of + IPython 7.x as a stable branch, as I hope to release IPython + 8.0 as well as IPython 7.31 next month/early 2022. + ------------------------------------------------------------------- Fri Nov 12 21:30:44 UTC 2021 - Ben Greiner diff --git a/python-ipython.spec b/python-ipython.spec index e799095..32f1399 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -30,13 +30,13 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 # Python 3.6 was officiallay supported with IPython up to 7.15 %define skip_python36 1 %bcond_without iptest Name: python-ipython%{psuffix} -Version: 7.29.0 +Version: 7.30.1 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause @@ -142,6 +142,9 @@ Requires: python-nose >= 0.10.1 Requires: python-numpy >= 1.17 Requires: python-requests Requires: python-testpath +%if %{with libalternatives} +Requires: alts +%endif Provides: python-jupyter_ipython-iptest = %{version} Obsoletes: python-jupyter_ipython-iptest < %{version} @@ -202,8 +205,8 @@ desktop-file-edit --set-comment="Enhanced interactive Python %{$python_bin_suffi %suse_update_desktop_file -i -r ipython-%{$python_bin_suffix} "System;TerminalEmulator;" } -# These can be run stand-alone, so make them executable rather than removing shebang -%{python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" {} \; +%{python_expand # These can be run stand-alone, so make them executable rather than removing shebang +find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" {} \; find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i "s|^#!%{_bindir}/python$|#!%{__$python}|" {} \; find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec grep -q "#!%{__$python}" {} \; -exec chmod a+x {} \;