Your message dated Wed, 01 Apr 2020 19:10:09 +0000
with message-id <[email protected]>
and subject line Bug#955404: Removed package(s) from unstable
has caused the Debian Bug report #794108,
regarding Testsuite failure with python 3.5 supported
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
794108: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794108
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ipython
Version: 2.3.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu wily ubuntu-patch

Hi DPMT,

In Ubuntu we've added python3.5 as a supported version and rebuilt most
things against it. I noticed that, while ipython survives a rebuild, its
(DEP8) testsuite was failing. For example

  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-wily/wily/amd64/i/ipython/20150729_123652@/log.gz

(warning: big file) - search for "deepreload".

I cherry-picked the attached patches from upstream. They fix it for me
locally, and

  http://autopkgtest.ubuntu.com/packages/i/ipython/

will soon show it they work on the test machines too.

Maybe you want them, if there's no new upstream release by the time we
get 3.5 in Debian.

Cheers,

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]
diff -Nru ipython-2.3.0/debian/patches/0001-Fix-annoying-line-number-test.patch ipython-2.3.0/debian/patches/0001-Fix-annoying-line-number-test.patch
--- ipython-2.3.0/debian/patches/0001-Fix-annoying-line-number-test.patch	1970-01-01 01:00:00.000000000 +0100
+++ ipython-2.3.0/debian/patches/0001-Fix-annoying-line-number-test.patch	2015-07-30 16:37:14.000000000 +0100
@@ -0,0 +1,22 @@
+From d509000e607eeca9a1813a9e3ecd02bd33562a71 Mon Sep 17 00:00:00 2001
+From: Thomas Kluyver <[email protected]>
+Date: Tue, 28 Apr 2015 16:47:40 -0700
+Subject: [PATCH] Fix annoying line number test (modified by Iain Lane for 1.3.0/our Debian patches)
+
+---
+ IPython/core/tests/test_oinspect.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/IPython/core/tests/test_oinspect.py
+===================================================================
+--- a/IPython/core/tests/test_oinspect.py
++++ b/IPython/core/tests/test_oinspect.py
+@@ -47,7 +47,7 @@
+ # defined, if any code is inserted above, the following line will need to be
+ # updated.  Do NOT insert any whitespace between the next line and the function
+ # definition below.
+-THIS_LINE_NUMBER = 49  # Put here the actual number of this line
++THIS_LINE_NUMBER = 50  # Put here the actual number of this line
+ def test_find_source_lines():
+     nt.assert_equal(oinspect.find_source_lines(test_find_source_lines), 
+                     THIS_LINE_NUMBER+1)
diff -Nru ipython-2.3.0/debian/patches/0001-Skip-test-that-builtin-signature-can-t-be-inspected.patch ipython-2.3.0/debian/patches/0001-Skip-test-that-builtin-signature-can-t-be-inspected.patch
--- ipython-2.3.0/debian/patches/0001-Skip-test-that-builtin-signature-can-t-be-inspected.patch	1970-01-01 01:00:00.000000000 +0100
+++ ipython-2.3.0/debian/patches/0001-Skip-test-that-builtin-signature-can-t-be-inspected.patch	2015-07-30 13:06:32.000000000 +0100
@@ -0,0 +1,32 @@
+From ca0589182bfa0b864180b3e49d451522fca3ad9e Mon Sep 17 00:00:00 2001
+From: Thomas Kluyver <[email protected]>
+Date: Tue, 28 Apr 2015 16:37:48 -0700
+Subject: [PATCH] Skip test that builtin signature can't be inspected
+
+Builtins can now provide a signature, and sum() does so as of Python
+3.5. I thought this is related to PEP 436, but that still appears to be
+in draft status, so I'm not sure.
+---
+ IPython/core/tests/test_oinspect.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: b/IPython/core/tests/test_oinspect.py
+===================================================================
+--- a/IPython/core/tests/test_oinspect.py
++++ b/IPython/core/tests/test_oinspect.py
+@@ -16,6 +16,7 @@
+ # Stdlib imports
+ import os
+ import re
++import sys
+ 
+ # Third-party imports
+ import nose.tools as nt
+@@ -201,6 +202,7 @@
+     check_calltip(g, 'g', 'g(y, z=3, *a, **kw)', '<no docstring>')
+ 
+ 
++@skipif(sys.version_info >= (3, 5))
+ def test_calltip_builtin():
+     check_calltip(sum, 'sum', None, sum.__doc__)
+ 
diff -Nru ipython-2.3.0/debian/patches/deepreload-fix ipython-2.3.0/debian/patches/deepreload-fix
--- ipython-2.3.0/debian/patches/deepreload-fix	1970-01-01 01:00:00.000000000 +0100
+++ ipython-2.3.0/debian/patches/deepreload-fix	2015-07-30 16:36:30.000000000 +0100
@@ -0,0 +1,31 @@
+Description: The deepreload test fails with python 3.5 unless more modules are excluded.
+Origin: https://github.com/ipython/ipython/commit/8361063526906efaf628a0a93fd4e990b68736d9
+Origin: https://github.com/ipython/ipython/commit/56fbc14c2b290a9afb5e897096598383b0d6d4ae
+Origin: https://github.com/ipython/ipython/commit/786c612bffa6eca905518660729350b364d5d8db
+Origin: https://github.com/ipython/ipython/commit/6525f3bb574917afd42ceef44dd41c882a2f2d3f
+Origin: https://github.com/ipython/ipython/commit/1d9ef76249a2a4dd9351f0df14f91f5915e37c8f
+
+Index: b/IPython/lib/tests/test_deepreload.py
+===================================================================
+--- a/IPython/lib/tests/test_deepreload.py
++++ b/IPython/lib/tests/test_deepreload.py
+@@ -23,12 +23,18 @@
+ def test_deepreload_numpy():
+     "Test that NumPy can be deep reloaded."
+     import numpy
++    # TODO: Find a way to exclude all standard library modules from reloading.
+     exclude = [
+         # Standard exclusions:
+         'sys', 'os.path', builtin_mod_name, '__main__',
+         # Test-related exclusions:
+-        'unittest', 'UserDict',
++        'unittest', 'UserDict', '_collections_abc', 'tokenize',
++        'collections', 'collections.abc',
++        'importlib', 'importlib.machinery', '_imp',
++        'importlib._bootstrap', 'importlib._bootstrap_external',
++        '_frozen_importlib', '_frozen_importlib_external',
+         ]
++
+     dreload(numpy, exclude=exclude)
+ 
+ def test_deepreload():
diff -Nru ipython-2.3.0/debian/patches/series ipython-2.3.0/debian/patches/series
--- ipython-2.3.0/debian/patches/series	2015-07-16 21:02:27.000000000 +0100
+++ ipython-2.3.0/debian/patches/series	2015-07-30 13:13:45.000000000 +0100
@@ -6,3 +6,6 @@
 packaged-js.patch 
 split-pkg.patch
 pygments2.0_compatibility.patch
+deepreload-fix
+0001-Skip-test-that-builtin-signature-can-t-be-inspected.patch
+0001-Fix-annoying-line-number-test.patch

--- End Message ---
--- Begin Message ---
Version: 5.8.0-4+rm

Dear submitter,

as the package ipython-py2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/955404

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to