Skip to content
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

Python login task succeeds despite PDM login command failing #149

Open
NiklasRosenstein opened this issue Dec 19, 2023 · 0 comments
Open
Labels
only: kraken-std This issue affects only kraken-std. type: bug Something isn't working

Comments

@NiklasRosenstein
Copy link
Contributor

Example

> :devops-cli:python.login PENDING
[12/19/23 22:20:38] INFO     $ ['pdm', 'config', 'pypi.hs-artifactory.url', 'MASKED']                                                                             pdm.py:152
                    INFO     $ ['pdm', 'config', 'pypi.hs-artifactory.username', 'MASKED']                                                                        pdm.py:152
                    INFO     $ ['pdm', 'config', 'pypi.hs-artifactory.password', 'MASKED']                                                                        pdm.py:152
Traceback (most recent call last):
  File "/home/coder/git/devops-automation/build/.kraken/venv/bin/keyring", line 8, in <module>
    sys.exit(main())
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 148, in main
    return cli.run(argv)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 76, in run
    return method()
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 93, in do_set
    set_password(self.service, self.username, password)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/core.py", line 61, in set_password
    get_keyring().set_password(service_name, username, password)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/backends/fail.py", line 28, in get_password
    raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
                    INFO     $ ['pdm', 'config', 'pypi.hs-playground.url', 'MASKED']                                                                              pdm.py:152
[12/19/23 22:20:39] INFO     $ ['pdm', 'config', 'pypi.hs-playground.username', 'MASKED']                                                                         pdm.py:152
                    INFO     $ ['pdm', 'config', 'pypi.hs-playground.password', 'MASKED']                                                                         pdm.py:152
Traceback (most recent call last):
  File "/home/coder/git/devops-automation/build/.kraken/venv/bin/keyring", line 8, in <module>
    sys.exit(main())
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 148, in main
    return cli.run(argv)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 76, in run
    return method()
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/cli.py", line 93, in do_set
    set_password(self.service, self.username, password)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/core.py", line 61, in set_password
    get_keyring().set_password(service_name, username, password)
  File "/home/coder/git/devops-automation/build/.kraken/venv/lib/python3.10/site-packages/keyring/backends/fail.py", line 28, in get_password
    raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
> :devops-cli:python.login SUCCEEDED
@NiklasRosenstein NiklasRosenstein added type: bug Something isn't working only: kraken-std This issue affects only kraken-std. labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
only: kraken-std This issue affects only kraken-std. type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant