ecotaxa / ecotaxa_back

Backend of the EcoTaxa application
GNU General Public License v3.0
6 stars 5 forks source link

Version bump of many packages is needed #55

Open grololo06 opened 1 year ago

grololo06 commented 1 year ago

The various packages should be upgraded progressively to avoid a future situation when e.g. python itself is not supported and we get stuck in antique/vulnerable libraries. This can lead to clearer code as the libs generally move to python typings. Performance could be improved as well, eliminating the need for some bottleneck workaround like today. I had a quick look and we e.g. have https://docs.sqlalchemy.org/en/20/index.html which can use https://www.psycopg.org/psycopg3/docs/basic/index.html. fastapi/pydantic is frequently updated as well. So far the only abandoned library I saw is https://pypi.org/project/sqlalchemy-views/ from which we only use a pair of primitives.

grololo06 commented 1 year ago

fastapi_utils seems abandoned, used to show the timings of API calls.