From 60c01f2c9a106a3a08262c98adcd4573f2b9aa88 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 22 Jan 2024 14:59:35 +0900 Subject: [PATCH] Replace deprecated perl-style regex Zuul deprecated usage of perl-style regex. ``` All regular expressions must conform to RE2 syntax, but an expression using the deprecated Perl-style syntax has been detected. Adjust the configuration to conform to RE2 syntax. ``` Change-Id: I0dd4596cb0138e44122486e699b8f64714e8418a --- .zuul.yaml | 4 +++- test-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 191c9c753..5aac7839e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -6,7 +6,9 @@ Run unit tests with main branch of SQLAlchemy, alembic and oslo.db. Takes advantage of the base tox job's install-siblings feature. # The job only tests the latest and shouldn't be run on the stable branches - branches: ^(?!stable) + branches: + regex: ^stable/.*$ + negate: true required-projects: - name: github.com/sqlalchemy/sqlalchemy override-checkout: main diff --git a/test-requirements.txt b/test-requirements.txt index 5a4405193..9d337d83e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -24,7 +24,7 @@ psycopg2>=2.8.0 # LGPL/ZPL # test pydotplus>=2.0.2 # MIT License -hacking<2.1,>=2.0 +hacking<6.2.0,>=6.1.0 oslotest>=3.2.0 # Apache-2.0 testtools>=2.2.0 # MIT testscenarios>=0.4 # Apache-2.0/BSD