Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry complete has too many arguments (with fish) #7008

Closed
kaprests opened this issue Nov 11, 2022 · 2 comments
Closed

Poetry complete has too many arguments (with fish) #7008

kaprests opened this issue Nov 11, 2022 · 2 comments
Labels
status/duplicate Duplicate issues

Comments

@kaprests
Copy link

kaprests commented Nov 11, 2022

  • poetry version: 1.2.2
  • python version: 3.10.8
  • fish version: 3.5.1
  • OS: MacOS 13.0.0 (Ventura)
  • Terminal: Kitty

Seemingly pretty much the exact same issue as for issue 7865 (fish repo) just with poetry. Opened this issue there, but were told that the issue must be solved here.

Steps to reproduce:

  1. Open a fresh session of fish.
  2. Type poetry
  3. Press tab for auto-complete
Terminal output /opt/homebrew/share/fish/vendor_completions.d/poetry.fish (line 25): complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a cache clear -d 'Clears Poetry\'s 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 26):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a cache list -d 'List Poetry's caches.'
^
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 29):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a debug info -d 'Shows debug information.'
^
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 30):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a debug resolve -d 'Debugs dependency 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 31):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a env info -d 'Displays information about the current environment.'
^
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 32):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a env list -d 'Lists all virtualenvs associated with the current 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 33):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a env remove -d 'Remove 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 34):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a env use -d 'Activates or creates a new virtualenv for the current 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 46):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self add -d 'Add additional packages to Poetry's runtime environment.'
^
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 47):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self install -d 'Install locked packages (incl. addons) required by this Poetry installation.'
^
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 48):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self lock -d 'Lock the Poetry installation's system requirements.'
^
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 49):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self remove -d 'Remove additional packages from Poetry's runtime environment.'
^
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 50):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self show -d 'Show packages from Poetry's runtime environment.'
^
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 51):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self show plugins -d 'Shows information about the currently installed plugins.'
^
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 52):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a self update -d 'Updates Poetry to 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 55):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a source add -d 'Add source configuration for 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 56):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a source remove -d 'Remove source configured for 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 57):
complete -c poetry -f -n '__fish_poetry_aa596d7336ece196_complete_no_subcommand' -a source show -d 'Show information about sources configured for the project.'
^
from sourcing file /opt/homebrew/share/fish/vendor_completions.d/poetry.fish

(Type 'help complete' for related documentation)

@kaprests kaprests added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Nov 11, 2022
@neersighted
Copy link
Member

Duplicate python-poetry/cleo#437.

@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2022
@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Nov 11, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants