qemu/scripts/ci
Paolo Bonzini c03f57fd5b Revert "tests: Use separate virtual environment for avocado"
This reverts commit e8e4298fea.

ensuregroup allows to specify both the acceptable versions of avocado,
and a locked version to be used when avocado is not installed as a system
pacakge.  This lets us install avocado in pyvenv/ using "mkvenv.py" and
reuse the distro package on Fedora and CentOS Stream (the only distros
where it's available).

ensuregroup's usage of "(>=..., <=...)" constraints when evaluating
the distro package, and "==" constraints when installing it from PyPI,
makes it possible to avoid conflicts between the known-good version and
a package plugins included in the distro.

This is because package plugins have "==" constraints on the version
that is included in the distro, and, using "pip install avocado==88.1"
on a venv that includes system packages will result in an error:

   avocado-framework-plugin-varianter-yaml-to-mux 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
   avocado-framework-plugin-result-html 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.

But at the same time, if the venv does not include a system distribution
of avocado then we can install a known-good version and stick to LTS
releases.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1663
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-08-28 09:55:48 +02:00
..
gitlab-kubernetes-runners Add Kubernetes runner configuration 2023-05-24 12:26:40 -07:00
org.centos/stream Revert "tests: Use separate virtual environment for avocado" 2023-08-28 09:55:48 +02:00
setup scripts/ci: clean-up the 20.04/22.04 confusion in ansible 2023-05-10 16:01:00 +01:00
coverage-summary.sh travis.yml: Move gprof/gcov test across to gitlab 2021-02-15 09:38:19 +00:00
gitlab-pipeline-status scripts/ci/gitlab-pipeline-status: give more info when pipeline not found 2021-03-09 06:03:53 +01:00