Closed pshchelo closed 4 years ago
Yeah, thanks, I guess I forgot to update the classifiers. Thanks for noticing and for the patch, I'll release 2.0.2 after merging that.
It ended up being 2.0.3 as universal wheels also needed to be turned off.
verified under Py2, 1.49 is installed. Thanks!
Thank you!
AFAIU the reason is that setup.cfg has
Programming Language :: Python
but notProgramming Language :: Python :: 3 :: Only
identifiers.Even latest pip under Python 2.7 attempts to install gabbi 2.x
One can even see that the wheel is designated as
py2.py3
However in fact gabbi is not compatible with Py2 now, as it dropped requirement for testtools which was a 'backport' of unittest std lib to Py2 in some sense. Now running gabby 2.x under Py2 (sometimes? always?) results in errors like
AttributeError: 'gabbit' object has no attribute 'assertRegex'
I propose to add
Python :: 3 :: Only
metadata to setup.cfg, make a new release and pull previous 2.x releases from PyPI to not break / confuse legacy installations (yes, I know Py2 must die, but such is life of a legacy maintainer :-/).