governance/reference/runtimes/yoga.rst
Ghanshyam Mann 75d6efaddc Updating the Yoga testing runtime
After the discussion on ML [1], it is not recommended
or best way to drop the py3.6 in Yoga, and keeping it
will help in migration from old (having py3.6) to new
distro (moving to higher python version) versions. For
example, Ubuntu 18.04, CentOS Stream 8 still have 3.6.
CentOS Stream 8 and CentOS Stream 9 both will support
Yoga so we need py3.6 to be tested for a smooth migration.

Considering all these factor to provide a smooth
migration to new python version, TC discussed it in today's
meeting [2] and agreed to keep Python 3.6 testing in Yoga.

We will add CentOS Stream 8 and 9 both with python 3.6 as lowest
and python 3.9 as highest version to run unit tests.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-November/025988.html
[2] https://meetings.opendev.org/meetings/tc/2021/tc.2021-12-02-15.02.log.html#l-33

Change-Id: I2d242ac161b19b7615c667f0f7b56826dd1029d8
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2021-12-04 13:57:35 +00:00

1.9 KiB

Tested Runtimes for Yoga

At the start of the Yoga development cycle, the current LTS or stable distribution <pti-linux-distros> versions are:

  • Ubuntu 20.04
  • CentOS Stream 8
  • CentOS Stream 9
  • Debian 11

Python Runtimes for Yoga

It is the policy <../../resolutions/20181024-python-update-process> that each OpenStack release cycle will target the latest available version of Python; default Python runtimes on the distributions listed above; and versions used in integration tests at the start of the cycle, at least until the point when all projects have migrated to a later version.

Based on the criteria above, all Python-based projects must target and test against, at a minimum:

  • Python 3.6 (available as default in CentOS Stream 8)
  • Python 3.9 (available as default in Debian 11 and CentOS Stream 9)

Other than the above Python versions, Ubuntu 20.04 has Python 3.8 as default which we are not suggesting to run unit tests. We assume that anything that works on Python 3.6 and 3.9 will also work on 3.8. Do note, however, Ubuntu is our primary target and thus the majority of tempest jobs run with it and its Python 3.8 anyway.

More details on Python requirements can be found in pti-python.

Node.js Runtime for Yoga

Based on the available versions of Node.js supported in our LTS or stable distributions <pti-linux-distros> all JavaScript testing should target:

  • Node.js 14

More details on Javascript requirements can be found in pti-javascript.

Golang Runtime for Yoga

At this time, there are still frequent releases of Go with a wide variety of distribution packaged versions. Given the current state of Go support and the number of projects within OpenStack using Go, no formal version declaration is being made at this time.

More details on Go requirements can be found in pti-golang.