-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
area/publishingRelated to PyPI/PEP 503 publishingRelated to PyPI/PEP 503 publishingkind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
- 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 (
-vvvoption).
- Linux 5.4.0-53-generic XUbuntu 20.04 x86_64 GNU/Linux:
- Poetry version 1.1.4:
- Link of a Gist with the contents of your pyproject.toml file:
Issue
I have an issue with poetry not publishing the package to PyPI. The project is called dpaster, however the PyPI repo name is called thepaster. I've configured it to point to the remote repository:
The output of config command:
$ poetry config --list
cache-dir = "/home/alex/.cache/pypoetry"
experimental.new-installer = true
installer.parallel = true
repositories.dpaster.url = "https://pypi.org/project/thepaster"
virtualenvs.create = true
virtualenvs.in-project = null
virtualenvs.path = "{cache-dir}/virtualenvs" # /home/alex/.cache/pypoetry/virtualenvs
The output of publish command:
$ poetry publish -r dpaster -vvv
Username: adder46
Password:
Publishing dpaster (3.2.2) to dpaster
- Uploading dpaster-3.2.2-py3-none-any.whl 100%
- Uploading dpaster-3.2.2.tar.gz 100%
As you can see, it doesn't report any error, however, the project ends up not getting published.
I realize it works when the name in pyproject.toml is the same as the remote repository repo name, but IMO this should throw an error if it's not getting published.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/publishingRelated to PyPI/PEP 503 publishingRelated to PyPI/PEP 503 publishingkind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged