You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.
Issue
I'm using fish shell. When I type poetry -, fish completion will try to list all the available options, during which it throws the following error:
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 83):
complete -c poetry -A -n '__fish_seen_subcommand_from 'cache clear'' -l all -d 'Clear all entries in the cache.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 97):
complete -c poetry -A -n '__fish_seen_subcommand_from 'debug resolve'' -l extras -d 'Extras to activate for the dependency.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 98):
complete -c poetry -A -n '__fish_seen_subcommand_from 'debug resolve'' -l install -d 'Show what would be installed for the current system.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 99):
complete -c poetry -A -n '__fish_seen_subcommand_from 'debug resolve'' -l python -d 'Python version(s) to use for resolution.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 100):
complete -c poetry -A -n '__fish_seen_subcommand_from 'debug resolve'' -l tree -d 'Display the dependency tree.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 103):
complete -c poetry -A -n '__fish_seen_subcommand_from 'env info'' -l executable -d 'Only display the environment\'s python executable path.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 104):
complete -c poetry -A -n '__fish_seen_subcommand_from 'env info'' -l path -d 'Only display the environment\'s path.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 107):
complete -c poetry -A -n '__fish_seen_subcommand_from 'env list'' -l full-path -d 'Output the full paths of the virtualenvs.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 110):
complete -c poetry -A -n '__fish_seen_subcommand_from 'env remove'' -l all -d 'Remove all managed virtual environments associated with the project.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 184):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self add'' -l allow-prereleases -d 'Accept prereleases.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 185):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self add'' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 186):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self add'' -l editable -d 'Add vcs/path dependencies as editable.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 187):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self add'' -l extras -d 'Extras to activate for the dependency.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 188):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self add'' -l source -d 'Name of the source to use to install the package.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 191):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self install'' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 192):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self install'' -l sync -d 'Synchronize the environment with the locked packages and the specified groups.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 195):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self lock'' -l check -d 'Check that the poetry.lock file corresponds to the current version of pyproject.toml.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 196):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self lock'' -l no-update -d 'Do not update locked versions, only refresh lock file.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 199):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self remove'' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 202):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self show'' -l addons -d 'List only add-on packages installed.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 203):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self show'' -l latest -d 'Show the latest version.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 204):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self show'' -l outdated -d 'Show the latest version but only for packages that are outdated.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 205):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self show'' -l tree -d 'List the dependencies as a tree.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 210):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self update'' -l dry-run -d 'Output the operations but do not execute anything (implicitly enables --verbose).'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 211):
complete -c poetry -A -n '__fish_seen_subcommand_from 'self update'' -l preview -d 'Allow the installation of pre-release versions.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 228):
complete -c poetry -A -n '__fish_seen_subcommand_from 'source add'' -l default -d 'Set this source as the default (disable PyPI). A default source will also be the fallback source if you add other sources. (Deprecated, use --priority)'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 229):
complete -c poetry -A -n '__fish_seen_subcommand_from 'source add'' -l priority -d 'Set the priority of this source. One of: default, primary, secondary, supplemental, explicit. Defaults to primary.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
complete: too many arguments
/opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 230):
complete -c poetry -A -n '__fish_seen_subcommand_from 'source add'' -l secondary -d 'Set this source as secondary. (Deprecated, use --priority)'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish
(Type 'help complete' for related documentation)
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below.Issue
I'm using fish shell. When I type
poetry -
, fish completion will try to list all the available options, during which it throws the following error:The text was updated successfully, but these errors were encountered: