Remove all refs to python2 63/67263/1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 30 Mar 2021 04:13:59 +0000 (14:13 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 30 Mar 2021 04:13:59 +0000 (14:13 +1000)
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 <abelur@linuxfoundation.org>
docs/jjb/lf-python-jobs.rst
jjb/lf-macros.yaml

index 3a36254..0f02b42 100644 (file)
@@ -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:
 
index f5021d2..ab46c35 100644 (file)
           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