Skip to content

Commit

Permalink
libxml2: use explicitly versioned Python in test (#107663)
Browse files Browse the repository at this point in the history
Needed for #107517.
  • Loading branch information
carlocab authored Aug 10, 2022
1 parent 62a1cae commit 34e1c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/libxml2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def install
orig_pypath = ENV["PYTHONPATH"]
["3.9", "3.10"].each do |xy|
ENV.prepend_path "PYTHONPATH", lib/"python#{xy}/site-packages"
system Formula["python@#{xy}"].opt_bin/"python3", "-c", "import libxml2"
system Formula["python@#{xy}"].opt_bin/"python#{xy}", "-c", "import libxml2"
ENV["PYTHONPATH"] = orig_pypath
end
end
Expand Down

0 comments on commit 34e1c31

Please sign in to comment.