Open o-alquimista opened 1 year ago
My workaround is using twine upload dist/*
to publish. It works.
Have you tried this? https://github.com/jaraco/keyring#using-keyring-on-ubuntu-1604
I think I have the same issue on Debian.
Would it be possible to add an option that disables keyring
usage altogether and simply prompts for user/password every time I run hatch publish
?
I've wasted the last few hours trying to get keyring
working and I'm giving up now. I already have a secret manager that is much, much simpler and I don't need another one.
I hit this error too (I mount /proc
with hidepid=2
for extra security)
as @plotski suggests - an option to disable keyring
functionality entirely would solve this - or perhaps a more user friendly way would be to prompt the user to enable / use keyring
functionality when the processing starts (& not automatically assume it is available)
this processing could also possibly run inside a ci/cd container or other restricted environment - so a specific command line switch to disable keyring
functionality is useful for non interactive usage
for the time being as mentioned above twine upload dist/*
is a workaround - twine
hits the same keyring
error - but does not crash out entirely when hitting this issue.
On a more positive note - the colourful stack trace was nice ;o)
Please make keyring optional, or have the provided "unsafe" workaround (installing keyrings.alt
) work. It currently doesn't, and I have to fallback to twine. I am not interested in setting up any keyring daemon, on some of the machines I work on.
I'd also like to see keyring support disabled. I am running alpine linux using a relatively barebones setup of tmux directly in the linux console. I don't want to setup any keyring service simply to pass in an API token to publish my packages.
I'm getting an error when trying to publish, right after typing the username.
I'm on Kubuntu 22.04. I've seen in other similar reports that this command is used to check if the KWallet backend is working, so here it is:
This is the project repository: https://gitlab.com/crimson.king/basketcase/-/tree/82c3489d3150cda376f6c3b55a06b5fae129505b