From f1af4fbeecf753a299a3cc2a441da48ee4235b48 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Mon, 22 May 2023 20:17:40 +0000 Subject: gnu: python-ipython-documentation: Remove patches. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-ipython-documentation)[source]: Remove upstreamed patches. * gnu/packages/patches/python-ipython-documentation-chars.patch, gnu/packages/patches/python-ipython-documentation-repro.patch: Delete files. * gnu/local.mk: Remove files. Signed-off-by: Ludovic Courtès --- .../python-ipython-documentation-repro.patch | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 gnu/packages/patches/python-ipython-documentation-repro.patch (limited to 'gnu/packages/patches/python-ipython-documentation-repro.patch') diff --git a/gnu/packages/patches/python-ipython-documentation-repro.patch b/gnu/packages/patches/python-ipython-documentation-repro.patch deleted file mode 100644 index d6a6e9c3fd..0000000000 --- a/gnu/packages/patches/python-ipython-documentation-repro.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix non-reproducibilities caused by time-dependent procedures. -Submitted upstream: https://github.com/ipython/ipython/pull/13640 - -diff --git a/IPython/sphinxext/ipython_directive.py b/IPython/sphinxext/ipython_directive.py -index 18bdfcae9..2c665ac87 100644 ---- a/IPython/sphinxext/ipython_directive.py -+++ b/IPython/sphinxext/ipython_directive.py -@@ -19,7 +19,7 @@ - In [1]: 1+1 - - In [1]: import datetime -- ...: datetime.datetime.now() -+ ...: datetime.date.fromisoformat('2022-02-22') - - It supports IPython construct that plain - Python does not understand (like magics): -@@ -28,7 +28,7 @@ - - In [0]: import time - -- In [0]: %timeit time.sleep(0.05) -+ In [0]: %pdoc time - - This will also support top-level async when using IPython 7.0+ - -- cgit v1.2.3