comet-ml / issue-tracking

Questions, Help, and Issues for Comet ML
https://www.comet.ml
85 stars 7 forks source link

Getting deprecation warnings from comet-ml Python package #499

Closed mina-asham closed 11 months ago

mina-asham commented 1 year ago

Describe the Bug

Getting these warnings in the console whenever comet_ml is loaded:

<FULL_PATH_REMOVED>/python3.9/site-packages/comet_ml/monkey_patching.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

Expected behavior

Not to get a warning

Where is the issue?

To Reproduce

Steps to reproduce the behavior:

# Only to make sure the warning shows
import warnings
warnings.simplefilter('always', DeprecationWarning)

# Actual root cause
import comet_ml

Stack Trace

N/A

Comet Debug Log

N/A

Screenshots or GIFs

N/A

Link to Comet Project/Experiment

N/A

Additional context

N/A

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 5 days with no activity.