Repository navigation
Conversation
Raise the smart-open cap from <8.0.0 to <11.0.0 in setup.py, regenerate pyproject.toml, and lock smart-open 10.0.0 (uv lock --upgrade-package smart-open; constraints.txt re-exported).
Contributor
|
Linear: ING-4341 Thanks for your contribution! We have created an internal ticket to track this PR. A member of the core DataHub team will be assigned to review it within the next few business days - you will get a follow-up comment once a reviewer is assigned. |
Bundle ReportBundle size has no change ✅ |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
metadata-ingestioncapssmart-openat<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, soacryl-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.gzipalias throughsmart_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 GCSbuffer_size/line_terminatorparams,concurrency.create_pool) and stricter SSH host-key defaults. DataHub doesn't use any of them.Checked in
python:3.11withuv pip install -e ".[s3,abs,gcs,csv-enricher,sql-queries]" --constraint constraints.txtplus the dev test requirements. I took the generateddatahub.metadatapackage from the 1.9.0.1 wheel, because codegen needs the Gradle build. I ranpytest 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:Summary by cubic
Raises the
smart-opendependency cap from<8.0.0to<11.0.0so thatacryl-datahub[s3]and similar extras can be installed alongside packages that require a newersmart-open.smart-openspecifiers insetup.py, regeneratespyproject.tomlanduv.lock, and re-exportsconstraints.txtwithsmart-open10.0.0.smart_open.open()and the.gzipalias is unaffected; the breaking changes in 8.0–10.0 only remove deprecated helpers DataHub doesn't use.pytestacross the s3, abs, gcs, csv-enricher, and sql-queries suites: 487 passed, 2 xfailed on both 7.5.1 and 10.0.0.Written for commit 117fe34. Summary will update on new commits.