Skip to content

Upgrade to sqlalchemy >=2.0 does not currently work

We have two main issues blocking this:

  1. Related to type hints and stubs, the sphinx documentation does not correctly generate anymore with the following error message: WARNING: Failed guarded type import with ImportError("cannot import name '_RegistryType' from 'sqlalchemy.orm._typing' (/Users/andre/mamba/envs/gridtk/lib/python3.10/site-packages/sqlalchemy/orm/_typing.py)")
  2. The test with the local job manager (test_local) fails with missing jobs in the database.