poetry icon indicating copy to clipboard operation
poetry copied to clipboard

source show: include pypi and additional information about order

Open abn opened this issue 3 years ago • 1 comments

$ poetry source show -v
 name       : pypi-simple             
 url        : https://pypi.org/simple 
 default    : no                      
 secondary  : no                      

 name       : pypi                     
 url        : https://pypi.org/simple/ 
 default    : no                       
 secondary  : yes                      

Poetry will search all of the above package sources when searching for packages.

All other things equal, for a give package that is available from multiple sources, it will be preferred in the order listed above.

For example, if a package foo is available in both pypi-simple and pypi, Poetry will select pypi-simple.

You can override this, by explicitly specify the source when adding the package.

    $ poetry add --source pypi foo

Alternatively, you can set all your custom sources as secondary.

abn avatar May 24 '22 13:05 abn

Deploy preview for website ready!

✅ Preview https://website-4nabiqdce-python-poetry.vercel.app

Built with commit 586919400988791dd682e6cc69a7887ee623f259. This pull request is being automatically deployed with vercel-action

github-actions[bot] avatar May 24 '22 13:05 github-actions[bot]