plotly / Kaleido

Fast static image export for web-based visualization libraries with zero dependencies
MIT License
378 stars 38 forks source link

Use of deprecated setDaemon API #171

Open gmacon opened 10 months ago

gmacon commented 10 months ago

In Python 3.10, the isDaemon/setDaemon API on Thread was deprecated in favor of just using the daemon attribute directly. This produces this warning during tests:

  .../site-packages/kaleido/scopes/base.py:188: DeprecationWarning:

  setDaemon() is deprecated, set the daemon attribute instead
amgcc commented 10 months ago

Are there any plans to release a new version of streamlit? This is fixed on the master branch but not available to conda users.

gvwilson commented 3 months ago

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson

YaolinGe commented 4 weeks ago

Image In the ~/site-packages/kaleido/scopes/base.py, Comment out line 188, and use self._std_error.thread.daemon = True seems working.

jkittner commented 1 week ago

This was resolved by #146 but there has not been a release since