-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
Ability to skip install, but still install extras #2301
Comments
pip doesn't allow this pypa/pip#4783, so not possible with tox 3. In the new tox 4 we use the pyproject API to load the packages dependencies so, in theory, we could add support for this 🤔 though I'd name this option something else, like |
Thanks for the insightful reply. Yeah, right now I'm just skipping the install and defining |
I would really appreciate this feature. My use case is building a package with |
As a short-term hacky option to work with for myself, I have made a tox plugin that allows you to write (e.g. for a "lint" testenv that depends only on a "lint" extra but does not need your package to be installed):
Just posting it here in case it is of interest to watchers of this issue or if it inspires discussion on how this type of functionality could be used in practice: https://github.com/sclabs/tox-extras |
I am wondering if it's possible to install
extras
even though I haveskip_install=true
? I would like mysetup.cfg
to contain all of my dependencies so they aren't split betweensetup.cfg
andtox.ini
. For some of my tox runs, e.g. combining coverage runs, it'd be nice if I could re-use extras without either defining a dependency intox.ini
and attempting to keep it in sync withsetup.cfg
, or installing my entire python package as that run doesn't need anything from that environment.The text was updated successfully, but these errors were encountered: