Skip to content

tests: prepend to PYTHONPATH, don't overwrite it - #22543

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
mr-c:tests_append_PYTHONPATH
Nov 23, 2026
Merged

ilevkivskyi merged 1 commit into
python:masterfrom
mr-c:tests_append_PYTHONPATH

Conversation

@mr-c

@mr-c mr-c commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Without this, on systems that rely on PYTHONPATH manipulation like
EasyBuild / environment modules, then test can fail to find librt:

ModuleNotFoundError: No module named 'librt'

See easybuilders/easybuild-easyconfigs#27501 (comment)

Without this, on systems that rely on PYTHONPATH manipulation like
EasyBuild / environment modules, then test can fail to find librt:

> ModuleNotFoundError: No module named 'librt'

See easybuilders/easybuild-easyconfigs#27501 (comment)
@ilevkivskyi
ilevkivskyi merged commit d3eb16b into python:master Nov 23, 2026
19 checks passed
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