Zouxxyy opened a new pull request, #11083: URL: https://github.com/apache/paimon/pull/11083
### Purpose Fix the three `test_text_file_globs_keep_directory_boundaries` failures in the Python 3.11–3.13 and Native CI jobs when the optional `huggingface_hub` package is absent. The test currently resolves its string-based patch targets by importing that package, including for the local and FileIO cases. Provide the mocked Hub API and error module through `sys.modules` so all three backend cases run without installing an optional dependency. This changes only the test. ### Tests Reproduced the failure on Python 3.12 without `huggingface_hub`: 3 failed, 1 passed before the fix. - `python -m pytest -q pypaimon/tests/lerobot_text_fields_test.py` — 4 passed after the fix. - `python -m flake8 --config=dev/cfg.ini pypaimon/tests/lerobot_text_fields_test.py` — passed. - `git diff --check` — passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
