Closed elig0n closed 3 years ago
I have the same problem with the keyrings.alt
in installation, since Pip can't find the right version.
hi @elig0n can u try installing from the main branch and see if you still have issues with that?
you mean from git or via pip upgrade?
git please
@ReneFroger @elig0n could try v1.2.1? just pushed to pypi. Feel free to reopen this issue if the problem is still happening
@GustavoKatel seems to work without problems after upgrade to 1.2.1
This issue seems to have returned in version 0.7.5 / 1.2.2 (using Python 3.10) I have managed to workaround it by manually import every object:
from keyrings.alt.file import EncryptedKeyring, PlaintextKeyring
and then specifically referring to these objects later in the file.
But then when I try to push something I get:
Traceback (most recent call last):
File "/home/user/.local/bin/pb", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
TypeError: push() got an unexpected keyword argument 'file' /0.2s
Click version: 8.1.3
I found that
pb
app.py
has to explicitly importkeyrings.alt.file
because neitherkeyrings.alt
norkeyrings.alt.file
would be accessible if it simply import keyrings alone.