Extension:SyntaxHighlight/Updating pygments

To update the version of Pygments, follow the following instructions.

On Wikimedia sites
Have an SRE member upload a new version of the python3-pygments package to apt.wikimedia.org in the  component (see current package listing).

Rebuild the Shellbox container and update the image version for the shellbox-syntaxhighlight deployment. And then deploy it. It'll take roughly an hour for Special:Version to update, triggering cache invalidation of all highlighted content.

Bundled copy
In a checkout of the SyntaxHighlight git repo, run. Then run the maintenance scripts  and   and commit the result.