From e964b18b993535c2f282404c702c443f86493f0a Mon Sep 17 00:00:00 2001 From: junyiwan-gtc Date: Mon, 3 Feb 2020 22:06:04 +0800 Subject: [PATCH] Update ironic inspector document for dropping py2.x Support for python2 was dropped during the Ussuri development cycle. Change-Id: Ibe7514b0fbd7619f24a75cf3f0230f652a6243cf --- CONTRIBUTING.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 1e3e13bea..ba61d20f7 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -41,16 +41,12 @@ Next checkout and create environments:: tox Repeat *tox* command each time you need to run tests. If you don't have Python -interpreter of one of supported versions (currently 2.7 and 3.4), use +interpreter of one of supported versions (currently 3.6 and 3.7), use ``-e`` flag to select only some environments, e.g. :: - tox -e py27 - -.. note:: - Support for Python 3 is highly experimental, stay with Python 2 for the - production environment for now. + tox -e py36 .. note:: This command also runs tests for database migrations. By default the sqlite @@ -75,7 +71,7 @@ should regenerate :ref:`State machine diagram ` with:: Run the service with:: - .tox/py27/bin/ironic-inspector --config-file example.conf + .tox/py36/bin/ironic-inspector --config-file example.conf Of course you may have to modify ``example.conf`` to match your OpenStack environment. See the `install guide <../install#sample-configuration-files>`_