News for hackers. Stuff that matters.
Re:Python dicts are now ordered by ryebit on Friday February 07, 2020 @11:26AM (#22267557)
If your code relies on a minimum python version, you can add `python_requires=">=3.5"` to your setup.py [https://packaging.python.org/guides/distributing-packages-us...] to ensure it's not installed on older releases.

That field itself is kinda new; but if needing to block users with older versions, that shouldn't be an issue.

Re:Python dicts are now ordered by hprotagonist on Friday February 07, 2020 @12:32PM (#22268426)
personally, i just drop a f-string in setup.py and that'll filter out any python for which this issue pertains.
Re:Python dicts are now ordered by baq on Friday February 07, 2020 @01:11PM (#22268882)
This might not work if you’re distributing a wheel.
Re:Python dicts are now ordered by AdamN on Friday February 07, 2020 @12:49PM (#22268625)
Python 3.4 is EOL anyway so there's no need to do this. Anybody running 3.4 is already unsupported.
Re:Python dicts are now ordered by hprotagonist on Friday February 07, 2020 @06:42PM (#22272389)
and 3.5 dies in september. hurray!