From 4fd15dfe240cc0ae77cd5ace3b5774d0462c93ba Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Thu, 29 Sep 2022 09:18:43 +0200 Subject: [PATCH] Remove queue declaration and fix lower-constraint job This commit combines 2 changes: * Remove lingering queue declaration from .zuul.yaml file * Set upper constraint for cryptography Lower constraint job fails due to missing flag "X509_V_FLAG_CB_ISSUER_CHECK" while running unit test cases ``` AttributeError: module \'lib\' has no attribute \'X509_V_FLAG_CB_ISSUER_CHECK\' ``` This flag was deprecated in cryptography 37.0.0 [1] Since ceilometer doesn't have a constraint for it, the latest package gets installed, which is 38.0.4 as of now. This change sets cryptography to use "36.0.2" which is the last release to have the missing x509 flag. [1] https://github.com/pyca/cryptography/commit/03f96199a59dff30c388142e4fbac1fc3c475041 Change-Id: I9b34ac062d45b2b839dc9d6e0cdce696185890e4 (cherry picked from commit 7e545b0fd9fd4a393d9e2af30f9fc370b20078c0) (cherry picked from commit 142cb0b6e6f6fa85634c5176c84ab15d6511fa89) --- .zuul.yaml | 1 - test-requirements.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 06e199864f..1db3776c5e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -45,7 +45,6 @@ - telemetry-dsvm-integration-ipv6-only: irrelevant-files: *ceilometer-irrelevant-files gate: - queue: telemetry jobs: - grenade-ceilometer - telemetry-dsvm-integration-centos-8s: diff --git a/test-requirements.txt b/test-requirements.txt index adb4c60f72..1a41d9d30d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,3 +16,4 @@ gabbi>=1.30.0 # Apache-2.0 requests-aws>=0.1.4 # BSD License (3 clause) stestr>=2.0.0 # Apache-2.0 testresources>=2.0.1 # Apache-2.0 +cryptography<=36.0.2 # Apache-2.0