Use separate “publish” URL for a private PyPI feed
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
We currently use Azure DevOps Artifacts and it uses two different URLs, I feel this is similar to Artifactory and other feeds.
For pulling packages, the familiar https://.../.../pypi/simple
index URL is used, but for submitting packages, https://.../.../pypi/upload
Is used.
I am not aware if this is common for PyPI feeds or not, it would be great if poetry could auto-detect this and use the correct URL, or at least provide a mechanism to specify a separate publish URL for the same feed.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Repositories | Documentation | Poetry - Python dependency ...
Poetry treats repositories to which you publish packages as user specific and not project specific configuration unlike package sources. Poetry, today, only ...
Read more >How to Publish an Open-Source Python Package to PyPI
In this step-by-step tutorial, you'll learn how to create a Python package for your project and how to publish it to PyPI, the...
Read more >pip: prioritize a private pypi server - python - Stack Overflow
pip devs have stated that all package indexes always have equal priority, ... the other index decides to publish a package under that...
Read more >Hosting private pip packages using Azure Artifacts
Hosting private pip packages using Azure Artifacts ... Finally, Publish new package needs to contain the following script: python setup.py ...
Read more >Publish python package into private repository behind VPN
I have ended up using answer from comments. my strategy would be to create a source code release zip file and publish it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Gotcha, that’s a really helpful explanation! maybe there’s space for a
--repository-url
In addition to repository?On Tue, May 26, 2020 at 02:28 xM8WVqaG notifications@github.com wrote:
(not OP but same issue)
I’m not able to pass the URL in under the
--repository
flag. I have to define the repo first.On the CI I’m doing:
Automatically creating
this
is fine to do in a CI lifecycle that’s destroyed after but would be inappropriate to do on a local environment. We were already discouraging manually publishing builds so I’ve been pretending this is a feature!