Skip to content
Merged
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
4 changes: 3 additions & 1 deletion tests/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from __future__ import annotations

import json
import re
import sys
import zipfile
from pathlib import Path
Expand Down Expand Up @@ -133,7 +134,8 @@ def test_repository_root_is_not_a_python_project_for_hermes() -> None:
assert not (REPOSITORY_ROOT / "pyproject.toml").exists()
assert not (REPOSITORY_ROOT / "uv.lock").exists()
tooling = (REPOSITORY_ROOT / "tooling" / "pyproject.toml").read_text(encoding="utf-8")
assert "ruff==0.9.10" in tooling and "pytest==9.0.3" in tooling
# Pinned, but not to a given version: Dependabot bumps these pins.
assert re.search(r'"ruff==[0-9][^"]*"', tooling) and re.search(r'"pytest==[0-9][^"]*"', tooling)
assert "dependencies = []" in tooling
assert (REPOSITORY_ROOT / "tooling" / "uv.lock").exists()
assert (REPOSITORY_ROOT / "ruff.toml").exists() and (REPOSITORY_ROOT / "pytest.ini").exists()
Expand Down
Loading