From: Anil Belur Date: Tue, 30 Mar 2021 04:13:59 +0000 (+1000) Subject: Remove all refs to python2 X-Git-Tag: v0.63.0~1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=be5967e9662e443f47bb8a2522cfe907a8aa5669;p=releng%2Fglobal-jjb.git Remove all refs to python2 Python 2.7 is EOL and no longer supported. Some of the lf-macros and docs still refer to py2 which could mislead users. Change-Id: I9f39948cec30fb573f25ee7ecb3bed8bf3600ab9 Signed-off-by: Anil Belur --- diff --git a/docs/jjb/lf-python-jobs.rst b/docs/jjb/lf-python-jobs.rst index 3a362546..0f02b428 100644 --- a/docs/jjb/lf-python-jobs.rst +++ b/docs/jjb/lf-python-jobs.rst @@ -153,11 +153,11 @@ For example: .. code-block:: bash - [testenv:py27] + [testenv:py3] commands = coverage run --module pytest --junitxml xunit-results.xml - coverage xml --omit=".tox/py27/*","tests/*" - coverage report --omit=".tox/py27/*","tests/*" + coverage xml --omit=".tox/py3/*","tests/*" + coverage report --omit=".tox/py3/*","tests/*" For more details refer to coverage and sonar documentation: diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index f5021d26..ab46c35b 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -582,7 +582,7 @@ default: "{tox-envs}" description: | Tox environments to run build against. - Example: docs,py2,py3 + Example: docs,py3 - parameter: name: lf-build-with-parameters-maven-release