-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'keyrings.alt' has no attribute 'file' #99
Comments
I have the same problem with the |
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) 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.The text was updated successfully, but these errors were encountered: