Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import os
import os.path
import sys
import sysconfig
Expand All @@ -32,6 +33,10 @@
from ducktools.pythonfinder import details_script
from ducktools.pythonfinder.shared import DetailFinder

# Prevent UV from registering the python installs added during testing
# Prevent UV from discovering python installs that it shouldn't care about
os.environ["UV_PYTHON_NO_REGISTRY"] = "TRUE"
os.environ["UV_PYTHON_SEARCH_PATH"] = "/dev/null"

@pytest.fixture(scope="session")
def sources_folder():
Expand Down
Loading