Merge pull request #43 from PR0M3TH3AN/codex/add-comment-explaining-shim-for-pandas_datareader

Add comment about distutils shim
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-06-01 11:11:35 -04:00
commit 938b0b7e8f
1 file changed
+1
+1
View File
@@ -24,6 +24,7 @@ logger = logging.getLogger(__name__)
try: # pragma: no cover - prefer stdlib when available
from distutils.version import LooseVersion # type: ignore
except ModuleNotFoundError: # pragma: no cover - Python >=3.12
# Work around pandas_datareader < 0.11 on Python 3.12+ without distutils
from packaging.version import Version
import types, sys