Area: Ingestion Issues
Sub-Area: Dependency Conflicts and Security Vulnerability Management
Applies to: OSS + Cloud
Issue
Your security scanner flags setuptools and asks for version 83.0.0 or later (CVE-2026-59890). Older acryl-datahub releases require setuptools<82.0.0, so you can't install the fixed setuptools next to them. If you force setuptools 82 or later into an environment with an older acryl-datahub, pip reports a dependency conflict and some ingestion sources fail when they load.
Error Messages
ModuleNotFoundError: No module named 'pkg_resources'
You Might Be Asking
- Why did
acryl-datahubcapsetuptoolsbelow 82? - Can I install
setuptools>=83withacryl-datahubnow? - Which
acryl-datahubversion do I need? - Which DataHub Cloud Remote Executor image ships a fixed setuptools?
Cause
setuptools 82 removed the pkg_resources module. Up to and including acryl-datahub 1.7.0.10, the package required setuptools<82.0.0 because some dependencies imported pkg_resources at runtime:
-
stopit==1.1.2, used by thepowerbiextra -
mlflow, used by themlflowextra - the
sqlalchemy-redshiftandsqlalchemy-cockroachdbSQLAlchemy dialects
With setuptools 82 or later and an older acryl-datahub, these imports fail with ModuleNotFoundError: No module named 'pkg_resources'.
acryl-datahub 1.7.0.11 and later have no setuptools bound. DataHub copied the stopit timeout code into acryl-datahub, so the powerbi extra no longer installs stopit. import datahub also installs a small pkg_resources fallback. It only loads when no real pkg_resources exists, and it implements only the functions those dialects use.
Solution
- Check the versions you run now.
datahub version
python -c "import setuptools; print(setuptools.__version__)"
- Upgrade
acryl-datahubto 1.7.0.12 or later. The latest release is best. Install the same extras you use today. See DataHub CLI for install options.
python3 -m pip install --upgrade 'acryl-datahub[<your-extras>]'
- Upgrade setuptools after
acryl-datahubis upgraded.
python3 -m pip install --upgrade 'setuptools>=83'
DataHub's own ingestion images now use setuptools 84.1.0 or later, which also fixes GHSA-xmj3-9gf7-h52w. acryl-datahub sets no upper bound, so you can install that version too.
- If you can't upgrade
acryl-datahubyet, keep setuptools below 82 in that environment. A newer setuptools next to 1.7.0.10 or earlier breaks the sources listed under Cause.
DataHub Cloud Remote Executor
Remote Executor images v2.3.1-cloud and later ship setuptools 84.0.0 or later. v2.3.0-cloud and earlier still ship setuptools 81.0.0. Upgrade your Remote Executor image to v2.3.1-cloud or later to clear the finding. See the v2.3.x release notes.
Self-hosted DataHub images
From DataHub v1.8.0, the datahub-actions image applies setuptools>=83.0.0. The change is listed under v1.8.0 in Breaking Changes by Version.
Airflow
If you install acryl-datahub with an Airflow constraints file, that file sets the setuptools version, not DataHub. DataHub no longer supports Airflow 2.x. The DataHub Airflow plugin requires Airflow 3, and plugin fixes ship only for Airflow 3.