poetry icon indicating copy to clipboard operation
poetry copied to clipboard

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

Open sanzoghenzo opened this issue 1 year ago • 2 comments

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] 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 avatar Feb 23 '23 10:02 sanzoghenzo

Verified this issue with Visual Studio Enterprise 17.3.0 Preview 1.0 [32427.455.main]. Repro on Windows. Sample Project: ToolbarItemsDemo.zip

XamlTest avatar May 16 '22 02:05 XamlTest

I have the same problem. This is in MAUI:

<ContentPage.ToolbarItems>
  <ToolbarItem Text="Pick me!" Order="Secondary" />
</ContentPage.ToolbarItems>

image

And this is in WinUI 3:

<CommandBar>
    <CommandBar.SecondaryCommands>
        <AppBarButton Label="Pick me"/>
    </CommandBar.SecondaryCommands>
</CommandBar>

image

pekspro avatar May 28 '22 17:05 pekspro

related https://github.com/dotnet/maui/issues/7034

PureWeen avatar Jun 28 '22 17:06 PureWeen

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost avatar Aug 30 '22 14:08 ghost

Same problem here and it got worse in my case. The size is wrong as shown in the description of this bug, but also de text is displayed in white color. Only on mouse over, it turns black making the text legible.

When opened: image

When mouse over: image

I tried this in a File -> New -> Project... with the current latest MAUI version 7.0.59

nicop85 avatar Mar 01 '23 13:03 nicop85

Verified this on Visual Studio Enterprise 17.6.0 Preview 6.0. Repro on Windows 11 with below Project: 7156.zip

image

XamlTest avatar May 04 '23 10:05 XamlTest

This is still failing with the last updates (Visual Studio 17.8.0, .Net 8, MAUI 8.0.3) It really ugly to display the secondary menus in such way.

Please, give some priority to this issue

nicop85 avatar Nov 16 '23 18:11 nicop85