pypa / twine

Utilities for interacting with PyPI

Home Page:https://twine.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to skip dependency checking during upload

Alcolo47 opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

dependency
requirement

Please describe the problem you are attempting to solve with this request

I'm building multiple packages with my CI and push them to my private jFrog.
To speed up my CI and to avoid hard-coding dependency graph to my CI, I want to build all those packages in parallel.
But since dependencies exit between those packages, the 1st time I launch my CI, it fail due to lack of dependencies.

With the command:
python3 -m twine upload --config-file /etc/pypirc --repository artifactory dist/*
I can obtain
ERROR: Could not find a version that satisfies the requirement XXX (from YYY)
If YYY is built before XXX

But since those dependencies are dynamics (must be resolved at runtime, resolved during pip installation), I hope to upload my package in any case.

How do you think we should solve this?

Add an option like twine upload --skip-dependency-check to avoid dependency check.

Anything else you'd like to mention?

No response

Twine does no dependency checking. Please explain why you seem to think this is a twine issue? Did you rerun with verbose to see where this is coming from (likely JFrog)