Support for multiple virtual environments (tox)
See original GitHub issueIf I’m maintaining a package that needs to run under multiple python versions, I’d like to be able to pipenv install
multiple times, so that I can do: pipenv run --python=python2.7 py.test tests
or pipenv run --three py.test tests
or ->
Tox. I copied and edited tox.ini
from here http://docs.pipenv.org/en/latest/advanced.html#tox-automation-project but all the tests in every tox instance were running under the virtualenv of pipenv, instead of it’s own created one. So I went ‘oldschool’ with tox, running outside of pipenv, but it’s a shame it doesn’t work as the docs say.
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Configuration - tox
tox configuration can be split into two categories: core and environment specific. Core settings are options that can be set once and used...
Read more >Multiversion Testing With Tox - Cloud City Development
tox allows one to define configurations with list substitutions shell-style globs. tox will spin up a total of 27 different virtual environments ......
Read more >Managing a Project's Virtualenvs with tox | seanh.cc
Tox is a great tool for standardising and automating any development task that benefits from being run in an isolated virtualenv.
Read more >Do I need virtualenv if I have tox? - Stack Overflow
The fact that tox creates virtual environments is kind of an implementation detail. Its goal is to run the current project's test suite...
Read more >Tox with Pyenv & Poetry to Test Projects with Multiple Python ...
Manually running the tests for each supported version of Python will require ... To get tox to use poetry to build the virtual...
Read more >Top Related Medium Post
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 FreeTop 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
Top GitHub Comments
maybe make
pipenv --two
actually change the current virtualenv, and two are created, one for two, one for three!Well okay, that way tox could probably run, but instead of making my life easier, pipenv is actually making my life harder that way.
I’m not really sure if it should be tox recognizing pipfile and filling in dependencies from there, or pipenv being able to run tox, or if the way it is right now is okay.