-
-
Notifications
You must be signed in to change notification settings - Fork 47
Missing setuptools dependency for python 3.13+ #111
Copy link
Copy link
Open
Description
Describe the issue:
Python no longer bundles setuptools, so there is an implicit dependency on a package that might be missing, especially if running in a virtualenv.
Minimal Complete Verifiable Example:
python -m venv demo
source demo/bin/activate
pip install dask-glm==0.3.2import dask_glm
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import dask_glm
File "/.../demo/lib/python3.13/site-packages/dask_glm/__init__.py", line 1, in <module>
from pkg_resources import DistributionNotFound, get_distribution
ModuleNotFoundError: No module named 'pkg_resources'Anything else we need to know?:
The workaround showing this is the issue, which still issues a UserWarning, but that is a separate issue.
pip install setuptools==80.9.0import dask_glm
/.../demo/lib/python3.13/site-packages/dask_glm/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import DistributionNotFound, get_distributionEnvironment:
- Dask version: dask-glm==0.3.2
- Python version: 3.13
- Operating System: MacOS
- Install method (conda, pip, source): pip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels