)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"d9e606405f73cd48ab3869cc315fe5a807878946","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Improve docs on setting up development environment"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We need newer than distro pip\u0027s in tox virtualenvs, which means we"},{"line_number":10,"context_line":"need a new virtualenv."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Further, because some platforms mangle pip by default we can\u0027t use"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"7a5de9d1_b98f8774","line":9,"range":{"start_line":9,"start_character":26,"end_line":9,"end_character":31},"updated":"2016-02-02 20:36:17.000000000","message":"change \"pip\u0027s\" to \"pip\"","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"}],"doc/source/project-setup/python.rst":[{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"7fdfcd94eb54c8c3848a9c278ce217734ba250f2","unresolved":false,"context_lines":[{"line_number":33,"context_line":"  [apt-get | yum] remove python-distribute || true"},{"line_number":34,"context_line":"  [apt-get | yum] remove python-setuptools || true"},{"line_number":35,"context_line":"  [apt-get | yum] remove python-virtualenv || true"},{"line_number":36,"context_line":"  [apt-get | yum] remove python-wheel || true"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Also, their corresponding Python 3 packages::"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa69d971_c803790c","line":36,"updated":"2016-01-08 03:10:14.000000000","message":"I know it\u0027s more work and is a little more verbose but we\u0027d normally have something you can just copy\u0027n\u0027paste into a shell see: http://docs.openstack.org/developer/devstack/guides/single-machine.html#download-devstack\n\nso in this case:\n\n  sudo apt-get remove python-wheel || sudo yum remove python-wheel\n\nAlso I\u0027d drop the  \u0027|| true\u0027 I understand what it does but I don\u0027t really see the value here","commit_id":"3f6ae11a05f2f61c78f1494c14d8448db5db3528"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"dd889fc6dbe4a63675aa58ea97cd1929d354aa47","unresolved":false,"context_lines":[{"line_number":33,"context_line":"  [apt-get | yum] remove python-distribute || true"},{"line_number":34,"context_line":"  [apt-get | yum] remove python-setuptools || true"},{"line_number":35,"context_line":"  [apt-get | yum] remove python-virtualenv || true"},{"line_number":36,"context_line":"  [apt-get | yum] remove python-wheel || true"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Also, their corresponding Python 3 packages::"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa69d971_fbbb8273","line":36,"in_reply_to":"fa69d971_14066e20","updated":"2016-01-08 12:26:56.000000000","message":"Thanks for the suggestions, changed to:\n\n  $PACKTOOL\u003d`which apt-get || which yum`\n  sudo $PACKTOOL remove python-pip\n  ...","commit_id":"3f6ae11a05f2f61c78f1494c14d8448db5db3528"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"280aa88c1ec1398bc8a29008cfb725bf9a2e5b8e","unresolved":false,"context_lines":[{"line_number":33,"context_line":"  [apt-get | yum] remove python-distribute || true"},{"line_number":34,"context_line":"  [apt-get | yum] remove python-setuptools || true"},{"line_number":35,"context_line":"  [apt-get | yum] remove python-virtualenv || true"},{"line_number":36,"context_line":"  [apt-get | yum] remove python-wheel || true"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Also, their corresponding Python 3 packages::"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa69d971_14066e20","line":36,"in_reply_to":"fa69d971_c803790c","updated":"2016-01-08 10:24:15.000000000","message":"Or just two lines:\n\n$PACKTOOL\u003d`which apt-get || which yum`\n\nsudo $PACKTOOL remove python-pip python-tox python-distribute python-setuptools python-virtualenv python-wheel","commit_id":"3f6ae11a05f2f61c78f1494c14d8448db5db3528"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"1af0904439a9c6c0e5cab4f92b107bde4a8b5cbd","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa69d971_396a42b4","line":50,"updated":"2016-01-11 10:02:55.000000000","message":"Not a big fan of this.\n\nSince pip is now installed with Python in 2.7.9 and 3.4.0, I would rather rely on that, and still use python-pip for the few still needing it. At the very least this should mention that the step is optional...","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"dcef364e5d44b3420d72befc66bedf7113db6163","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba63e191_c50ca63d","line":50,"in_reply_to":"ba63e191_62037043","updated":"2016-01-19 21:06:08.000000000","message":"I want to avoid proliferation of instructions suggesting running unsigned code from the internet is a good thing. Or TOCTOU privilege escalation vulnerabilities. But I don\u0027t care enough to -1 anymore...","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a26b687727a22f330c10972811eed08f33a947c3","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba63e191_e59beac7","line":50,"in_reply_to":"ba63e191_c50ca63d","updated":"2016-01-19 21:07:51.000000000","message":"So - this is signed - HTTPS. And the pip bootstrap Python bundles also results in an ongoing update-via-pip process - so while I can see your point, curlsh is a terrible thing, its also where we are at while distros have the update policies they have :/","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"d0e90c99d1f9c00740bb661c09577c2481b6b1f5","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba63e191_256d8298","line":50,"in_reply_to":"ba63e191_e59beac7","updated":"2016-01-19 21:12:28.000000000","message":"I just would have preferred if we didn\u0027t have to advise people to run that. Yes it\u0027s signed, but HTTPS is almost useless as a signature mechanism those days. And it still contains a TOCTOU privilege escalation vulnerability. I agree it might just be a necessary evil though, which is why I don\u0027t object to it anymore :) Just don\u0027t expect me to cheer up with a +1.","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"e02f2162bc1b3b45802643f68d3c6cc39e3b307c","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba63e191_883d65bd","line":50,"in_reply_to":"ba63e191_e59beac7","updated":"2016-01-19 21:28:44.000000000","message":"If https://github.com/pypa/pip/issues/1668 gets usefully resolved, then we might be able to work out a solution which doesn\u0027t require sudo. Until then this is a terribly embarrassing (though not necessarily for OpenStack directly since we\u0027re just parroting the pip install instructions) yet necessary evil.\n\n_I_ solve this for myself by using my distro\u0027s somewhat outdated virtualenv package to make a virtualenv containing latest virtualenv and link the entrypoint from ~/bin prepended to my user\u0027s path, then do everything with virtualenvs and never ever ever sudo pip anything... ever. Mixing package managers in a single environment is a painfully unpleasant thing in my experience, but I understand this may not be a general solution and is more complex to explain too.","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"049917e865b5939acbee9de99009fbec67fcbb97","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"da6ed579_9039c7f4","line":50,"in_reply_to":"da6ed579_62d25c5e","updated":"2016-01-14 08:56:18.000000000","message":"OK, so maybe something like \"if your distro is not running python \u003e\u003d2.7.X or \u003e\u003d3.4.Y, you need to install pip\u003e\u003d7.1 using this command\" ?","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"4577fa47c5102e06eb9eee579042663bab5e500a","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba63e191_62037043","line":50,"in_reply_to":"da6ed579_9039c7f4","updated":"2016-01-19 21:02:01.000000000","message":"No, because the pip version in the distro is not the same as the pip version bundled with Python, and distros unbundle.\n\nWhat problem are you trying to avoid/address here?","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"1a522733d0021501af2b795781ea143ae3dd83c9","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"da6ed579_62d25c5e","line":50,"in_reply_to":"fa69d971_396a42b4","updated":"2016-01-13 22:09:56.000000000","message":"It\u0027s not optional. We require pip 7.1+ everywhere. Distros unbundle pip from the Python distribution and supply it themselves. OpenStack supports developers developing on LTS distributions. The combination is still toxic enough that we either need a couple of paragraphs of prose, or a single simple command that works.","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"1af0904439a9c6c0e5cab4f92b107bde4a8b5cbd","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  pip install --upgrade tox setuptools virtualenv wheel"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":".. _`pip`: \u003chttp://pip.readthedocs.org/en/latest/installing.html\u003e`"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Run The Tests"},{"line_number":60,"context_line":"^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa69d971_d9ef661c","line":57,"updated":"2016-01-11 10:02:55.000000000","message":"This 404s, so maybe take the opportunity to refresh the URL to point to:\n\nhttp://pip.readthedocs.org/en/stable/installing/","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"8326a48fc64ca4171959f5a7548c727080657740","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  pip install --upgrade tox setuptools virtualenv wheel"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":".. _`pip`: \u003chttp://pip.readthedocs.org/en/latest/installing.html\u003e`"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Run The Tests"},{"line_number":60,"context_line":"^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7a5de9d1_b8d7134a","line":57,"in_reply_to":"fa69d971_d9ef661c","updated":"2016-01-29 17:20:42.000000000","message":"Done, thanks","commit_id":"edc321ce57bd3611eb2590969abd57b96bf0f3ce"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"d9e606405f73cd48ab3869cc315fe5a807878946","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Remove the system-installed versions of Python 2 packages we need latest"},{"line_number":29,"context_line":"versions of::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  $PACKTOOL\u003d`which apt-get || which yum`"},{"line_number":32,"context_line":"  sudo $PACKTOOL remove python-pip"},{"line_number":33,"context_line":"  sudo $PACKTOOL remove python-tox"},{"line_number":34,"context_line":"  sudo $PACKTOOL remove python-distribute"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_39407707","line":31,"range":{"start_line":31,"start_character":2,"end_line":31,"end_character":3},"updated":"2016-02-02 20:36:17.000000000","message":"remove $","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"e6617387121f76f91aa1360c73fd5969570b73c5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Remove the system-installed versions of Python 2 packages we need latest"},{"line_number":29,"context_line":"versions of::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  $PACKTOOL\u003d`which apt-get || which yum`"},{"line_number":32,"context_line":"  sudo $PACKTOOL remove python-pip"},{"line_number":33,"context_line":"  sudo $PACKTOOL remove python-tox"},{"line_number":34,"context_line":"  sudo $PACKTOOL remove python-distribute"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a57f1b5_0b907aeb","line":31,"range":{"start_line":31,"start_character":2,"end_line":31,"end_character":3},"in_reply_to":"7a5de9d1_39407707","updated":"2016-02-11 11:39:42.000000000","message":"Done","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"d9e606405f73cd48ab3869cc315fe5a807878946","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  pip install --upgrade tox setuptools virtualenv wheel"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":".. _`pip`: \u003chttp://pip.readthedocs.org/en/stable/installing/\u003e`"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_24a04a90","line":54,"updated":"2016-02-02 20:36:17.000000000","message":"suggest sudo pip install","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"e6617387121f76f91aa1360c73fd5969570b73c5","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  pip install --upgrade tox setuptools virtualenv wheel"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":".. _`pip`: \u003chttp://pip.readthedocs.org/en/stable/installing/\u003e`"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a57f1b5_cbc022e3","line":54,"in_reply_to":"7a5de9d1_24a04a90","updated":"2016-02-11 11:39:42.000000000","message":"Yes, I added sudo -H, as without it I got a warning because of the pip cache being owned by the current user.","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"d9e606405f73cd48ab3869cc315fe5a807878946","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  tox"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Note: completing this command may take a long time (depends on system resources),"},{"line_number":67,"context_line":"also you might not see any output until tox is complete."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Run One Set of Tests"}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_ff4abf26","line":67,"updated":"2016-02-02 20:36:17.000000000","message":"Might also want to note that this may require installation of other system packages. For example, I tried python-keystoneclient and I had to install python-dev, python3-dev, gcc, and libxml2-dev.","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"e6617387121f76f91aa1360c73fd5969570b73c5","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  tox"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Note: completing this command may take a long time (depends on system resources),"},{"line_number":67,"context_line":"also you might not see any output until tox is complete."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Run One Set of Tests"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a57f1b5_66a60312","line":67,"in_reply_to":"7a5de9d1_ff4abf26","updated":"2016-02-11 11:39:42.000000000","message":"Done","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"d9e606405f73cd48ab3869cc315fe5a807878946","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  tox -e \u003cenv\u003e"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"so for example, run the test suite in py34 and py27::"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"  tox -e py34,py27"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7a5de9d1_e4e1d29b","line":84,"updated":"2016-02-02 20:36:17.000000000","message":"This section is titled \"Run One Set of Tests\", and then the example is running 2 sets of tests. Revert this since it\u0027s unrelated anyways.","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"e6617387121f76f91aa1360c73fd5969570b73c5","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  tox -e \u003cenv\u003e"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"so for example, run the test suite in py34 and py27::"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"  tox -e py34,py27"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a57f1b5_4b22f2ba","line":84,"in_reply_to":"7a5de9d1_e4e1d29b","updated":"2016-02-11 11:39:42.000000000","message":"Done","commit_id":"18efd6bb0351566d13dda08e65a1734a88b8728b"},{"author":{"_account_id":964,"name":"Anne Gentle","email":"annegentle@justwriteclick.com","username":"annegentle"},"change_message_id":"bb86ed54b8c6a140034e6d69185318d100e6ed1f","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Remove the system-installed versions of Python 2 packages we need latest"},{"line_number":29,"context_line":"versions of::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  PACKTOOL\u003d`which apt-get || which yum`"},{"line_number":32,"context_line":"  sudo $PACKTOOL remove python-pip"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7af24918_3d7ea4e4","line":29,"updated":"2016-03-01 21:07:23.000000000","message":"\"we need latest versions of\" isn\u0027t parsing for me. Is this the meaning:\n\n\"Because your system may have previously-installed versions of Python 2 packages, make sure your system has Python 3 by removing the Python 2 packages.\"\n\nOr is it:\n\n\"Depending on your distribution, you may need to remove certain Python packages in order to get the compatible versions for OpenStack.\"\nAnd then list them for each distro? Also noting the caveats Matthias warns about.","commit_id":"9611fed18625800be00e8c96bac243102060d44c"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"ad991a28fa6acf359c4d03fdbc0ada5368a4cc73","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Remove the system-installed versions of Python 2 packages we need latest"},{"line_number":29,"context_line":"versions of::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  PACKTOOL\u003d`which apt-get || which yum`"},{"line_number":32,"context_line":"  sudo $PACKTOOL remove python-pip"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5aef4532_5ca78b0a","line":29,"in_reply_to":"7af24918_3d7ea4e4","updated":"2016-03-10 11:59:28.000000000","message":"The latter option fits better in this case. Maybe: \"Depending on your distribution, you may need to remove certain Python packages in order to get the latest versions, which are compatible versions for OpenStack\"","commit_id":"9611fed18625800be00e8c96bac243102060d44c"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"4d72dbcd21e1ae4435f41c69724c6523dae6d94f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Remove the system-installed versions of Python 2 packages we need latest"},{"line_number":29,"context_line":"versions of::"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  PACKTOOL\u003d`which apt-get || which yum`"},{"line_number":32,"context_line":"  sudo $PACKTOOL remove python-pip"},{"line_number":33,"context_line":"  sudo $PACKTOOL remove python-tox"},{"line_number":34,"context_line":"  sudo $PACKTOOL remove python-distribute"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dae33548_f83430fc","line":31,"updated":"2016-02-16 08:30:19.000000000","message":"Fedora nowadays uses a tool named dnf, SUSE has something named zypper. Recommending to remove those tools might seriously harm the distribution, for example yum itself depends on python-setuptools.","commit_id":"9611fed18625800be00e8c96bac243102060d44c"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"e555356c285517aa241f2dfac5b7ca01d34c3e4b","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_dc660e50","line":50,"updated":"2016-02-29 22:03:35.000000000","message":"When I do this with ubuntu 15.10 server it says python isn\u0027t installed. Might be useful to say to\n\n sudo $PACKTOOL install python\n\nabove.","commit_id":"9611fed18625800be00e8c96bac243102060d44c"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"ad991a28fa6acf359c4d03fdbc0ada5368a4cc73","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Install `pip`_::"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"  wget https://bootstrap.pypa.io/get-pip.py"},{"line_number":50,"context_line":"  sudo -H python get-pip.py"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Use pip to install tox, setuptools, virtualenv and wheel::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5aef4532_1cd6a34e","line":50,"in_reply_to":"9aed3d3a_dc660e50","updated":"2016-03-10 11:59:28.000000000","message":"Or maybe say this guide assumes you have python installed?","commit_id":"9611fed18625800be00e8c96bac243102060d44c"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"5248257fff1619efe5675f32562b5b77af09ef9b","unresolved":false,"context_lines":[{"line_number":38,"context_line":"Installing System Dependencies"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Pior to installing the Python packages and running the tests, there are system"},{"line_number":42,"context_line":"packages that will need installing in order to allow various Python packages"},{"line_number":43,"context_line":"to compile."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_db246c61","line":41,"updated":"2016-04-06 15:56:37.000000000","message":"Prior","commit_id":"3b32319993a81ed2ddcb69edf6756859d42b2251"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"0b1ea55cd9c373712a20105981a0acde3bc5562a","unresolved":false,"context_lines":[{"line_number":38,"context_line":"Installing System Dependencies"},{"line_number":39,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Pior to installing the Python packages and running the tests, there are system"},{"line_number":42,"context_line":"packages that will need installing in order to allow various Python packages"},{"line_number":43,"context_line":"to compile."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_d2bba6e3","line":41,"in_reply_to":"9a061dce_db246c61","updated":"2016-04-06 19:09:55.000000000","message":"Done","commit_id":"3b32319993a81ed2ddcb69edf6756859d42b2251"},{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"5248257fff1619efe5675f32562b5b77af09ef9b","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  sudo [apt-get | yum] install $(bindep -b)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Otherwise, there is a `master fallback`_ one which brings in everything"},{"line_number":57,"context_line":"maintained by the OpenStack Infra team. Download it somewhere and add the"},{"line_number":58,"context_line":"`-f bindep-fallback.txt` to your bindep call::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_bbea58aa","line":56,"updated":"2016-04-06 15:56:37.000000000","message":"It\u0027s slightly unclear when we should use the fallback. Is that when there is no other-requirements.txt (in which case \"Otherwise\" should read \"Alternatively if there is no such file\")? Or in all cases (in which case \"Otherwise\" should read \"Additionally\") ?","commit_id":"3b32319993a81ed2ddcb69edf6756859d42b2251"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"0b1ea55cd9c373712a20105981a0acde3bc5562a","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"  sudo [apt-get | yum] install $(bindep -b)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Otherwise, there is a `master fallback`_ one which brings in everything"},{"line_number":57,"context_line":"maintained by the OpenStack Infra team. Download it somewhere and add the"},{"line_number":58,"context_line":"`-f bindep-fallback.txt` to your bindep call::"},{"line_number":59,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"9a061dce_92ef6ee8","line":56,"in_reply_to":"9a061dce_bbea58aa","updated":"2016-04-06 19:09:55.000000000","message":"Agreed and changed to \"Alternatively if there is no such file\"","commit_id":"3b32319993a81ed2ddcb69edf6756859d42b2251"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"b32cd64a445166767bd781475087dc268328d487","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  sudo [apt-get | yum] install $(bindep -b -f bindep-fallback.txt)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":63,"context_line":".. _`master fallback`: http://git.openstack.org/cgit/openstack-infra/project-config/plain/jenkins/data/bindep-fallback.txt"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Running Python Unit Tests"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1a122d0e_39b095dd","line":63,"updated":"2016-04-15 15:58:14.000000000","message":"I agree about advising something that won\u0027t work, however, advising people to install the fallback file is overkill, and not something that we want to support.  The fact of the matter is that traditionally, people learned what to install by reading the README.  bindep and other-requirements will make that easier.  But until it\u0027s fully in place, we will have to muddle along as we have.  We\u0027re pretty close, so I don\u0027t think this will take too much longer.","commit_id":"76113c68b2dcd6904fdf018cd45b3757ef915c60"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"e82bda2493ec92db599106150539f3b73661f7ef","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  sudo [apt-get | yum] install $(bindep -b -f bindep-fallback.txt)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":63,"context_line":".. _`master fallback`: http://git.openstack.org/cgit/openstack-infra/project-config/plain/jenkins/data/bindep-fallback.txt"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Running Python Unit Tests"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a1b2928_771dd872","line":63,"updated":"2016-04-11 19:47:26.000000000","message":"The fallback file is temporary, only really intended so that gate tests work, and, considering it has all of the packages needed for all of the projects, isn\u0027t really a great thing for developers to install, so I think we should omit this paragraph.","commit_id":"76113c68b2dcd6904fdf018cd45b3757ef915c60"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"594a7438e8b8b14dc0520fd0c57b82fba92ed367","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  sudo [apt-get | yum] install $(bindep -b -f bindep-fallback.txt)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":63,"context_line":".. _`master fallback`: http://git.openstack.org/cgit/openstack-infra/project-config/plain/jenkins/data/bindep-fallback.txt"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Running Python Unit Tests"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"1a122d0e_d9e1a1d2","line":63,"in_reply_to":"5a18252c_2dae8185","updated":"2016-04-15 15:58:50.000000000","message":"As agreed on IRC, this is not an approach we should advice people to do. Let\u0027s say them they should look at the project\u0027s specific docs to know what needs to be installed instead.","commit_id":"76113c68b2dcd6904fdf018cd45b3757ef915c60"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"38a2086754de0c3180da62e8e4da8396b58ec66f","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  sudo [apt-get | yum] install $(bindep -b -f bindep-fallback.txt)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":63,"context_line":".. _`master fallback`: http://git.openstack.org/cgit/openstack-infra/project-config/plain/jenkins/data/bindep-fallback.txt"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Running Python Unit Tests"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":8,"id":"5a18252c_2dae8185","line":63,"in_reply_to":"7a1b2928_771dd872","updated":"2016-04-12 14:17:29.000000000","message":"Maybe we may remove it once all projects support other-requirements.txt?\n\nEither this or this change would need to wait until all projects support it. It doesn\u0027t sound correct to advise something that won\u0027t work","commit_id":"76113c68b2dcd6904fdf018cd45b3757ef915c60"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"3fa73bb5b8e626dea70a1424141501a2d889aaca","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"This section assumes you have all system dependencies needed by the project"},{"line_number":76,"context_line":"installed. It covers how to run the style check and unit tests. Both are run"},{"line_number":77,"context_line":"through `Tox`_, then you need to install it::"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"  pip install tox"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"9a061dce_42c31f57","line":77,"updated":"2016-04-07 12:54:12.000000000","message":"tox?","commit_id":"76113c68b2dcd6904fdf018cd45b3757ef915c60"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"3069c25de1d4fe702366bb80c4196dcac3f56b49","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"It is recommended that you use `virtualenv`_ to create an isolated Python"},{"line_number":17,"context_line":"environment, with no reliance on system packages other than truely global"},{"line_number":18,"context_line":"things like Python itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"`virtualenv`_  bundles three other important Python tools – pip, wheel and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_e8b1dbe2","line":17,"range":{"start_line":17,"start_character":60,"end_line":17,"end_character":66},"updated":"2016-04-18 19:48:08.000000000","message":"truly","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"4764aa231ec155c020077b59df49fbb1476575a4","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"It is recommended that you use `virtualenv`_ to create an isolated Python"},{"line_number":17,"context_line":"environment, with no reliance on system packages other than truely global"},{"line_number":18,"context_line":"things like Python itself."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"`virtualenv`_  bundles three other important Python tools – pip, wheel and"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_3c1aec6e","line":17,"range":{"start_line":17,"start_character":60,"end_line":17,"end_character":66},"in_reply_to":"1a122d0e_e8b1dbe2","updated":"2016-04-19 00:20:59.000000000","message":"Done","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"3069c25de1d4fe702366bb80c4196dcac3f56b49","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"If there is no such file, in order to learn what system dependencies need to be"},{"line_number":57,"context_line":"installed, you should look at the documentation of the specific project you are"},{"line_number":58,"context_line":"interested."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_28d3d305","line":58,"range":{"start_line":58,"start_character":0,"end_line":58,"end_character":11},"updated":"2016-04-18 19:48:08.000000000","message":"interested in","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"4764aa231ec155c020077b59df49fbb1476575a4","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"If there is no such file, in order to learn what system dependencies need to be"},{"line_number":57,"context_line":"installed, you should look at the documentation of the specific project you are"},{"line_number":58,"context_line":"interested."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":".. _`bindep`: https://git.openstack.org/cgit/openstack-infra/bindep"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_9c27c0b5","line":58,"range":{"start_line":58,"start_character":0,"end_line":58,"end_character":11},"in_reply_to":"1a122d0e_28d3d305","updated":"2016-04-19 00:20:59.000000000","message":"Done","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"3069c25de1d4fe702366bb80c4196dcac3f56b49","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"This section assumes you have all system dependencies needed by the project"},{"line_number":73,"context_line":"installed. It covers how to run the style check and unit tests. Both are run"},{"line_number":74,"context_line":"through `tox`_, then you need to install it::"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  pip install tox"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_48d8cf1d","line":74,"range":{"start_line":74,"start_character":16,"end_line":74,"end_character":20},"updated":"2016-04-18 19:48:08.000000000","message":"so","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"},{"author":{"_account_id":17860,"name":"Samuel de Medeiros Queiroz","email":"samueldmq@gmail.com","username":"samueldmq"},"change_message_id":"4764aa231ec155c020077b59df49fbb1476575a4","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"This section assumes you have all system dependencies needed by the project"},{"line_number":73,"context_line":"installed. It covers how to run the style check and unit tests. Both are run"},{"line_number":74,"context_line":"through `tox`_, then you need to install it::"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  pip install tox"},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a122d0e_7c2aa47f","line":74,"range":{"start_line":74,"start_character":16,"end_line":74,"end_character":20},"in_reply_to":"1a122d0e_48d8cf1d","updated":"2016-04-19 00:20:59.000000000","message":"Done","commit_id":"d57a4ae295bb5225bc537da22da54475915bd6ec"}]}
