3 ms·
Imho the python steering committee is too weak in taking action in the direction of improving the whole ecosystem. They did mess up the python 2/3 and imho the
by znpy 5y ago
Imho the python steering committee is too weak in taking action in the direction of improving the whole ecosystem.
They did mess up the python 2/3 and imho they just don't want to deal with such things anymore.
Deprecating stuff is necessary as well as it is necessary to provide an upgrade path (both documentation and tooling) and new stuff.
- jjgreen 5y agoI really don't understand this viewpoint. When RSpec came out in the Ruby world, it did not need a steering committee to deprecate what people were using, nor provide an upgrade path, people flocked to it because it was better. This authoritarian cat-herding so popular in the Python world is just going to drive people away. The forced march to Tox has made me decide to start no more Python projects, for example.
- omnicognate 5y agoHaving trouble wording this in a way that doesn't sound belligerent, so please understand that it isn't meant that way, just a genuine question. In what way were you being forced to use tox?
- jjgreen 5y agoI have dozens of projects using pytest, generally run under pytest-runner via python3 setup.py -q pytest All now report WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. I asked a question on SO asking for non-tox alternatives, one of the tox devs replied python setup.py provisions dependencies, however, the way it does it is considered deprecated and unsupported going ahead. Instead, users are encouraged to use tox or ensure their own dependencies. There's no way around that unless you're willing to fork setuptools, fix the provision issues and use that.
- omnicognate 5y agoYeah, that's pretty frustrating. The churn in python dependency management has been immense. The incurable optimist in me thinks that there is a set of best practices that are emerging across multiple languages, that there is a "right way to do it" that we're converging on. Poetry seems far closer to that correct approach than anything else I've tried in Python and I hope that means it will have some longevity. The realist in me expects that some time in the next few years there will be another new hotness I'll have to decide whether to migrate all my stuff to.
- maxnoe 5y agoThe alternative is to just run python - m pytest in an environment with all dependencies installed, or pytest In an environment with the package itself installed. Tox automatizes the process of creating such environments. Just out of curiosity, what exactly is your problem with tox?
- smitty1e 5y ago3.10 is due out this year. I'd like to see a harmonization of packaging for 3.11. Of course, the vibe is not strong enough for me to exit the peanut gallery and contribute, so maybe we should be thankful for what we have from the thousands of human-years already invested.