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

Poetry silently fails authentication to publish --repository reponame #4344

Closed
3 tasks done
staticdev opened this issue Aug 2, 2021 · 2 comments
Closed
3 tasks done
Labels
status/duplicate Duplicate issues

Comments

@staticdev
Copy link

  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Debian 11

  • Poetry version: 1.1.7

  • Link of a Gist with the contents of your pyproject.toml file:

[tool.poetry]
name = "mymodule"
version = "0.1.0"

[tool.poetry.dependencies]
python = "^3.7"

[tool.poetry.dev-dependencies]

[tool.coverage.paths]
source = ["src", "*/site-packages"]

[tool.coverage.run]
branch = true
source = ["mymodule"]

[[tool.poetry.source]]
name = "artifactory"
url = "https://artifactory.swisscom.com/api/pypi/myrepo"
default = true

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Issue

This is somewhat related to #4190, but I build a python lib and I do a poetry publish --repository artifactory -vvv with wrong credentials. It shows are success and 100% upload. Also option -vvv does not increase verbosity to try do discover what is wrong.

Output:

poetry publish --repository artifactory -vvv

No suitable keyring backend found
No suitable keyring backends were found
Using a plaintext file to store and retrieve credentials
Username: inexistingusername
Password:
Publishing mymodule (0.1.0) to artifactory
 - Uploading mymodule-0.1.0.tar.gz 100%
 - Uploading mymodule-0.1.0-py2.py3-none-any.whl 100%
@staticdev staticdev added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 2, 2021
@dimbleby
Copy link
Contributor

dimbleby commented Nov 6, 2022

duplicate #920, per recent update there this works as expected today

@neersighted neersighted added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Nov 9, 2022
@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants