conda-forge/prompt_toolkit-feedstock

Two prompt-toolkit packages on conda-forge

Closed this issue · 4 comments

I have received a user report that two of the prompt-toolkit packages are pulled to be installed when they try to install astroquery. I've only found this feedstock, and now the situation is very confusing:

The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
    astroquery-0.4.1           |     pyh9f0ad1d_0         3.0 MB  conda-forge
    backcall-0.2.0             |     pyh9f0ad1d_0          13 KB  conda-forge
    prompt-toolkit-3.0.5       |             py_1         233 KB  conda-forge
    prompt_toolkit-3.0.5       |                1           4 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         3.2 MB

Could you please advise what's the situation, which one is to be used and where the other one is coming from? (Neither of them are direct dependencies of astroquery, so I'm in the dark why these are even necessary to be installed).

cc @conda-forge-admin

One or both is fine. One of them is a metapackage added to make life easier for downstream users. The metapackage was added in PR ( #40 ). Both are probably gotten because ipython requires it.

We made some fixes the other day to resolve some user reported issues ( #44 ) ( conda-forge/ipython-feedstock#106 ), which is probably why this is only now showing up.

(side note: @conda-forge-admin is a bot)

cc @ocefpaf

If you don't want both, just rely on prompt-toolkit

Pretty much what @jakirkham said above. If you specify the underscore version, which is the metapackage, you'll get the hyphen version, that is is real package. There is nothing wrong in having both. That exists to make the life of those expecting the same experience as pip a little bit easier.

Thank you all, it all makes sense now. I'm sorry for the noise.