We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034b6aa commit 3218757Copy full SHA for 3218757
PyPreferences.jl/src/which.jl
@@ -1,3 +1,7 @@
1
+# This file vendors the utility `Sys.which` for Julia versions prior to 1.7,
2
+# as in 1.6 it called `realpath` and therefore breaks virtual environment
3
+# detection. (Without this, all `test/test_venv.jl` would fail).
4
+
5
@static if VERSION >= v"1.7.0"
6
const _which = Sys.which
7
else
0 commit comments