From: Lott, Christopher (cl778h) Date: Tue, 5 Nov 2019 14:42:33 +0000 (-0500) Subject: Document need for quotes around python version X-Git-Tag: v0.48.0~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=e313cb04f2c7255dcc5429c16afd391d62db1ff7;p=releng%2Fglobal-jjb.git 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) --- 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.