Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Set up Python 3.10
- name: Set up Python 3.14
uses: actions/setup-python@v7
with:
python-version: "3.10"
python-version: "3.14"
cache: "pip"
cache-dependency-path: ".pre-commit-config.yaml"

Expand All @@ -73,10 +73,10 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Set up Python 3.10
- name: Set up Python 3.14
uses: actions/setup-python@v7
with:
python-version: "3.10"
python-version: "3.14"
cache: "pip"
cache-dependency-path: "requirements*.txt"

Expand Down Expand Up @@ -183,10 +183,10 @@ jobs:
with:
path: lab-validation

- name: Set up Python 3.10
- name: Set up Python 3.14
uses: actions/setup-python@v7
with:
python-version: "3.10"
python-version: "3.14"
cache: "pip"
cache-dependency-path: "requirements*.txt"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-lab-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ jobs:
repository: batfish/lab-validation
path: lab-validation

- name: Set up Python 3.10
- name: Set up Python 3.14
uses: actions/setup-python@v7
with:
python-version: "3.10"
python-version: "3.14"
cache: "pip"
cache-dependency-path: "requirements*.txt"

Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ GitHub Actions runs matrix strategy testing all labs in parallel, with Batfish J

## Coding Conventions

- **Python 3.10+** required (supports 3.10, 3.11, 3.12)
- **Python 3.14+** required
- **Pre-commit hooks** required for consistent code quality
- **Parser error handling**: parsers should crash (assert, KeyError) on
unexpected data shapes rather than silently degrading with `.get()`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This framework implements comprehensive multi-level benchmarking to validate Bat

### Requirements

- Python 3.10+
- Python 3.14+
- Pybatfish
- Batfish server running locally (see [development setup instructions](https://github.com/batfish/batfish/tree/master/docs/development))

Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.10
python_version = 3.14
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "lab-validation"
description = "Lab validation framework for Batfish network analysis"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.14"
license = {file = "LICENSE"}
authors = [
{name = "Batfish Team"},
Expand All @@ -17,9 +17,7 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.14",
"Topic :: System :: Networking",
]
dependencies = [
Expand Down Expand Up @@ -67,7 +65,7 @@ where = ["src"]

[tool.black]
line-length = 88
target-version = ['py310']
target-version = ['py314']
include = '\.pyi?$'
extend-exclude = '''
/(
Expand All @@ -84,7 +82,7 @@ extend-exclude = '''
'''

[tool.mypy]
python_version = "3.10"
python_version = "3.14"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
Expand Down Expand Up @@ -134,7 +132,7 @@ exclude_lines = [
line-length = 88

# Python version compatibility
target-version = "py310"
target-version = "py314"

[tool.ruff.lint]
# Enable rules that replace the tools we're removing:
Expand Down
Loading