dstack icon indicating copy to clipboard operation
dstack copied to clipboard

Detect the default Python version in CLI, not in dstack-server

Open jvstme opened this issue 1 year ago • 2 comments

Problem

If the user omits the python property in the run configuration, dstack is supposed to use the Python version installed in the user's environment. This allows dstack environments to be more similar to users' local environments.

However, dstack currently detects the Python version in dstack-server. While this works for the simplest setups, in many setups dstack-server runs separately from users' environments, so users actually get the Python version from the dstack-server environment, not their local environment.

Solution

Detect the default Python version in dstack CLI, not in dstack-server.

jvstme avatar Jul 26 '24 11:07 jvstme

Hi can i work on this issue?

easedeath avatar Oct 12 '24 03:10 easedeath

Hi can i work on this issue?

@easedeath You don't need to ask. If you know how to fix this, just send a PR! Thank you

peterschmidt85 avatar Oct 16 '24 13:10 peterschmidt85

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 12 '25 01:02 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar Feb 26 '25 01:02 github-actions[bot]