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

add -e/--executable to poetry env info to get the python executable path #7546

Closed
2 tasks done
sanzoghenzo opened this issue Feb 23, 2023 · 3 comments · Fixed by #7547
Closed
2 tasks done

add -e/--executable to poetry env info to get the python executable path #7546

sanzoghenzo opened this issue Feb 23, 2023 · 3 comments · Fixed by #7547
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged

Comments

@sanzoghenzo
Copy link
Contributor

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the FAQ and general documentation and believe that my question is not already covered.

Feature Request

in addition to the already present -p/--path option, add a -e/--execuatble option to return the python executable path.

My use case: I'm starting to use Taskfile and poetry on some projects; these project are developed on both linux and windows;

I would like to avoid having to install tools such as mypy in the virtual environment, since they can be run from the outside (this also allows me to have faster CI, I have set up a custom docker image with all the tools needed).

mypy in particular wants to know the exact path of the python executable to work (passed as --python-executable option), so having a new poetry env info --executable option that outputs the python path would solve my issue in a cross-platform fashion.

@sanzoghenzo sanzoghenzo added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Feb 23, 2023
@dimbleby
Copy link
Contributor

If this feature is important to you, then submitting a merge request with the change you want to see is by far the most likely way to make it happen.

@sanzoghenzo
Copy link
Contributor Author

If this feature is important to you, then submitting a merge request with the change you want to see is by far the most likely way to make it happen.

done 😉

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants