Skip to content

lib-rt tests: discover lib-rt source more flexibly#21034

Merged
p-sawicki merged 1 commit intopython:masterfrom
mr-c:lib-rt-tests-flexfind
Mar 23, 2026
Merged

lib-rt tests: discover lib-rt source more flexibly#21034
p-sawicki merged 1 commit intopython:masterfrom
mr-c:lib-rt-tests-flexfind

Conversation

@mr-c
Copy link
Contributor

@mr-c mr-c commented Mar 17, 2026

When running the tests as part of Debian packaging, the current working directory will not be the root of the unpacked mypy sdist/archive, therefore searching parent directories will fail.

Use the PREFIX variable from mypyc.test.config, which will reflect the value of the MYPY_TEST_PREFIX enviornment variable.

@mr-c mr-c force-pushed the lib-rt-tests-flexfind branch from 7c6d294 to b8f7f4f Compare March 19, 2026 14:32
Copy link
Collaborator

@p-sawicki p-sawicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like there's a merge conflict because i've modified the same file. could you rebase on top of latest master?

@mr-c mr-c force-pushed the lib-rt-tests-flexfind branch from b8f7f4f to 7003afd Compare March 23, 2026 12:15
@mr-c
Copy link
Contributor Author

mr-c commented Mar 23, 2026

Thank you @p-sawicki for the (positive) review! I've rebased this PR and force pushed.

@mr-c mr-c force-pushed the lib-rt-tests-flexfind branch from 7003afd to f74626c Compare March 23, 2026 12:23
@p-sawicki p-sawicki merged commit 0c3ffd4 into python:master Mar 23, 2026
17 checks passed
@mr-c mr-c deleted the lib-rt-tests-flexfind branch March 23, 2026 15:31
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