From cc69bad9f9df8778cae5b06921e31c6cf1ef5082 Mon Sep 17 00:00:00 2001 From: Irv Lustig Date: Thu, 28 Aug 2025 22:17:22 -0400 Subject: [PATCH] with conda, use sys.executable to find python with ty --- scripts/test/run.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/test/run.py b/scripts/test/run.py index 359fac5b1..7a93ae435 100644 --- a/scripts/test/run.py +++ b/scripts/test/run.py @@ -154,7 +154,13 @@ def released_mypy(): def ty(): - cmd = ["ty", "check", "pandas-stubs"] + cmd = [ + "ty", + "check", + "pandas-stubs", + "--python", + sys.executable, + ] subprocess.run(cmd, check=True)