davidhalter / jedi

Awesome autocompletion, static analysis and refactoring library for python
http://jedi.readthedocs.io
Other
5.73k stars 503 forks source link

use `sys.executable()` standard function to obtain python executable #1964

Open kloczek opened 9 months ago

kloczek commented 9 months ago

Use sys.executable() standard function instead custom code which assumes that python executable is python.

codecov-commenter commented 9 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:loudspeaker: Thoughts on this report? Let us know!.

davidhalter commented 9 months ago

The tests are failing unfortunately. If this works well, I'm happy to merge it, but not as long as the tests fail.

kloczek commented 9 months ago

The tests are failing unfortunately. If this works well, I'm happy to merge it, but not as long as the tests fail.

Looks like it fails in one env in custom code which is trying to figure out what is the sitelib path (which should be obtained from sysconfig.get_path('purelib')) 🤔