From 3fdc9b12c07756683aa38cbe82c907c52a02e4f7 Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Tue, 12 Mar 2024 09:51:46 -0400 Subject: [PATCH] chore: pin pytest~=8.0.0 until fixed --- .github/workflows/integration_tests.yml | 2 +- pytest.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 7cbcb11f7..6ea0db142 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -144,6 +144,6 @@ jobs: - name: Run Tests run: | . dmod_venv/bin/activate - python3 -m pip install pytest + python3 -m pip install pytest~=8.0.0 python3 -m pytest -o python_files="it_*.py" -o env_vars='IT_REDIS_CONTAINER_PASS="DPXzqRqjhsXokOVQcPUqOJuzKePMsfUc" IT_REDIS_CONTAINER_HOST_PORT=19639 MODEL_EXEC_ACCESS_KEY=dmod MODEL_EXEC_SECRET_KEY=password' diff --git a/pytest.ini b/pytest.ini index a5f561268..326fff1b6 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,7 +1,8 @@ [pytest] addopts = --import-mode=importlib -consider_namespace_packages = true +; TODO: uncomment once https://github.com/pytest-dev/pytest/pull/12074 is resolved +; consider_namespace_packages = true ; environment variables that will be added before tests are run ; key=value pairs with no spaces ; env_vars =