canonical / data-platform-helpers

code for data platform pip packages, for libs please check data-platform-libs
Apache License 2.0
1 stars 0 forks source link

Update deps to be more flexible #24

Open MiaAltieri opened 4 weeks ago

MiaAltieri commented 4 weeks ago

for all tool.poetry.deps other than python, we should use the form >= where possible and use the lowest version currently used in all charms.

(perhaps we could even make a script to check this)

Batalex commented 3 weeks ago

The oldest version I found so far in our charms is 2.4. Setting the constraint to >=2.4 should make the package compatible with all our charms, even mysql-router which has an upper constraint.

However, Mysql-router and pgbouncer are compatible with python 3.8. We need to downgrade the minimal python version and set up version aware type checks.