From e313cb04f2c7255dcc5429c16afd391d62db1ff7 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Tue, 5 Nov 2019 09:42:33 -0500 Subject: [PATCH] Document need for quotes around python version In the python_version value in the release yaml file, a valid decimal number like 3 or 3.7 must be quoted so the schema validator treats it as string, not number. Change-Id: I6ee1dda1b1d2133b5c9576bad00a344ddd58cea5 Signed-off-by: Lott, Christopher (cl778h) --- docs/jjb/lf-release-jobs.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/jjb/lf-release-jobs.rst b/docs/jjb/lf-release-jobs.rst index 60ec72c1..e124f8cf 100644 --- a/docs/jjb/lf-release-jobs.rst +++ b/docs/jjb/lf-release-jobs.rst @@ -187,7 +187,7 @@ An example of a PyPI release file appears below. --- distribution_type: pypi pypi_project: mypackage - python_version: 3.4 + python_version: '3.4' version: 1.0.0 @@ -207,7 +207,8 @@ packages. :pypi_project: The PyPI project name at the staging and release repositories, for example "mypackage". :python_version: The Python interpreter version to use for pip - "Requires-Python" compatibility checks, for example "3" or "3.7.0". + "Requires-Python" compatibility checks, for example '3', '3.7' or 3.7.4. + Valid decimal values such as 3 and 3.7 must be quoted. :version: The semantic version string used for the package in the setup.py file. -- 2.16.6