diff --git a/srcpkgs/python3-ipython/patches/fix-race.patch b/srcpkgs/python3-ipython/patches/fix-race.patch index a6fdf572681..98ec2fc8fab 100644 --- a/srcpkgs/python3-ipython/patches/fix-race.patch +++ b/srcpkgs/python3-ipython/patches/fix-race.patch @@ -1,18 +1,16 @@ See: https://github.com/ipython/ipython/issues/12164 -diff --git a/IPython/utils/_process_posix.py b/IPython/utils/_process_posix.py -index 59b5c2389..e83da39c6 100644 --- a/IPython/utils/_process_posix.py +++ b/IPython/utils/_process_posix.py -@@ -136,6 +136,7 @@ def system(self, cmd): +@@ -112,6 +112,7 @@ # record how far we've printed, so that next time we only print *new* # content from the buffer. out_size = 0 + child = None + assert self.sh is not None try: # Since we're not really searching the buffer for text patterns, we - # can set pexpect's search window to be tiny and it won't matter. -@@ -158,6 +159,13 @@ def system(self, cmd): +@@ -135,6 +136,13 @@ # Update the pointer to what we've already printed out_size = len(child.before) except KeyboardInterrupt: diff --git a/srcpkgs/python3-ipython/template b/srcpkgs/python3-ipython/template index 24211329c23..9e1b3178ea6 100644 --- a/srcpkgs/python3-ipython/template +++ b/srcpkgs/python3-ipython/template @@ -1,12 +1,13 @@ # Template file for 'python3-ipython' pkgname=python3-ipython -version=8.35.0 +version=9.2.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-wheel" depends="python3-jedi python3-decorator python3-pickleshare python3-traitlets python3-prompt_toolkit python3-Pygments python3-backcall - python3-matplotlib-inline python3-pexpect python3-stack_data" + python3-matplotlib-inline python3-pexpect python3-stack_data + python3-ipython-pygments-lexers" checkdepends="$depends python3-pytest-asyncio python3-testpath python3-curio python3-jupyter_nbformat python3-matplotlib python3-numpy python3-pandas python3-trio" @@ -14,9 +15,9 @@ short_desc="Enhanced interactive Python3 shell" maintainer="Andrew J. Hesford " license="BSD-3-Clause" homepage="https://ipython.org/" -changelog="https://github.com/ipython/ipython/raw/main/docs/source/whatsnew/version8.rst" +changelog="https://github.com/ipython/ipython/raw/main/docs/source/whatsnew/version9.rst" distfiles="${PYPI_SITE}/i/ipython/ipython-${version}.tar.gz" -checksum=d200b7d93c3f5883fc36ab9ce28a18249c7706e51347681f80a0aef9895f2520 +checksum=62a9373dbc12f28f9feaf4700d052195bf89806279fc8ca11f3f54017d04751b conflicts="python-ipython<=5.8.0_2" make_check_pre="env PYTHONPATH=."