sunank200 commented on code in PR #51153:
URL: https://github.com/apache/airflow/pull/51153#discussion_r2132176183
##########
devel-common/src/docs/build_docs.py:
##########
@@ -197,6 +197,16 @@ def
perform_spell_check_for_single_package(build_specification: BuildSpecificati
"""Performs single package spell check."""
builder = AirflowDocsBuilder(package_name=build_specification.package_name)
builder.is_autobuild = build_specification.is_autobuild
+ if build_specification.package_name == "task-sdk":
+ console.print(
+ f"[bright_blue]{build_specification.package_name:60}:[/] Skipping
spelling check (not supported)"
Review Comment:
It is complaining for `enchant` without it and when I installed
https://pypi.org/project/pyenchant/ it was still complaining the same. So I had
skipped it for now
```
task-sdk The above
exception was the direct cause of the following exception:
task-sdk
task-sdk Traceback
(most recent call last):
task-sdk File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/sphinx/cmd/build.py",
line 414, in build_main
task-sdk app =
Sphinx(
task-sdk
^^^^^^^
task-sdk File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/sphinx/application.py",
line 294, in __init__
task-sdk
self.preload_builder(buildername)
task-sdk File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/sphinx/application.py",
line 403, in preload_builder
task-sdk
self.registry.preload_builder(self, name)
task-sdk File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/sphinx/registry.py",
line 193, in preload_builder
task-sdk
self.load_extension(app, entry_point.module)
task-sdk File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/sphinx/registry.py",
line 544, in load_extension
task-sdk raise
ExtensionError(
task-sdk
sphinx.errors.ExtensionError: Could not import extension sphinxcontrib.spelling
(exception: The 'enchant' C library was not found and maybe needs to be
installed.
task-sdk See
https://pyenchant.github.io/pyenchant/install.html
task-sdk for details
task-sdk )
```
--
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]