Skip to content
Discussion options

You must be logged in to vote

At the moment, I've settled on keeping ns/e2e_test as a brick and modifying conftest.py:

if False:
    # dummy import to silence `poly check --strict` warning
    import ns.e2e_test  # noqa: F401

 pytest_plugins = [
     "ns.e2e_test",
 ]

It makes both pytest and poly check happy. No import at runtime -- no undesirable side-effects.

e2e_test_base_project continues to be dependent on ns/e2e_test brick (good).


I've might have been too hasty with the force-include version. uv build . packages ns/e2e_test files but it does not translate into
working uv run python -m ns.e2e_test_base command in
projects/e2e_test_base_project dir in a clean environment (uv tool install-ed version works though).

Replies: 9 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DavidVujic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #400 on November 16, 2025 10:32.