open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.76k stars 614 forks source link

Upgrade Jinja2 version in example project flask-gunicorn #3842

Closed qiuge615 closed 5 months ago

qiuge615 commented 5 months ago

Describe your environment The xmlattr filter in affected version of Jinja2 3.1.2 accepts keys containing spaces. XML/HTML attributes cannot contain spaces, as each would then be interpreted as a separate attribute. Upgrade Jinja2 from version 3.1.2 to 3.1.3 in docs/examples/fork-process-model/flask-gunicorn/requirements.txt to fix Jinja2 issue.

Steps to reproduce Check Jinja2 version in docs/examples/fork-process-model/flask-gunicorn/requirements.txt

What is the expected behavior? Using Jinja2 version 3.1.3 in docs/examples/fork-process-model/flask-gunicorn example project

What is the actual behavior? Uses old version Jinja2 3.1.2 in docs/examples/fork-process-model/flask-gunicorn example project

Additional context N/A

qiuge615 commented 5 months ago

I will work on this and create a pull request shortly.