)]}'
{"diskimage_builder/elements/pip-and-virtualenv/source-repository-pip-and-virtualenv":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"510212859077c9d6ac47300f3d43e2195203000d","unresolved":true,"context_lines":[{"line_number":1,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py"},{"line_number":2,"context_line":"pip-and-virtualenv file /tmp/get-pip-3.4.py https://bootstrap.pypa.io/3.4/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"4470a660_45f6b363","line":2,"updated":"2021-01-25 08:11:46.000000000","message":"Why don\u0027t you use the 2.7 version? Seems like it would be a better match for installing on python2.","commit_id":"7471bc6e33dc4711658aae53ff006461ba047bf5"},{"author":{"_account_id":13294,"name":"Javier Peña","email":"jpena@redhat.com","username":"jpena"},"change_message_id":"f44b2074c86c94112bb3b63e18bb713613c79230","unresolved":true,"context_lines":[{"line_number":1,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py"},{"line_number":2,"context_line":"pip-and-virtualenv file /tmp/get-python2-pip.py https://bootstrap.pypa.io/3.4/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"08cac824_5f540cdb","line":2,"range":{"start_line":2,"start_character":48,"end_line":2,"end_character":88},"updated":"2021-01-25 10:59:34.000000000","message":"The right URL for this one should be https://bootstrap.pypa.io/2.7/get-pip.py . That one is for Python 3.4, which seems to work fine but that could change.","commit_id":"296810e629f5caaeeb5b8e345ca6bf1608fcb2ff"},{"author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"change_message_id":"b87041c77ccd7450022a0b7d307e86de2e7b2faf","unresolved":false,"context_lines":[{"line_number":1,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py"},{"line_number":2,"context_line":"pip-and-virtualenv file /tmp/get-python2-pip.py https://bootstrap.pypa.io/3.4/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"96b97f8b_4af8c128","line":2,"range":{"start_line":2,"start_character":48,"end_line":2,"end_character":88},"in_reply_to":"08cac824_5f540cdb","updated":"2021-01-25 11:10:00.000000000","message":"Done","commit_id":"296810e629f5caaeeb5b8e345ca6bf1608fcb2ff"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"cf272402bbfd2cd072f7c910a391f891d4e2e7d4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"91ee5df7_071288db","line":4,"updated":"2021-01-26 18:27:21.000000000","message":"I suppose the alternative is to have a different version of this for platforms which provide no Python 2.7/3.5 (we\u0027d perhaps still want it for, say, CentOS 7 or Ubuntu Bionic which provide Python 3.6 because they also still provide 2.7, right?).","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":13294,"name":"Javier Peña","email":"jpena@redhat.com","username":"jpena"},"change_message_id":"4499532b3b47a478c13ae819e761b8e26f922d9d","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"a6ff8d75_1c2f0508","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":80},"updated":"2021-01-26 16:59:14.000000000","message":"This is going to install pip \u003c 21.0 on all cases. Is this what we want?","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"change_message_id":"fb6f8ead868815f4277bf512bf4e5d9113291c4c","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"391d109d_cbe3bff5","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"102cf89c_d7f761cb","updated":"2021-01-27 14:10:50.000000000","message":"so its ok. On executing get-pip.py its using also pip_args variable, which is set to \"pip_args\u003d\"-U --force-reinstall\" so it should use the newest one if available for current setup, am I right?","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"453d70624aa7c2a94f95bd6b032985417278d2ed","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"102cf89c_d7f761cb","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"204e32a9_1acd850d","updated":"2021-01-26 23:03:06.000000000","message":"I\u0027ve tested this now and you are correct that it installs 20.3.4 by default. Adding a -U pip seems to fix this as well.","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"12cc888ee7289dcd28df795e6b907f36966cf04f","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"f2757942_92786a9c","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"391d109d_cbe3bff5","updated":"2021-01-29 16:14:01.000000000","message":"Doing more testing with the env vars and commands that dib runs it appears that you need \u0027-U pip\u0027. I think this is because get-pip.py for python3.5 is specifying pip\u003c21 somewhere and if you specify \u0027pip\u0027 on the command line that uncapped request overrides the capped request.","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"change_message_id":"882e943b69f0b9cb498e786ba5ce4541eeda7a90","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"5dc117d4_96d626eb","line":4,"in_reply_to":"91ee5df7_071288db","updated":"2021-02-01 08:18:45.000000000","message":"Right. This solution was proposed in first commit to this patch - python2 version is using get-pip.py script from 2.7 branch when python3 is using master version. I like the solution that we use one script for install the pip, but it raise problem on getting newest version. \nSo far, we can use -U as a next executed command to confirm that it is the newest one.","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"1fa72459a587f00d93a30585fd5e86e15572672c","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"204e32a9_1acd850d","line":4,"range":{"start_line":4,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"a6ff8d75_1c2f0508","updated":"2021-01-26 22:02:41.000000000","message":"Are you sure that is the case? I is my recollection that get-pip.py does a pip install of pip from pypi. The bundled pip isn\u0027t just directly extracted. Pypi then has python-requires metadata for the pip package to select which version to install.\n\nIf they have hardcoded the version to install in get-pip.py that is disappointing. However, get-pip.py is also supposed to take pip install options so maybe you can run get-pip.py -U pip to work around this.","commit_id":"bf42ecf30dd10be83caccea5d245bfe2e7908174"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"70bffca41a5ecad90c79dc8e60ef2e6fb6166c7c","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"2a73349a_e19b1a18","line":4,"range":{"start_line":1,"start_character":0,"end_line":4,"end_character":80},"updated":"2021-02-01 15:19:58.000000000","message":"This would introduce a regression for current platforms because it will use only the old get-ip.py.\n\nThe correct approach is to use old get-pip.py only for EOL python versions and stick to\ncurrent one for normal ones.","commit_id":"383fab59e93d9736e4777610dd1f7f600551ba18"},{"author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"change_message_id":"c61561950b84e82cea7f34c12715dc982a339ad8","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"7488c6a9_93535393","line":4,"range":{"start_line":1,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"2a73349a_e19b1a18","updated":"2021-02-01 20:35:27.000000000","message":"I propose same in PS1,but it may not working at all with all distros. That\u0027s why Clark suggest to use old get-pip, then upgrade.","commit_id":"383fab59e93d9736e4777610dd1f7f600551ba18"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"ab5d58d7500da5423573dcabd4dfd0529a0e776f","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"9123c489_67555a0a","line":4,"range":{"start_line":1,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"7488c6a9_93535393","updated":"2021-02-02 06:06:18.000000000","message":"the script then goes on to use this pip to install the latest pip anyway...","commit_id":"383fab59e93d9736e4777610dd1f7f600551ba18"},{"author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"change_message_id":"030fba4ada4a0d6ab9ba25e27f301c48b26ec113","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# NOTE(dpawlik) We set get-pip.py script to use 3.5 version, that is compatible"},{"line_number":2,"context_line":"# with python2.7 and newer. It should be removed in the future, when Python 2"},{"line_number":3,"context_line":"# is dropped."},{"line_number":4,"context_line":"pip-and-virtualenv file /tmp/get-pip.py https://bootstrap.pypa.io/3.5/get-pip.py"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"05da7104_19393605","line":4,"range":{"start_line":1,"start_character":0,"end_line":4,"end_character":80},"in_reply_to":"9123c489_67555a0a","updated":"2021-02-02 07:13:48.000000000","message":"Not really. For python3.5 it will install pip 20.4.3, when on update it upgrade to 21.0.\nFor python 2.7 works ok.\nIMHO I really prefer to use the two different get-pip.py scripts and fix it in the future, when\nsome distro will fail at this point.","commit_id":"383fab59e93d9736e4777610dd1f7f600551ba18"}]}
