)]}'
{"elements/zypper-minimal/root.d/08-zypper-chroot":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"56165199f6ca41fe8c860089754a9db4ede4bc60","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# Install basic components in order"},{"line_number":59,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} -t pattern base"},{"line_number":60,"context_line":"# Install a few useful tools"},{"line_number":61,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} python python-pip zypper"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"# Put in a dummy /etc/resolv.conf over the temporary one we used"},{"line_number":64,"context_line":"# to bootstrap.  systemd has a bug/feature [1] that it will assume"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa6399be_a1adf285","line":61,"updated":"2016-10-20 14:34:24.000000000","message":"Why is python-pip needed? I see you mention \u0027it might be needed early on\u0027 but I am wondering if this is something suse requires or just something a user may need. If its not something required for building suse images then its probably better left out as we have a pip element for this.","commit_id":"4c9c9f96408ab761365a526eed17e3c65538ff03"},{"author":{"_account_id":12459,"name":"Stephanie Miller","email":"stephane@alum.mit.edu","username":"cinerama"},"change_message_id":"9c60bf58fd3d7aaac861f3c8936981cb08a08044","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# Install basic components in order"},{"line_number":59,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} -t pattern base"},{"line_number":60,"context_line":"# Install a few useful tools"},{"line_number":61,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} python python-pip zypper"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"# Put in a dummy /etc/resolv.conf over the temporary one we used"},{"line_number":64,"context_line":"# to bootstrap.  systemd has a bug/feature [1] that it will assume"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa6399be_e28525cf","line":61,"in_reply_to":"fa6399be_0cab3576","updated":"2016-10-20 17:04:13.000000000","message":"That import occurs *after* pip has been unpacked and its temporary location has been added to the python path. We use this script in bifrost to bootstrap systems with no pip installed all the time (see env-setup.sh).\n\nMy vote would be for adding stuff to pip-and-virtualenv instead.","commit_id":"4c9c9f96408ab761365a526eed17e3c65538ff03"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"8399baaab2c409d99a6a38d74a8cae1241a0890a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# Install basic components in order"},{"line_number":59,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} -t pattern base"},{"line_number":60,"context_line":"# Install a few useful tools"},{"line_number":61,"context_line":"sudo zypper ${ZYPPER_TARGET_OPTS} install ${ZYPPER_INSTALL_OPTS} python python-pip zypper"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"# Put in a dummy /etc/resolv.conf over the temporary one we used"},{"line_number":64,"context_line":"# to bootstrap.  systemd has a bug/feature [1] that it will assume"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa6399be_0cab3576","line":61,"in_reply_to":"fa6399be_a1adf285","updated":"2016-10-20 14:57:40.000000000","message":"So one occasion I have seen is in the \u0027pip-and-virtualenv\u0027 element. For centos and fedora, there is no problem, they just install the package in the distribution. But for the rest, the pip script is downloaded from the web. So the https://bootstrap.pypa.io/get-pip.py contains the following:\n\n    # Import pip so we can use it to install pip and maybe setuptools too\n    import pip\n\nWhich means that if you do not have \u0027pip\u0027 already installed, the import will fail. And that\u0027s the reason I am pulling python-pip early enough in the build process. The alternative would be to extend pip-and-virtualenv for SUSE. I am fine either way I just picked one of the two choices.","commit_id":"4c9c9f96408ab761365a526eed17e3c65538ff03"}]}
