Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide a way to suppress the new "deprecated python version" warning #4698
@Zac-HD in this instance this is not a normal warning, but implemented explicitly:
I opted to implement it like this because I thought we wanted a very clear section separated from the rest of the other warnings. I have the impression that
I see two options now:
Not sure it buys us much, after all the user can configure pytest to ignore that warning altogether.
If nobody opposes this, we can then update the warning to a normal warning then in
I see a trend in python community which reminds me of Windows Update annoyances or the EU cookie-gate: too much efforth spend force feeding the consumers and informing them about the future, assuming that they are are stupid or not informed enough. The famous pip version check would be another example but at least pip has the PIP_DISABLE_PIP_VERSION_CHECK=1 which can easily be added to tox.ini to silence it.
The result is pollution of almost every build log in the world. Yep, obviously that pip woudl not be the last version but WTH... I am sure neithers are the other 99.9% of the libraries used. What if glibc would start adding a stderr complaint on each call...
Should I also mention that pip displayed the py27 deprecation warnings on all py27 interpreters including pypy27 which is not scheduled for EOL on the same date. That's why I think that this approach is a waste of time as it is likely to create more annoyance, confusions and bugs than really fixing something.
I am perfectly normal to assume that a major new version could introduce issues like this and is up to the developer to assure he is using correct compatibility ranges in his reqs files.