You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As such line happens to be 74th of dash.py, I replaced it on the fly (adding import importlib.metadata before it) and that solved the issue, my slimmed Docker image was working.
Surely mine is a weird issue, but if a solution to another problem was able to solve my issue too, maybe it is worth reporting it, so that some expert can evaluate if the above replacement should be adopted permanently.
The text was updated successfully, but these errors were encountered:
My issue was indirectly solved, I guess, by Dash 2.7.0 with #2291 which made flask-compress optional, and since I don't need it it's ok for me. I haven't tested if enabling flask-compress with Dash 2.7.1 (current version while I write), but I'm closing the issue, feel free to reopen it if you want to investigate further.
I have a web app using
where in particular
The Docker image of the app is working fine, but when I tried to reduce its size with
docker-slim
I got the errorLooking for that error I found a comment (about another problem giving the same error) suggesting to replace the line originating the error
with
As such line happens to be 74th of
dash.py
, I replaced it on the fly (addingimport importlib.metadata
before it) and that solved the issue, my slimmed Docker image was working.Surely mine is a weird issue, but if a solution to another problem was able to solve my issue too, maybe it is worth reporting it, so that some expert can evaluate if the above replacement should be adopted permanently.
The text was updated successfully, but these errors were encountered: