diff options
author | Vishakha Agarwal <agarwalvishakha18@gmail.com> | 2020-04-07 20:40:10 +0530 |
---|---|---|
committer | Vishakha Agarwal <agarwalvishakha18@gmail.com> | 2020-04-08 20:19:07 +0530 |
commit | 39d66ac78c8d016cc72f573efa731b2229d6a132 (patch) | |
tree | 166a8b483bc923be29da2ee40a4068671c7f3d86 | |
parent | 389d8f5a4edbbe05e69740c00c50ff3fbaf36d51 (diff) | |
download | keystone-39d66ac78c8d016cc72f573efa731b2229d6a132.tar.gz |
Update contributors document keystone
Python2.7 support is removed from Ussuri Cycle. Thus
updating the rst files regarding the same.
Change-Id: I5a75eac3926ac01565019afbb223df8bf599a69f
-rw-r--r-- | doc/source/contributor/set-up-keystone.rst | 8 | ||||
-rw-r--r-- | doc/source/contributor/testing-keystone.rst | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/source/contributor/set-up-keystone.rst b/doc/source/contributor/set-up-keystone.rst index 2f2d4e41f..eafc563ad 100644 --- a/doc/source/contributor/set-up-keystone.rst +++ b/doc/source/contributor/set-up-keystone.rst @@ -26,9 +26,13 @@ Prerequisites This document assumes you are using an Ubuntu, Fedora, or openSUSE platform and that you have the following tools pre-installed on your system: -- python_ 2.7 and 3.5, as the programming language; +- python_ 3.6, as the programming language; - git_, as the version control tool; +.. NOTE:: + + Keystone dropped the support of python_ 2.7 in the Ussuri release of Openstack. + **Reminder**: If you are successfully using a different platform, or a different version of the above, please document your configuration here! @@ -136,7 +140,7 @@ Once set up, you should be able to invoke Python and import the libraries: .. code-block:: bash - $ .tox/py27/bin/python -c "import keystone" + $ .tox/py36/bin/python -c "import keystone" If you can import keystone without a traceback, you should be ready to move on to the next sections. diff --git a/doc/source/contributor/testing-keystone.rst b/doc/source/contributor/testing-keystone.rst index 709d56ff8..4f4bbd226 100644 --- a/doc/source/contributor/testing-keystone.rst +++ b/doc/source/contributor/testing-keystone.rst @@ -52,16 +52,22 @@ other projects. your virtualenv in a similar manner. To run tests for one or more specific test environments (for example, the most -common configuration of Python 2.7 and PEP-8), list the environments with the +common configuration of Python 3.6 and PEP-8), list the environments with the ``-e`` option, separated by spaces: .. code-block:: bash - $ tox -e py27,pep8 + $ tox -e py36,pep8 + +.. NOTE:: + + Keystone dropped the support of python_ 2.7 in the Ussuri release of Openstack. Use ``tox --listenvs`` to list all testing environments specified in keystone's ``tox.ini`` file. +.. _python: http://www.python.org + Interactive debugging ~~~~~~~~~~~~~~~~~~~~~ |