From be5967e9662e443f47bb8a2522cfe907a8aa5669 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Tue, 30 Mar 2021 14:13:59 +1000 Subject: [PATCH] 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 --- docs/jjb/lf-python-jobs.rst | 6 +++--- jjb/lf-macros.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.16.6