Skip to content

Commit 34fa914

Browse files
committed
fixup! Update Python 3.10 -> 3.11
This just got updated to Homebrew so we need to update it
1 parent 5846910 commit 34fa914

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci-macvim.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ env:
2828
vi_cv_path_ruby: /usr/local/opt/ruby/bin/ruby
2929
vi_cv_dll_name_perl: /System/Library/Perl/5.30/darwin-thread-multi-2level/CORE/libperl.dylib
3030
vi_cv_dll_name_python: /usr/local/Frameworks/Python.framework/Versions/2.7/Python
31-
vi_cv_dll_name_python3: /usr/local/Frameworks/Python.framework/Versions/3.10/Python # Make sure to keep src/MacVim/vimrc synced with the Python version here for the Python DLL detection logic.
32-
vi_cv_dll_name_python3_arm64: /opt/homebrew/Frameworks/Python.framework/Versions/3.10/Python
31+
vi_cv_dll_name_python3: /usr/local/Frameworks/Python.framework/Versions/3.11/Python # Make sure to keep src/MacVim/vimrc synced with the Python version here for the Python DLL detection logic.
32+
vi_cv_dll_name_python3_arm64: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/Python
3333
vi_cv_dll_name_ruby: /usr/local/opt/ruby/lib/libruby.dylib
3434
vi_cv_dll_name_ruby_arm64: /opt/homebrew/opt/ruby/lib/libruby.dylib
3535
vi_cv_dll_name_lua_arm64: /opt/homebrew/lib/liblua.dylib

src/MacVim/vimrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ endif
3232
" or an installation from python.org:
3333
if exists("&pythonthreedll") && exists("&pythonthreehome") &&
3434
\ !filereadable(&pythonthreedll)
35-
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python")
36-
" MacPorts python 3.10
37-
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
38-
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.10/Python")
35+
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python")
36+
" MacPorts python 3.11
37+
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python
38+
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.11/Python")
3939
" https://www.python.org/downloads/mac-osx/
40-
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.10/Python
40+
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.11/Python
4141
endif
4242
endif
4343

0 commit comments

Comments
 (0)