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

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

    <bug>
          <bug_id>35653</bug_id>
          
          <creation_ts>2018-11-26 09:54:02 +0300</creation_ts>
          <short_desc>Бэкпорт новой версии</short_desc>
          <delta_ts>2020-02-17 19:07:33 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>python3-module-keyring</component>
          <version>не указана</version>
          <rep_platform>all</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>backport</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>35655</dependson>
          <blocked>35608</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeniy Korneechev">ekorneechev</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>grenka</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>176065</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeniy Korneechev">ekorneechev</who>
    <bug_when>2018-11-26 09:54:02 +0300</bug_when>
    <thetext>Имеющаяся с ходу не работает (после создания папки - все ОК):

$ python3
Python 3.5.4 (default, May 31 2018, 07:40:02) 
[GCC 5.3.1 20151207 (ALT Linux 5.3.1-alt3)] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import keyring
/usr/lib/python3/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version(&apos;GnomeKeyring&apos;, &apos;1.0&apos;) before import to ensure that the right version gets loaded.
  from gi.repository import GnomeKeyring
&gt;&gt;&gt; keyring.get_password(&quot;test&quot;,&quot;test&quot;)
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/keyring/backends/pyfs.py&quot;, line 100, in _open
    writeable=writeable)
  File &quot;/usr/lib/python3/site-packages/fs/opener.py&quot;, line 236, in parse
    fs, fs_path = opener.get_fs(self, fs_name, fs_name_params, fs_url, writeable, create_dir)
  File &quot;/usr/lib/python3/site-packages/fs/opener.py&quot;, line 350, in get_fs
    osfs = OSFS(dirname)
  File &quot;/usr/lib/python3/site-packages/fs/osfs/__init__.py&quot;, line 136, in __init__
    raise ResourceNotFoundError(root_path, msg=&quot;Root directory does not exist: %(path)s&quot;)
fs.errors.ResourceNotFoundError: Root directory does not exist: b&apos;/home/user/.local/share/python_keyring&apos;

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3/site-packages/keyring/core.py&quot;, line 38, in get_password
    return _keyring_backend.get_password(service_name, username)
  File &quot;/usr/lib/python3/site-packages/keyring/backends/pyfs.py&quot;, line 176, in get_password
    password_base64 = self.config.get(service, username).encode()
  File &quot;/usr/lib/python3/site-packages/keyring/backends/pyfs.py&quot;, line 161, in config
    f = self._open()
  File &quot;/usr/lib/python3/site-packages/keyring/backends/pyfs.py&quot;, line 136, in _open
    pyfs = fs.osfs.OSFS(url2_path)
  File &quot;/usr/lib/python3/site-packages/fs/osfs/__init__.py&quot;, line 136, in __init__
    raise ResourceNotFoundError(root_path, msg=&quot;Root directory does not exist: %(path)s&quot;)
fs.errors.ResourceNotFoundError: Root directory does not exist: b&apos;/home/user/.local/share/python_keyring&apos;

Ну и новая версия работает не со своим хранилищем, а с системным, поэтому проблем нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176468</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeniy Korneechev">ekorneechev</who>
    <bug_when>2018-12-06 17:08:33 +0300</bug_when>
    <thetext>apt-get install \
http://git.altlinux.org/tasks/archive/done/_212/217396/build/100/x86_64/rpms/python3-module-keyring-12.0.0-alt2.noarch.rpm \
http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/noarch/RPMS/python3-module-entrypoints-0.2.3-alt1.noarch.rpm \
http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/noarch/RPMS/python3-module-secretstorage-2.3.1-alt2.noarch.rpm

после этого на p8 минимальный функционал модуля работает.
python3-module-secretstorage и python3-module-entrypoints также нужно бэкпортировать. Попробовал отправить в task#217422</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187922</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2020-02-17 19:07:33 +0300</bug_when>
    <thetext>[#217422] p8 DONE (try 6)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>