<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>46305</bug_id>
          
          <creation_ts>2023-05-30 14:23:13 +0300</creation_ts>
          <short_desc>Не работает утилита keyring</short_desc>
          <delta_ts>2023-05-30 16:38:18 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-keyring</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>ancieg</cc>
    
    <cc>grenka</cc>
    
    <cc>root</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>226693</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2023-05-30 14:23:13 +0300</bug_when>
    <thetext>Версия пакета:
python3-module-keyring-23.14.0-alt2

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

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

В p10 не воспроизводится (python3-module-keyring-21.8.0-alt1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226698</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2023-05-30 15:41:15 +0300</bug_when>
    <thetext>Note: https://github.com/jaraco/keyring/issues/621

&gt; I think the problem is that backend_complete.zsh is not included in the wheel when it&apos;s built from GitHub archive with SETUPTOOLS_SCM_PRETEND_VERSION.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226703</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-05-30 16:38:18 +0300</bug_when>
    <thetext>python3-module-keyring-23.14.0-alt3 -&gt; sisyphus:

 Tue May 30 2023 Anton Zhukharev &lt;ancieg@altlinux&gt; 23.14.0-alt3
 - Don&apos;t use SETUPTOOLS_SCM_PRETEND_VERSION (Closes: #46305).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>