You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The main addition of this PR is the PC/layout script that is basically a "make install" equivalent for Windows. It is able to include/exclude a range of components, and has the following output formats:
regular full install (like on python.org - not the installer, just the file layout)
new MSIX format (that can be published to the Windows App Store)
To make the app store package work properly, I needed to add a new version of python[w].exe that can correctly locate itself. To link to embedded scripts (pip and idle), this new launcher can also handle being renamed and will launch those modules instead. It also sets some environment variables to help pip always install to user site packages and keep those in an accessible location - it would be nice (but not essential) to set these defaults in other ways, but this is most reliable right now.
To make venv work I modified the launcher to be able to launch the correct python[w].exe from a venv, so we no longer need to copy any other binaries into the Scripts directory. For recent releases of pip, this also works for launchers, but the embedded version of pip is too old.
This is very close, but not quite yet ready to merge. Open to suggestions/changes here. For early releases, I'm planning to backport to a branch of 3.7 so we can put out 3.7.1 (hopefully) and also be able to run it against a 3.7 build, hopefully without having to backport too much. I've already obtained the PSF publisher on the store, and have checked that ownership/access can be transferred easily.
For anyone looking at the change, once you get past launcher.c all the rest only affects builds on Windows and not Python itself. (And everything before that should only affect initialization on Windows.)
fatal: unable to access 'https://github.com/python/cpython.git/': Unknown SSL protocol error in connection to github.com:443 make: *** No rule to make target 'distclean'. Stop.
From https://github.com/python/cpython
* branch buildbot-custom -> FETCH_HEAD
Reset branch 'buildbot-custom'
Could Not Find C:\buildbot.python.org\custom.kloth-win64\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find C:\buildbot.python.org\custom.kloth-win64\build\PCbuild\python*.zip
Could Not Find C:\buildbot.python.org\custom.kloth-win64\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find C:\buildbot.python.org\custom.kloth-win64\build\PCbuild\python*.zip
From https://github.com/python/cpython
* branch buildbot-custom -> FETCH_HEAD
Reset branch 'buildbot-custom'
Python/pystate.c: In function ‘_new_long_object’:
Python/pystate.c:1470:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return PyLong_FromLongLong((int64_t)(data->data));^Python/pystate.c: In function ‘_long_shared’:
Python/pystate.c:1483:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
data->data = (void *)value;^
In file included from /buildbot/buildarea/cpython/custom.ware-gentoo-x86.installed/build/Modules/expat/expat_config.h:8:0,
from/buildbot/buildarea/cpython/custom.ware-gentoo-x86.installed/build/Modules/expat/xmltok.c:50:
./pyconfig.h:1538:0: warning: "_POSIX_C_SOURCE" redefined
#define _POSIX_C_SOURCE 200809L
In file included from /usr/include/bits/libc-header-start.h:33:0,
from/usr/include/string.h:26,
from/buildbot/buildarea/cpython/custom.ware-gentoo-x86.installed/build/Modules/expat/xmltok.c:34:
/usr/include/features.h:294:0: note: this is the location of the previous definition
# define _POSIX_C_SOURCE 199506L
/buildbot/tmp/tmpdir/tmp4hv0lwot/pip-18.1-py2.py3-none-any.whl/pip/_vendor/requests/status_codes.py:18: SyntaxWarning: invalid escape sequence \o
/buildbot/tmp/tmpdir/tmp4hv0lwot/pip-18.1-py2.py3-none-any.whl/pip/_vendor/requests/status_codes.py:18: SyntaxWarning: invalid escape sequence \o
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_robotparser.py", line 371, in test_read_404self.assertTrue(parser.allow_all)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 59 tests in 0.042s
FAILED (failures=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_urllibnet.py", line 101, in test_getcodeself.assertEqual(code, 404)
AssertionError: 503 != 404
----------------------------------------------------------------------
Ran 12 tests in 0.066s
FAILED (failures=1, skipped=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1589, in test_networked
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_bad_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1645, in test_networked_bad_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1629, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_noverification (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1600, in test_networked_noverification
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/support/__init__.py", line 782, in dec
f(*args, **kwargs)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1612, in test_networked_trusted_by_default_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
----------------------------------------------------------------------
Ran 105 tests in 0.196s
FAILED (errors=5)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_robotparser.py", line 371, in test_read_404self.assertTrue(parser.allow_all)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 59 tests in 0.029s
FAILED (failures=1)
Re-running test 'test_urllibnet' in verbose mode
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_urllibnet.py", line 101, in test_getcodeself.assertEqual(code, 404)
AssertionError: 503 != 404
----------------------------------------------------------------------
Ran 12 tests in 0.059s
FAILED (failures=1, skipped=1)
Re-running test 'test_httplib' in verbose mode
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1589, in test_networked
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_bad_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1645, in test_networked_bad_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1629, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_noverification (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1600, in test_networked_noverification
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
======================================================================
ERROR: test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/support/__init__.py", line 782, in dec
f(*args, **kwargs)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1612, in test_networked_trusted_by_default_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1229, in requestself._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1275, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1224, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1016, in _send_outputself.send(msg)
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 956, in sendself.connect()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/http/client.py", line 1391, in connectself.sock =self._context.wrap_socket(self.sock,
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 405, in wrap_socketreturnself.sslsocket_class._create(
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 853, in _createself.do_handshake()
File "/home/dje/cpython-buildarea/custom.edelsohn-debian-z/build/Lib/ssl.py", line 1117, in do_handshakeself._sslobj.do_handshake()
OSError: [Errno 0] Error
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-rhel-z/build/Lib/test/test_robotparser.py", line 371, in test_read_404self.assertTrue(parser.allow_all)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 59 tests in 5.037s
FAILED (failures=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-rhel-z/build/Lib/test/test_urllibnet.py", line 101, in test_getcodeself.assertEqual(code, 404)
AssertionError: 503 != 404
----------------------------------------------------------------------
Ran 12 tests in 5.091s
FAILED (failures=1, skipped=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-rhel-z/build/Lib/test/test_robotparser.py", line 371, in test_read_404self.assertTrue(parser.allow_all)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 59 tests in 5.056s
FAILED (failures=1)
Re-running test 'test_urllibnet' in verbose mode
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/custom.edelsohn-rhel-z/build/Lib/test/test_urllibnet.py", line 101, in test_getcodeself.assertEqual(code, 404)
AssertionError: 503 != 404
----------------------------------------------------------------------
Ran 12 tests in 0.079s
FAILED (failures=1, skipped=1)
fatal: unable to access 'https://github.com/python/cpython.git/': Unknown SSL protocol error in connection to github.com:443 make: *** No rule to make target 'distclean'. Stop.
fatal: unable to access 'https://github.com/python/cpython.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.make: *** No rule to make target 'distclean'. Stop.
zooba
added a commit
to zooba/cpython
that referenced
this pull request
Dec 10, 2018
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The main addition of this PR is the
PC/layout
script that is basically a "make install" equivalent for Windows. It is able to include/exclude a range of components, and has the following output formats:To make the app store package work properly, I needed to add a new version of
python[w].exe
that can correctly locate itself. To link to embedded scripts (pip
andidle
), this new launcher can also handle being renamed and will launch those modules instead. It also sets some environment variables to help pip always install to user site packages and keep those in an accessible location - it would be nice (but not essential) to set these defaults in other ways, but this is most reliable right now.To make venv work I modified the launcher to be able to launch the correct
python[w].exe
from a venv, so we no longer need to copy any other binaries into the Scripts directory. For recent releases of pip, this also works for launchers, but the embedded version of pip is too old.This is very close, but not quite yet ready to merge. Open to suggestions/changes here. For early releases, I'm planning to backport to a branch of 3.7 so we can put out 3.7.1 (hopefully) and also be able to run it against a 3.7 build, hopefully without having to backport too much. I've already obtained the PSF publisher on the store, and have checked that ownership/access can be transferred easily.
Can anyone think of anything I've missed?
https://bugs.python.org/issue34977