fedora-python / tox-current-env

tox plugin to run tests in current Python environment
https://pypi.org/project/tox-current-env/
MIT License
23 stars 8 forks source link

Allow to declare inside tox.ini that some environments need to not use a venv #80

Open ssbarnea opened 2 months ago

ssbarnea commented 2 months ago

As this plugin scope is to bypass the usage of a venv with tox, I do have a highly related use-case: I want to add some tox environments in tox.ini file that will not use any venv.

Basically this is asking for another way to activate this plugin instead of the command line switch.

This could prove very useful for using tox as a more generic build tool.

hroncok commented 2 months ago

I am afraid this is out of the scope of what we want to support here. If you present a proof of concept, I might reconsider.

ssbarnea commented 2 months ago

I wanted to open the discussion before looking to open the code. Not sure about how you trick tox into disabling its features. I wrote 3-4 tox plugins over the years so I might be able to make it work.

I was considering adding it as a feature to https://github.com/tox-dev/tox-extra but this plugin seems more related to the subject.