This is an automated email from the ASF dual-hosted git repository.

deacon-mp pushed a commit to branch deps-bump-5.4.0
in repository https://gitbox.apache.org/repos/asf/caldera.git

commit cb087469c403e4c76ab4beb9462e776fa708871a
Author: Mark Perry <[email protected]>
AuthorDate: Tue Nov 17 14:36:22 2026 -0500

    Align the runtime Python check and document the dev pins
    
    - conf/default.yml: the startup requirement check now expects Python
      3.11.0, matching the supported versions.
    - tox.ini / requirements-dev.txt: note that the pytest-asyncio pin is kept
      in both places and why; add a review date to the pip-audit exception.
    - tox.ini: keep pytest's temporary files under each tox env's own
      directory (--basetemp) instead of the shared /tmp location.
---
 conf/default.yml     |  2 +-
 requirements-dev.txt |  1 +
 tox.ini              | 13 ++++++++-----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/conf/default.yml b/conf/default.yml
index ef0075d9..654c7118 100644
--- a/conf/default.yml
+++ b/conf/default.yml
@@ -56,7 +56,7 @@ requirements:
     attr: version
     module: sys
     type: python_module
-    version: 3.9.0
+    version: 3.11.0
 users:
   blue:
     blue: admin
diff --git a/requirements-dev.txt b/requirements-dev.txt
index b9f77609..4e65d8ea 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,6 +1,7 @@
 tox
 pytest
 pytest-aiohttp==1.0.3
+# 0.26.x while tests/conftest.py uses the event_loop fixture; keep in sync 
with tox.ini
 pytest-asyncio==0.26.0
 coverage
 pre-commit
diff --git a/tox.ini b/tox.ini
index ca3ffcfa..293248b3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,13 +20,14 @@ deps =
     virtualenv!=20.0.22
     pre-commit
     pytest
+    # keep pytest-asyncio in sync with requirements-dev.txt (see the safety 
env below)
     pytest-asyncio==0.26.0
     pytest-aiohttp
     coverage
 allowlist_externals = mkdir
 commands =
     mkdir -p plugins/magma/dist/assets
-    coverage run -p -m pytest --tb=short --asyncio-mode=auto tests -vv
+    coverage run -p -m pytest --tb=short --asyncio-mode=auto 
--basetemp={envtmpdir}/pytest tests -vv
 
 [testenv:style]
 deps = pre-commit
@@ -63,8 +64,8 @@ commands =
 # Dependabot, GitGuardian, and SonarCloud already cover supply chain.
 #
 # Legacy pyup ignores (39642 reportlab, 39659 aiohttp) are obsolete
-# now that aiohttp>=3.13 and reportlab>=4.0 are pinned. Add
-# `--ignore-vuln GHSA-...` here if a real exemption is needed later.
+# now that aiohttp>=3.13 and reportlab>=4.0 are pinned. Any exemption is
+# listed next to its command below, with a reason and a review date.
 deps =
     pip-audit
 skip_install = true
@@ -73,8 +74,10 @@ commands =
     # GHSA-6w46-j5rx-g56g (pytest tmpdir handling, fixed in pytest 9.0.3):
     # pytest is a test-only tool and is not part of the release. The suite
     # still uses the event_loop fixture, so pytest-asyncio stays at 0.26.x,
-    # which requires pytest<9. Remove this ignore once the tests move to
-    # pytest-asyncio 1.x.
+    # which requires pytest<9 (pinned in [testenv] above and in
+    # requirements-dev.txt). The test envs keep pytest's temp files under
+    # {envtmpdir} (--basetemp), not the shared /tmp directory. Remove this
+    # ignore once the tests move to pytest-asyncio 1.x; review by 2027-03-31.
     pip-audit -r requirements-dev.txt --ignore-vuln GHSA-6w46-j5rx-g56g
 
 [testenv:bandit]

Reply via email to