build(ingest): allow smart-open up to 10.x
metadata-ingestion caps smart-open at <8.0.0 (s3, abs, gcs, csv-enricher, sql-queries and the slim variants). smart-open 8.0.0 (2026-06), 9.0.0 (2026-10-28) and 10.0.0 (2026-11-20) are all out, so acryl-datahub[s3] and similar extras can't be installed next to anything that needs a newer smart-open.
This raises the cap to <11.0.0:
setup.py: the six smart-open specifiers.pyproject.toml: regenerated withscripts/generate_pyproject_deps.py.verify_pyproject_equivalence.pyreports 163/163 checks passed.uv.lock:uv lock --upgrade-package smart-openmoves only smart-open, from 7.5.1 to 10.0.0, plus the specifier strings.uv lock --checkpasses.constraints.txt: re-exported with theuv exportcommand in its header. The only change issmart-open==10.0.0.scripts/check_wheel_coverage.pypasses.
DataHub uses smart_open.open(uri, mode, transport_params=...) and the .gzip alias through smart_open.compression.register_compressor(".gzip", _COMPRESSOR_REGISTRY[".gz"]). Both behave the same in 10.0.0. The breaking changes in 8.0 to 10.0 are removed deprecated helpers (smart_open.smart_open(), tweak_close, the GCS buffer_size/line_terminator params, concurrency.create_pool) and stricter SSH host-key defaults. DataHub doesn't use any of them.
Checked in python:3.11 with uv pip install -e ".[s3,abs,gcs,csv-enricher,sql-queries]" --constraint constraints.txt plus the dev test requirements. I took the generated datahub.metadata package from the 1.9.0.1 wheel, because codegen needs the Gradle build. I ran pytest tests/unit/test_file_systems.py tests/unit/test_csv_enricher_source.py tests/unit/s3 tests/unit/abs tests/unit/gcs tests/unit/test_gcs_source.py tests/unit/data_lake_common tests/unit/sql_queries:
- smart-open 7.5.1: 487 passed, 2 xfailed
- smart-open 10.0.0: 487 passed, 2 xfailed
Summary by cubic
Raises the smart-open dependency cap from <8.0.0 to <11.0.0 so that acryl-datahub[s3] and similar extras can be installed alongside packages that require a newer smart-open.
- Updates all six
smart-openspecifiers insetup.py, regeneratespyproject.tomlanduv.lock, and re-exportsconstraints.txtwithsmart-open10.0.0. - DataHub's use of
smart_open.open()and the.gzipalias is unaffected; the breaking changes in 8.0–10.0 only remove deprecated helpers DataHub doesn't use. - Verified with
pytestacross the s3, abs, gcs, csv-enricher, and sql-queries suites: 487 passed, 2 xfailed on both 7.5.1 and 10.0.0.