factory openSUSE Urllib3Using.py on Python 2
See original GitHub issueWhen using branch factory Nuitka-0.6.3.1556202417, on openSUSE Python 2.7, .spec
[ 774s] Consider output of recursively compiled program: Urllib3Using.py
[ 774s] Comparing output of 'Urllib3Using.py' using '/usr/bin/python2' with flags silent, expect_success, standalone, remove_output ...
[ 839s] --- /usr/bin/python2 (stderr)
[ 839s] +++ nuitka (stderr)
[ 839s]
[ 839s] @@ -1,5 +1,4 @@
[ 839s]
[ 839s] Traceback (most recent call last):
[ 839s] - File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.3.1556202417.e23ccdbb/tests/standalone/Urllib3Using.py", line 29, in <module>
[ 839s] - from http.server import BaseHTTPRequestHandler, HTTPServer
[ 839s] + File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.3.1556202417.e23ccdbb/tests/standalone/Urllib3Using.dist/Urllib3Using.py", line 29, in <module>
[ 839s] ImportError: No module named http.server
[ 839s]
[ 839s] Error, outputs differed.
[ 839s] Error exit! 1
[ 839s] error: Bad exit status from /var/tmp/rpm-tmp.ysUnJG (%check)
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
openSUSE:Packaging Python
'Single-spec' (or 'Singlespec') is an approach for packaging multiple variants of a Python module from a single source spec file. The variants ...
Read more >Now requires python2-pyOpenSSL · Issue #429 - GitHub
When you install osc only python-base is required. And ssl.py is not included in python-base. A Requires: python2 solves the problem.
Read more >python-2.7.18-150000.38.1.x86_64.rpm
Download python-2.7.18-150000.38.1.x86_64.rpm for openSUSE 15.4 from openSUSE Oss repository. ... /usr/lib64/python2.7/sqlite3/test/factory.py.
Read more >An outdated Python for openSUSE Leap - LWN.net
On January 3, Michael Ströder posted about the Python version to the opensuse-factory mailing list. He noted that some Python modules are already...
Read more >Python 2 vs Python 3 : r/openSUSE - Reddit
Linux distributions generally won't ship python 3 as the default python interpreter until all packages in the distro's default repos are ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think https://python-future.org/standard_library_imports.html may be where your
http.server
is coming from.2to3 is an installation tool. It doesnt help unless you install something which provides
http
and explicitly asked 2to3 to help (usually getting python2 stuff working under python3, not the other way around).