diff --git a/pyproject.toml b/pyproject.toml index d62287556..5d3246708 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ required-version = ">=0.7.0" [project] name = "llama_stack" -version = "0.2.23" +version = "0.2.24rc1" authors = [{ name = "Meta Llama", email = "llama-oss@meta.com" }] description = "Llama Stack" readme = "README.md" diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 4735264c3..a6266ea8c 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -244,7 +244,7 @@ def pytest_generate_tests(metafunc): pytest_plugins = ["tests.integration.fixtures.common"] -def pytest_ignore_collect(path: str, config: pytest.Config) -> bool: +def pytest_ignore_collect(collection_path: Path, config: pytest.Config) -> bool: """Skip collecting paths outside the selected suite roots for speed.""" suite = config.getoption("--suite") if not suite: @@ -255,7 +255,7 @@ def pytest_ignore_collect(path: str, config: pytest.Config) -> bool: if not roots: return False - p = Path(str(path)).resolve() + p = collection_path.resolve() # Only constrain within tests/integration to avoid ignoring unrelated tests integration_root = (Path(str(config.rootpath)) / "tests" / "integration").resolve()