Browse Source

Merge "Update contributors document keystone"

changes/67/721267/1
Zuul 1 year ago
committed by Gerrit Code Review
parent
commit
cb39c7245b
2 changed files with 14 additions and 4 deletions
  1. +6
    -2
      doc/source/contributor/set-up-keystone.rst
  2. +8
    -2
      doc/source/contributor/testing-keystone.rst

+ 6
- 2
doc/source/contributor/set-up-keystone.rst 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.


+ 8
- 2
doc/source/contributor/testing-keystone.rst 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
~~~~~~~~~~~~~~~~~~~~~


Loading…
Cancel
Save