Closed amotl closed 1 year ago
After making sure we are on Python 3, the suggested second step of the migration guide is to run the test suite with RemovedIn20Warnings
enabled.
# Unit tests tests only (~2 seconds)
SQLALCHEMY_WARN_20=1 ./bin/test -vvv -t SqlAlchemy
# Integration tests (~50 seconds)
SQLALCHEMY_WARN_20=1 ./bin/test -vvv -t sqlalchemy
Here we go. Lot's of stuff to work on. Corresponding patches will be conceived on top of crate/crate-python#464 / amo/doctests-refactoring
, and crate/crate-python#485 makes a start by enabling RemovedIn20Warnings
and by mitigating all corresponding deprecation warnings.
-- SQLAlchemy migration to 2.0 Step Two - Turn on RemovedIn20Warnings
SQLAlchemy 2.0.0b1 Released
What's new?, migration guide, changelog, and release notes
On PyPI