Update contributors document keystone

Python2.7 support is removed from Ussuri Cycle. Thus
updating the rst files regarding the same.

Change-Id: I5a75eac3926ac01565019afbb223df8bf599a69f
This commit is contained in:
Vishakha Agarwal 2020-04-07 20:40:10 +05:30
parent 389d8f5a4e
commit 39d66ac78c
2 changed files with 14 additions and 4 deletions

View File

@ -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.

View File

@ -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
~~~~~~~~~~~~~~~~~~~~~