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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest ruff
pip install pytest ruff "tomli>=2.0.0; python_version < '3.11'"

- name: Check bash script syntax
if: runner.os != 'Windows'
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Notice = "https://github.com/ellmos-ai/agent-ops-stack/blob/main/NOTICE"
test = [
"pytest>=7.0.0",
"ruff>=0.1.0",
"tomli>=2.0.0; python_version < '3.11'",
]

[tool.pytest.ini_options]
Expand Down
6 changes: 5 additions & 1 deletion tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

import json
import re
import tomllib
from pathlib import Path

try:
import tomllib
except ModuleNotFoundError:
import tomli as tomllib

REPO_ROOT = Path(__file__).resolve().parent.parent


Expand Down
Loading