Area: Ingestion Sub-Area: Announcements
Applies to: OSS + Cloud
Issue
This is a dated incident note. On Feb 8, 2026, setuptools released version 82.0.0. That version removed pkg_resources. Some ingestion sources import pkg_resources when they load, so ingestion for those sources failed on CLI versions that had no fix for it. Two examples are the Redshift and CockroachDB SQLAlchemy dialects.
You Might Be Asking
- Do I still need to pin setuptools?
- Which CLI version should I run now?
- How do I set the CLI version for UI ingestion?
Cause
setuptools 82.0.0 and later no longer include pkg_resources. The sqlalchemy-redshift and sqlalchemy-cockroachdb dialects run import pkg_resources when they load, so the affected sources failed on import. acryl-datahub 1.3.1.7.post1 pins setuptools<82.
Solution
Update (Nov 2026): current CLIs need no pin
acryl-datahub 1.7.0.20 includes a pkg_resources shim. It provides pkg_resources when setuptools 82 or later has removed it, and it uses a real pkg_resources when one is installed. If you run 1.7.0.20 or later, you don't need to pin setuptools. Upgrade to the latest release instead of pinning.
Check your version with python3 -m datahub version. See the CLI reference.
If you can't upgrade yet
The pin below applies only to older CLIs.
-
CLI outside UI ingestion: Upgrade acryl-datahub to 1.7.0.20 or later. To stay on an older CLI, install with the pin:
pip install "setuptools<82.0.0" acryl-datahub. -
DataHub Cloud or UI ingestion: In the source's Advanced Settings, set CLI Version to 1.7.0.20 or later. Write the version without a
vprefix, for example1.7.0.20. If you stay on an older CLI, add the following to Extra Pip Libraries. Use straight double quotes so the value is a valid JSON list:["setuptools<82.0.0"]Extra pip packages are not available on locked executor images. See UI ingestion.
-
Self-hosted DataHub only: Set the Helm value
global.datahub.managed_ingestion.defaultCliVersionto the CLI version you want UI ingestion to use, for example1.7.0.20. The chart default is1.3.1.7.post1. The GMS Helm template passes this value to GMS as the environment variableUI_INGESTION_DEFAULT_CLI_VERSION, which GMS reads asingestion.defaultCliVersion.
After you change the version, run python3 -m datahub version where the CLI runs, then run an ingestion. See the CLI reference for the version command.
If you need help, sign in to the Support Portal or contact DataHub Support through your usual channel.