diff options
| author | Judit Novak <judit.novak@gmail.com> | 2025-09-19 05:07:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 20:07:14 -0700 |
| commit | 6152bcf42ef0933c5ed6551482393cb21c619637 (patch) | |
| tree | 96d3ea320d16642c04ed34fe60502691df77bedf /test/functional/vimscript/printf_spec.lua | |
| parent | e2166661d483c283f48aafc2fa5fde08b07f8594 (diff) | |
| download | rneovim-6152bcf42ef0933c5ed6551482393cb21c619637.tar.gz rneovim-6152bcf42ef0933c5ed6551482393cb21c619637.tar.bz2 rneovim-6152bcf42ef0933c5ed6551482393cb21c619637.zip | |
fix(health): hard fail on invalid "python-*" bin #35382
Problem:
Scripts named with 'python-…' prefix may not be valid python bins. If
such a script is found in a venv, the Python healthcheck fails hard.
.venv/python-argcomplete-check-easy-install-script
.venv/bin/python3.13
.venv/bin/python
Solution:
- Discard known false-positives such as `python-argcomplete*`.
- Call `health.warn()` instead of `assert()` in `python_exepath()`.
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'test/functional/vimscript/printf_spec.lua')
0 files changed, 0 insertions, 0 deletions