nazarewk / keyring_pass

Password Store (pass) backend for python's keyring
MIT License
18 stars 5 forks source link

ImportError with the latest python-keyring #6

Closed azmeuk closed 2 years ago

azmeuk commented 2 years ago

With python-keyring 23.9.0, using keyring_pass raises an ImportError

>>> import keyring_pass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/keyring_pass/__init__.py", line 10, in <module>
    from keyring.util import properties, platform_ as platform
ImportError: cannot import name 'properties' from 'keyring.util' (/usr/lib/python3.10/site-packages/keyring/util/__init__.py)

According to this issue, the missing property is reintroduced with 23.9.1, but with a deprecation warning, so this exception will come back in the future.

formula-spectre commented 8 months ago

I would like to point out that this problem presents itself as of today (04/03/24), so maybe a dep bump is needed?
my bad, the one I was installing was still @ 0.77, so don't pay attention to this comment