mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-03 10:33:13 +02:00
Fix Python version requirement consistency
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 <noreply@anthropic.com>
This commit is contained in:
parent
048a2794ec
commit
4b00b8ae5d
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue