Closed goetzk closed 6 years ago
This library was never intended to be compatible with Python 2. I'm actually surprised that pip let you install it since we set requires-python
in the metadata here. Sorry about that!
@wesleykendall based on this bug report I think we're supposed to use python-requires
not requires-python
. I fixed this and also added a manual check for versions of pip older than 9.0.
Thanks for the quick response.
I was surprised it installed too, but I tried because despite pypi listing the 'Py version' as 3 and the install example being 'pip3 install', the page also has 'requires distribution' of 'pytest (<3.3,>=3.0); (python_version<"3.4")'.
https://pypi.python.org/pypi/pytest-pgsql
I guess I'll come back to pytest-pgsql when the codebase I'm working on is python 3 aware!
Hi, I'm giving pytest-pgsql a try (thanks!) but when I try and run it there appears to be some code that is not python 2.7 compatible.
See here for a pre existing discussion about this problem: https://stackoverflow.com/questions/35673474/using-abc-abcmeta-in-a-way-it-is-compatible-both-with-python-2-7-and-python-3-5
Package install: