[issue21069] urllib unit tests failing without ssl module

2014-03-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ned.deily nosy: +ned.deily stage: - needs patch versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21069 ___

[issue21069] urllib unit tests failing without ssl module

2014-03-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset adf1e04478b4 by Ned Deily in branch '3.4': Issue #21069: Temporarily use www.google.com while investigating http://hg.python.org/cpython/rev/adf1e04478b4 New changeset 8d4cace71113 by Ned Deily in branch 'default': Issue 21069: merge from 3.4

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread Daniel Farrell
New submission from Daniel Farrell: I'm seeing quite a few unit test failures in urllib (urlopen error unknown url type: https). From what I've gathered on IRC, this seems to be because I'm missing the ssl module. I'm seeing these errors in 3.4.0, after a simple `./configure; make; make

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: What makes you think this is a different issue? It sounds like a duplicate to me. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21069

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Ah, in case I wasn't clear: what unittest failures that you are seeing are not covered by issue 20939? In order to diagnose this issue, we'll need to know that :) -- ___ Python tracker rep...@bugs.python.org

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread Daniel Farrell
Daniel Farrell added the comment: Ah, in case I wasn't clear: what unittest failures that you are seeing are not covered by issue 20939? The unit test failures I'm seeing are different in at least two ways: 1) A larger set of tests failing than mentioned in Issue 20939; 2) Their failure was

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Well, I just looked at one of those tests at random, and it is using an http://www.python.org url, so it would be covered by 20939. Can you re-run your tests after applying the patches from that issue? -- ___

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread Daniel Farrell
Daniel Farrell added the comment: Interestingly, using the configure/make/test options given in the devguide doesn't show these failures, but running on the exact same codebase (`hg checkout v3.4.0`) with the configure/make/test options in the README consistently shows them. That seems...not

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread R. David Murray
R. David Murray added the comment: Network tests are only run if the 'network' resource is enabled. The devguide does not suggest setting network, but make test does do so. (I personally always use -uall when running the tests). -- ___ Python

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread Daniel Farrell
Daniel Farrell added the comment: Running the unit tests against the latest code (`hg clone url; ./configure; make; make test`) shows the same errors I described earlier. Patching the code with issue20939_all_3x.patch fixes all related errors except one.

[issue21069] urllib unit tests failing without ssl module

2014-03-26 Thread Daniel Farrell
Daniel Farrell added the comment: Note that issue21069.patch depends on issue20939_all_3x.patch (if that wasn't clear). [~/cpython]$ hg import issue20939_all_3x.patch applying issue20939_all_3x.patch patching file Lib/test/test_urllib2.py Hunk #1 succeeded at 1447 with fuzz 1 (offset 6 lines).