MTES-MCT / qualicharge

Améliorer la qualité globale du service de recharge pour véhicules électriques en analysant les données de supervision.
https://beta.gouv.fr/startups/qualicharge.html
MIT License
2 stars 1 forks source link

🐛(project) fix version fetching in Sentry integration #66

Closed jmaupetit closed 2 months ago

jmaupetit commented 2 months ago

Purpose

Depending on the way QualiCharge is installed, the package version may not be available using importlib.metadata module. Leading to deployment failure during application's boot.

Proposal

Let's use a less elegant but explicit way to declare/fetch project's version using a root __version__ variable.