Today we have a transitive dependency on matplotlib and pil, which causes all sorts of problems. For example:
We want to remove that dependency. I looked through our poetry.lock file and it seems like the dependency on matplotlib and pil come only from prometheus-api-client. (matplotlib/pil appear in other 'extra' dependencies, which is fine and doesn't force a dependency for us AFAIK)
There are upstream issues for this in prometheus-api-client:
But they haven't been fixed for years, so I suggest forking prometheus-api-client and fixing it in our fork so we can have an immediate solution.
Today we have a transitive dependency on matplotlib and pil, which causes all sorts of problems. For example:
We want to remove that dependency. I looked through our poetry.lock file and it seems like the dependency on matplotlib and pil come only from prometheus-api-client. (matplotlib/pil appear in other 'extra' dependencies, which is fine and doesn't force a dependency for us AFAIK)
There are upstream issues for this in prometheus-api-client:
PrometheusConnectwithout also importing **huge** pandas and matplotlib 4n4nd/prometheus-api-client-python#225But they haven't been fixed for years, so I suggest forking prometheus-api-client and fixing it in our fork so we can have an immediate solution.