-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
monkeypatching PYTHONPATH breaks real PYTHONPATH #4913
Copy link
Copy link
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributorplatform: linuxlinux platform-specific problemlinux platform-specific problemtype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Milestone
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributorplatform: linuxlinux platform-specific problemlinux platform-specific problemtype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Type
Fields
Give feedbackNo fields configured for issues without a type.
In Fedora, we invoke tests with custom PATH and PYTHONPATH set:
The monkeypatching in
pytest/testing/test_collection.py
Line 1111 in 51bf7c3
breaks that:
I think the fix is to read PYTHONPATH and only prepend the patched value.
Will try to see if it helps.