Bug 46305 - Не работает утилита keyring
Summary: Не работает утилита keyring
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-keyring (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 14:23 MSK by Alexander Makeenkov
Modified: 2023-05-30 16:38 MSK (History)
20 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2023-05-30 14:23:13 MSK
Версия пакета:
python3-module-keyring-23.14.0-alt2

Шаги воспроизведения:
# apt-get install python3-module-keyring
$ keyring --help
$ keyring

Получаемый результат:
Traceback (most recent call last):
  File "/usr/bin/keyring", line 9, in <module>
    sys.exit(main())
  File "/usr/lib/python3/site-packages/keyring/cli.py", line 132, in main
    cli = CommandLineTool()
  File "/usr/lib/python3/site-packages/keyring/cli.py", line 51, in __init__
    completion.install(self.parser)
  File "/usr/lib/python3/site-packages/keyring/completion.py", line 49, in install
    install_completion(parser)
  File "/usr/lib/python3/site-packages/keyring/completion.py", line 39, in install_completion
    zsh=files(__package__).joinpath('backend_complete.zsh').read_text(),
  File "/usr/lib64/python3.10/pathlib.py", line 1134, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/usr/lib64/python3.10/pathlib.py", line 1119, in open
    return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/site-packages/keyring/backend_complete.zsh'

В p10 не воспроизводится (python3-module-keyring-21.8.0-alt1)
Comment 1 Anton Zhukharev 2023-05-30 15:41:15 MSK
Note: https://github.com/jaraco/keyring/issues/621

> I think the problem is that backend_complete.zsh is not included in the wheel when it's built from GitHub archive with SETUPTOOLS_SCM_PRETEND_VERSION.
Comment 2 Repository Robot 2023-05-30 16:38:18 MSK
python3-module-keyring-23.14.0-alt3 -> sisyphus:

 Tue May 30 2023 Anton Zhukharev <ancieg@altlinux> 23.14.0-alt3
 - Don't use SETUPTOOLS_SCM_PRETEND_VERSION (Closes: #46305).