Closed miketheman closed 1 year ago
As of today, we've updated all the libraries and associated code to make them work.
There's still outstanding work to convert to SQLAlchemy 2.0 ORM PEP-484 support, but that can be completed outside this work.
Major kudos to @di, @ewdurbin , @dstufft for all their work on making this happen!
We've got newer libraries to look at for database accesses, and need a sane workflow to get us to the finish line.
Here's an outline of execution:
SQLALCHEMY_WARN_20=1
to surface all Deprecation warnings, resolve those post-hastefuture=True
onsessionmaker
&create_engine
and run testsEvent.ip_address
magic, which we should probably remove after every Event has a relatedIPAddress
(see #13804 #13823 #13842)sqlalchemy-citext
as it's no longer needed, there's a built-in https://docs.sqlalchemy.org/en/20/dialects/postgresql.html#sqlalchemy.dialects.postgresql.CITEXTpsycopg3
- see https://github.com/pypi/warehouse/pull/10742pytest-postgresql
to 5.x