Skip to content

[IMP] github_connector_odoo: Add pygments to external dependencies#144

Open
BhaveshHeliconia wants to merge 1 commit into
OCA:18.0from
HeliconiaIO:18.0-imp-github_connector_odoo
Open

[IMP] github_connector_odoo: Add pygments to external dependencies#144
BhaveshHeliconia wants to merge 1 commit into
OCA:18.0from
HeliconiaIO:18.0-imp-github_connector_odoo

Conversation

@BhaveshHeliconia

Copy link
Copy Markdown

Current Behavior: During the repository source code analysis process, the github_connector_odoo module frequently parses the README.rst files of the downloaded Odoo modules. Because Odoo's docutils integration relies on pygments to render .. code-block:: syntax highlighting, analyzing repositories that contain code blocks in their documentation throws missing dependency warnings/errors in the server logs if pygments is not installed on the host machine. This can clutter the logs significantly during bulk repository analysis.

Benefits:
Enforces the installation of pygments at the environment level before the module can be installed.
Ensures that all parsed README.rst files are properly sanitized and their code blocks receive correct syntax highlighting without throwing warnings in the Odoo server logs.

@OCA-git-bot OCA-git-bot added series:18.0 mod:github_connector_odoo Module github_connector_odoo labels Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:github_connector_odoo Module github_connector_odoo series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants