Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Python 3 stable ABI to build MacVim, and better Python discovery #1428

Merged
merged 1 commit into from
Sep 10, 2023

Commits on Sep 9, 2023

  1. Use Python 3 stable ABI to build MacVim, and better Python discovery

    Vim added support for using Python 3 stable ABI in 9.0.1776, which
    allows us to safely load Python libraries of a different version from
    what Vim was built against. Modify our CI to use that. This allows user
    to use whatever Python version they want as long as it's above the
    minimum target. Given that macOS/Xcode still ships with 3.9 by default,
    we build using 3.9 as the minimum version.
    
    Also, change our Python detection script to work better. Change all
    explicit versions in our paths to refer to the "Current" version instead
    which for the most part should "just work" instead of requiring an exact
    match every time we or Python update to a new version (e.g. Homebrew
    will update the Current version to point to the latest Python3). Also
    add support for finding Python 3 from Xcode Command Line Tools which was
    previously not ok to use technically because it's 3.9 and before stable
    ABI support we couldn't load it safely as MacVim was built using newer
    versions.
    
    Fix macvim-dev#1351.
    ychin committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    b4106e4 View commit details
    Browse the repository at this point in the history