Skip to content

TTYG-200 Fix tests: pyproject.toml tool.pytess.ini_options#75

Closed
pgan002 wants to merge 3 commits into
mainfrom
TTYG-200-3
Closed

TTYG-200 Fix tests: pyproject.toml tool.pytess.ini_options#75
pgan002 wants to merge 3 commits into
mainfrom
TTYG-200-3

Conversation

@pgan002

@pgan002 pgan002 commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Fix imports in Github CI, which caused tests-with-llm/* to start failing there (although they pass locally).

The fix is to modify pyproject.toml, adding a [tool.pytest.ini_options] stanza that sets pythonpath = ["."].

This is needed due to a change in how PYTONPATH is treated, either because of a change in project configuration or the pytest version.

This is an alternative to PR #64 .

@pgan002 pgan002 requested a review from nelly-hateva May 7, 2026 15:05
@pgan002 pgan002 changed the title Fix tests: pyproject.toml tool.pytess.ini_options TTYG-200 Fix tests: pyproject.toml tool.pytess.ini_options May 11, 2026
@nelly-hateva

Copy link
Copy Markdown
Collaborator

The tests pass on GitHub as well. Example https://github.com/Ontotext-AD/graphrag-eval/actions/runs/26634186922. Can we close this PR?

@pgan002 pgan002 closed this Jun 1, 2026
@pgan002

pgan002 commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator Author

Tests seem to pass without this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants