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#75858 - [python-poetry] make python-keyring an optional dependency
Attached to Project:
Community Packages
Opened by Sergey (versusvoid) - Friday, 09 September 2022, 08:01 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 28 February 2023, 09:36 GMT
Opened by Sergey (versusvoid) - Friday, 09 September 2022, 08:01 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 28 February 2023, 09:36 GMT
|
DetailsDescription:
poetry requires `keyring` package only for private repositories: https://github.com/python-poetry/poetry/blob/c4b2253793cd6b41a99e25e479e40b776cca0a0e/src/poetry/utils/password_manager.py#L110-L116 With python-keyring installed basic operations fails with: ``` g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files ``` as poetry tries to authenticate even open api like `https://pypi.org/simple` through keyring. Additional info: * package version: 1.2.0-5 |
This task depends upon
Closed by Caleb Maclennan (alerque)
Tuesday, 28 February 2023, 09:36 GMT
Reason for closing: Upstream
Additional comments about closing: Problem is in upstream project, needs fixing there not here. We would create a different class of problems by changing it in packaging.
Tuesday, 28 February 2023, 09:36 GMT
Reason for closing: Upstream
Additional comments about closing: Problem is in upstream project, needs fixing there not here. We would create a different class of problems by changing it in packaging.
https://github.com/python-poetry/poetry/issues/1917 appears to be related.
For anyone else running into this issue, you can create/edit the file ~/.config/python_keyring/keyringrc.cfg with the below configuration to ignore keyring.
[backend]
default-keyring=keyring.backends.null.Keyring
The dependencies listed there would be written to the METADATA and checked on runtime.