diff --git a/.github/workflows/run-crt-test.yml b/.github/workflows/run-crt-test.yml index 8d31b8e4a9..93b600cadf 100644 --- a/.github/workflows/run-crt-test.yml +++ b/.github/workflows/run-crt-test.yml @@ -34,6 +34,7 @@ jobs: python-version: '${{ matrix.python-version }}' cache: 'pip' allow-prereleases: true + check-latest: true - name: Install dependencies and CRT run: | python scripts/ci/install --extras crt diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f69ca6a4ba..74d62adc79 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -34,6 +34,7 @@ jobs: python-version: '${{ matrix.python-version }}' cache: 'pip' allow-prereleases: true + check-latest: true - name: Install dependencies run: | python scripts/ci/install diff --git a/tests/functional/leak/test_resource_leaks.py b/tests/functional/leak/test_resource_leaks.py index caee3aca93..b6ead73064 100644 --- a/tests/functional/leak/test_resource_leaks.py +++ b/tests/functional/leak/test_resource_leaks.py @@ -29,9 +29,9 @@ class TestDoesNotLeakMemory(BaseClientDriverTest): if sysconfig.get_config_var("Py_GIL_DISABLED") == 1: # Free-threaded Python objects require additional # memory for per-object locks and synchronization. - SCALING_FACTOR = 16 + SCALING_FACTOR = 17 else: - SCALING_FACTOR = 13 + SCALING_FACTOR = 4 MAX_GROWTH_BYTES = SCALING_FACTOR * 1024 * 1024 def test_create_single_client_memory_constant(self):