Add testenv:dev to create development environment#765
Conversation
|
👍 Mostly because I had a |
|
In my workflow, I have |
I'm definitely in favor of simplifying things, but if I understand correctly, this only installs the |
|
It's also relatively widespread in projects of any size and complexity (see also OpenStack and I believe Apache projects) |
|
@gaborbernat If you're feeling generous with your time, I'm curious what you think of this, as a maintainer of virtualenv and tox. |
|
Not sure what's the question, but I personally do prefer what this PR proposes. I've seen what @jaraco does, but I'd consider that a bit anti-pattern, though subjective at the end of the day, as it does not allow you to easily separate and recreate every python installation (could be just my experience, but version-specific bugs happen ever so often, and then it's good to quickly and easily reproduce them on your local machine). |
Thanks @gaborbernat; no specific question. I was just wondering what your overall impression was, for example if you had any suggestions for improvement or caveats to be aware of. |
This is scratching an itch of mine. It feels a bit exotic, but I saw some prior art in virtualenv and build. I think it might be less exotic if we specified dependencies in
extras_requireor requirements files.This allows VS Code to automatically detect my virtual environment, and use pytest/black/flake8 etc. directly from there while I'm editing individual files.