Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78293 - [python-poetry] gives invalid fish completions
Attached to Project:
Community Packages
Opened by Larson (typecasto) - Sunday, 23 April 2023, 21:41 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 22:51 GMT
Opened by Larson (typecasto) - Sunday, 23 April 2023, 21:41 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 22:51 GMT
|
DetailsDescription:
Whenever you type `poetry ` (note the space) using fish, it prints a bunch of completion errors (attached). Additional info: - python-poetry is version 1.4.2-1, the latest. - Happens on my desktop, laptop, and in the `archlinux` docker container. - This has been happening for a few months now, it's not something the latest update introduced. Steps to reproduce: 1. run `pacman -S fish python-poetry` to install the relevant packages 2. start `fish` 3. type `poetry ` without hitting enter 4. several errors appear |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 23 May 2023, 22:51 GMT
Reason for closing: Upstream
Additional comments about closing: Clearly an upstream issue. We await a fix from them.
Tuesday, 23 May 2023, 22:51 GMT
Reason for closing: Upstream
Additional comments about closing: Clearly an upstream issue. We await a fix from them.
fish_poetry_error.log
Once this change [1] is available in [community-testing] and in case you're able to run testing, please give that a spin and report back.
We're currently in the py311 rebuild phase, which may block updates a bit.
Alternatively, use the current PKGBUILD, build using devtools and check whether that fixes your issue already.
[1] https://github.com/archlinux/svntogit-community/commit/fca80bcd9442398ada7332f01072f2805fcbfb9b
Take line 83 as an example, it is `complete -c poetry -A -n '__fish_seen_subcommand_from 'cache clear'' -l all -d 'Clear all entries in the cache.'` currently. However, the correct one should be `complete -c poetry -A -n '__fish_seen_subcommand_from cache clear' -l all -d 'Clear all entries in the cache.'`. So run `# sed -i "s/''/'/g;s/'__fish_seen_subcommand_from '/'__fish_seen_subcommand_from /g" /usr/share/fish/vendor_completions.d/poetry.fish` maybe a workaround for this. For permanent fix, I think we may need to send an issue to upstream because this file is generated by `poetry completion fish` command when building this package.
Edit: Maybe related issue: https://github.com/python-poetry/poetry/issues/5929