Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Jinja2 v3.1.3 #396

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Upgrade to Jinja2 v3.1.3 #396

merged 1 commit into from
Jan 16, 2024

Conversation

benjsmi
Copy link
Contributor

@benjsmi benjsmi commented Jan 16, 2024

The version of Sphinx we were using is simply not compatible with Jinja2 > v3.0.3, so given that we had to upset the delicate balance of requirements anyway, the goal of this PR is now to bring all docs infrastructure for CI/CD as well as dependencies and indeed the docs themselves to the latest version.

Type of change

  • Documentation update

Description

Motivation is https://nvd.nist.gov/vuln/detail/CVE-2024-22195, quite simply. But the version of Sphinx that we were using was many years old and does not support a version of Jinja higher than v3.0.3. So we need to update the entire set of dependencies for the documentation.

Additional details

I will make whatever changes are needed to the docs and/or to the CI/CD pipeline to make this compatible with Sphinx v7.2.6, which is the latest. Please let me know if something isn't right or needs fixing, because this is the time to do it.

Related issues

Release Note

This change does NOT impact users of Fabric CA, nor shall it impact the functionality of any CA release, past, future, present. We are also unlikely to merge it until the docs look correct on RTD. But be advised that they may indeed change.

@benjsmi benjsmi requested review from a team as code owners January 16, 2024 21:29
The version of Sphinx we were using is simply not compatible
with Jinja2 > v3.0.3, so given that we had to upset the delicate
balance of requirements anyway, the goal of this PR is now to
bring all docs infrastructure for CI/CD as well as dependencies
and indeed the docs themselves to the latest version.

Signed-off-by: Ben Smith <[email protected]>
@denyeart denyeart merged commit 170d68e into hyperledger:main Jan 16, 2024
4 of 5 checks passed
@benjsmi benjsmi deleted the fix-Jinja2 branch January 17, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants