From 4b00b8ae5da4dd9cc1b7ea80d72776b7074d1361 Mon Sep 17 00:00:00 2001 From: Dan Guido Date: Tue, 5 Aug 2025 15:49:52 -0700 Subject: [PATCH] Fix Python version requirement consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update test to require Python 3.11+ to match pyproject.toml requires-python setting. Previously test accepted 3.10+ while pyproject.toml required 3.11+. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- tests/README.md | 2 +- tests/unit/test_basic_sanity.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/README.md b/tests/README.md index 5a98e738..26c905a2 100644 --- a/tests/README.md +++ b/tests/README.md @@ -4,7 +4,7 @@ ### What We Test Now 1. **Basic Sanity** (`test_basic_sanity.py`) - - Python version >= 3.10 + - Python version >= 3.11 - pyproject.toml exists and has dependencies - config.cfg is valid YAML - Ansible playbook syntax diff --git a/tests/unit/test_basic_sanity.py b/tests/unit/test_basic_sanity.py index ea94d941..d3675eb6 100644 --- a/tests/unit/test_basic_sanity.py +++ b/tests/unit/test_basic_sanity.py @@ -10,8 +10,8 @@ import yaml def test_python_version(): - """Ensure we're running on Python 3.10+""" - assert sys.version_info >= (3, 10), f"Python 3.10+ required, got {sys.version}" + """Ensure we're running on Python 3.11+""" + assert sys.version_info >= (3, 11), f"Python 3.11+ required, got {sys.version}" print("✓ Python version check passed")