macvim-dev / macvim-dev/macvim

python environment not used anymore

Open
#937 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Since last update to Version 8.1.1722 (157) (on macOS 10.14.6) a python call within mvim doesn't use the python version from the environment mvim was started from but uses the system python. (before the update the python version from the environment was used)

  • activate a python environment in a directory which has a different python version than the system python
    (- may check python --version in this directory)
  • run mvim in this directory
  • call vim command :!python --version

On my computer it returns the version number of the os-python not of the env-python

venv-version mvim-version

filed vim/vim issue #4856

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mvim launch context and the :!python --version reproduction, then consult the filed vim/vim issue #4856 for related context. Done means an mvim started in an activated environment invokes that environment’s Python rather than the system Python on the reported macOS setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python, vim
Domain
desktop, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.