From 3be90abfb06294aec81fad676fb1ab3d8b409953 Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Tue, 3 Dec 2024 14:40:51 -0300 Subject: [PATCH] Zuul: Move jobs to debian-bullseye node importlib_metadata, a dependency for building python pkgs, received changes where some of its API is deprecated [1], causing the error: AttributeError: 'EntryPoints' object has no attribute 'get' A possible fix is to clip the version to below 5.0, but the debian-bullseye Zuul node already provides a compatible version, with the added advantage of being the base OS used for STX, increasing reliability for the tests. Refs: [1] https://importlib-metadata.readthedocs.io/en/latest/history.html#v5-0-0 Test Plan: pass - Run tox tests in a debian container Partial-Bug: 2090865 Change-Id: I2e635c33c28bfde1b3fcd9236aa14ca36383941a Signed-off-by: Leonardo Fagundes Luz Serrano --- .zuul.yaml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index b974c8cd..53d7a4c9 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -6,23 +6,36 @@ - stx-bandit-jobs check: jobs: - - openstack-tox-pep8 - - openstack-tox-linters - - stx-gui-pylint + - gui-tox-linters + - gui-tox-pep8 + - gui-tox-pylint gate: jobs: - - openstack-tox-pep8 - - openstack-tox-linters - - stx-gui-pylint + - gui-tox-linters + - gui-tox-pep8 + - gui-tox-pylint post: jobs: - stx-gui-upload-git-mirror +- job: + name: gui-tox-linters + parent: openstack-tox-linters + description: | + Run linters + nodeset: debian-bullseye - job: - name: stx-gui-pylint + name: gui-tox-pep8 + parent: openstack-tox-pep8 + description: | + Check conformance with pep8 + nodeset: debian-bullseye + +- job: + name: gui-tox-pylint parent: openstack-tox-pylint - description: Run pylint for stx-gui + description: Run pylint for gui repo nodeset: debian-bullseye vars: tox_envlist: pylint