spacepy / dbprocessing

Automated processing controller for heliophysics data
5 stars 4 forks source link

Fix python 3.9 and sqlalchemy 1.4 deprecations #120

Closed jtniehof closed 2 years ago

jtniehof commented 2 years ago

This PR fixes deprecations for Python 3.9 (some of which would be errors in 3.10) and for sqlalchemy 1.4. Maintains support on earlier Python and sqlalchemy. Closes #83.

For Python 3.9/3.10:

For sqlalchemy 1.4:

This supersedes #84, which does not fix all warnings in #83 and didn't preserve namespacing on collections.

PR Checklist

We don't yet have unit tests to make sure warnings aren't raised, and I didn't add them. But the tests now pass without warnings on Python 3.10 and sqlalchemy 1.4.