Skip to content

Commit 3218757

Browse files
committed
docs
1 parent 034b6aa commit 3218757

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PyPreferences.jl/src/which.jl

+4
Original file line numberDiff line numberDiff line change
@@ -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+
15
@static if VERSION >= v"1.7.0"
26
const _which = Sys.which
37
else

0 commit comments

Comments
 (0)