Merge "Update contributors document keystone"

This commit is contained in:
Zuul 2020-04-18 03:38:56 +00:00 committed by Gerrit Code Review
commit cb39c7245b
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
~~~~~~~~~~~~~~~~~~~~~