Skip to content

poetry init finds 20 packages but only shows 10 #5033

@cu

Description

@cu
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Pop OS 21.04
  • Poetry version: 1.1.12
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

When running the poetry init wizard to initialize a new project, the section to define dependencies will find up to 20 matches but only display 10, with no (obvious) way to see the others

$ poetry init -vvv

This command will guide you through creating your pyproject.toml config.

Package name [foo]:  
Version [0.1.0]:  
Description []:  
Author [<censored>, n to skip]:  
License []:  
Compatible Python versions [^3.9]:  

Would you like to define your main dependencies interactively? (yes/no) [yes] 
You can specify a package in the following forms:
  - A single name (requests)
  - A name and a constraint (requests@^2.23.0)
  - A git url (git+https://github.com/python-poetry/poetry.git)
  - A git url with a revision (git+https://github.com/python-poetry/poetry.git#develop)
  - A file path (../my-package/my-package.whl)
  - A directory (../my-package/)
  - A url (https://example.com/packages/my-package-0.1.0.tar.gz)

Search for package to add (or leave blank to continue): python
Found 20 packages matching python

Enter package # to add, or the complete package name if it is not listed: 
 [0] python101
 [1] Python123
 [2] python4
 [3] python2
 [4] python7
 [5] python9909
 [6] python-42
 [7] python42
 [8] python-geoip-python3
 [9] python-dubbo-support-python3
 > 

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linearea/uxFeatures and improvements related to the user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions