Specify python_requires to prevent installation on Python 3#67
Specify python_requires to prevent installation on Python 3#67agronholm merged 1 commit intoagronholm:masterfrom eli-schwartz:master
Conversation
|
It won't shadow it because stdlib imports cannot be overridden, unless very explicit measures are taken. |
|
Don't drop the condition in |
This package is *not* python 3 comppatible at all, and depending on the fact that, usually, it will be shadowed by the stdlib and not get imported at all is less technically correct than just not installing it at all.
|
Well, apparently I should not be doing this late at night. :D Naturally, '' will override the stdlib, and byte-compiling it provides an awkward error message from setuptools (that pip -v might even show). Still as a matter of technical correctness this should be done. And it would head off bugs like this at the pass, since distros quite naturally do not package futures for python3 and projects should fix themselves. force-pushed; the warning is useful anyway I guess, for manual clone + install via |
|
Thanks. |
Rather than merely being pointless to install on Python 3, this package
will actually cause syntax errors on Python 3.
This is a problem as installing it anyway will shadow the version in
the stdlib.