pytest-postgresql icon indicating copy to clipboard operation
pytest-postgresql copied to clipboard

Maintain v3.x line with psycopg2 support

Open winglian opened this issue 3 years ago • 3 comments

What action do you want to perform

Since psycopg 3 isn't slated to for GA with SQLAlchemy until their 2.0 release, most users of SQLAlchemy are still using v1.4 with psycopg2. For those of us on SQLAlchemy v1.4, it doesn't really make sense to write tests with this fixture package that requires psycopg 3. Would you be open to maintaining the v3.x line please so that we can continue to get feature upgrades and fixes without the psycopg2 requirement. I'd be happy to help maintain that branch if so.

What are the results

What are the expected results

winglian avatar Mar 07 '22 14:03 winglian

@winglian the latest release of https://github.com/ClearcodeHQ/pytest-postgresql/tree/v3 branch got backported support for pytest 7. (3.1.3 - https://pypi.org/project/pytest-postgresql/3.1.3/ )

I'm open to backporting fixes to v3, but won't actively pursue it. Not sure if there's something major to get backported though 🤔
The actions and branch protection rules are in place for incoming Pull requests.

fizyk avatar Mar 08 '22 09:03 fizyk

Thanks @fizyk. That was exactly what I was looking for. I assumed 3.1.2 was the end of the road for 3.x when I was looking at the changelog in main and I didn't think to look in pypi.

winglian avatar Mar 08 '22 11:03 winglian

Thanks to you it'll be bit easier to find :)

fizyk avatar Mar 08 '22 12:03 fizyk