Skip to content

Commit 1ee3f74

Browse files
authored
Ignore cgi deprecation warning on CI (#17758)
* Added legacy-cgi dev dependency * Added python version conditional * Updated python_version condition to 3.10 * Updated linux_tests python versions * Ignore warning as legacy-cgi is installed with newer webob
1 parent 0e07b09 commit 1ee3f74

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/linux-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
options: --user conan
5050
strategy:
5151
matrix:
52-
python-version: [3.12.3, 3.9.2, 3.8.6, 3.6.15]
52+
python-version: [3.13, 3.9, 3.8, 3.6]
5353
test-type: [unittests, integration, functional]
5454
include:
5555
- test-type: unittests
@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ubuntu-latest
9595
strategy:
9696
matrix:
97-
python-version: [3.12, 3.9]
97+
python-version: [3.13, 3.9]
9898
name: Docker Runner Tests (${{ matrix.python-version }})
9999
steps:
100100
- name: Set up Python ${{ matrix.python-version }}

pytest.ini

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ testpaths = 'test'
44
markers =
55
docker_runner: Mark tests that require Docker to run.
66
artifactory_ready: These tests can be run against a full Artifactory
7+
filterwarnings =
8+
ignore:'cgi' is deprecated:DeprecationWarning

0 commit comments

Comments
 (0)