fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
91 stars 38 forks source link

upgrade jinja v3.1.4 #6351

Open tmpayton opened 1 week ago

tmpayton commented 1 week ago

Summary (required)

This ticket upgrades Jinja2 to remove a security vulnerability.

Required reviewers 1 developer

Impacted areas of the application

General components of the application that this PR will affect:

How to test

  1. Checkout this branch
  2. Activate your virtualenv
  3. pip install -r requirements.txt
  4. Check that vulnerability is gone: snyk test --file=requirements.txt --package-manager=pip
  5. cd fec/
  6. ./manage.py runserver
  7. Test several types of pages to make sure they render correctly (homepage, legal pages, datatables etc.)
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.83%. Comparing base (1cf33dc) to head (cbf0bf5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #6351 +/- ## ======================================== Coverage 77.83% 77.83% ======================================== Files 291 291 Lines 9486 9486 Branches 687 687 ======================================== Hits 7383 7383 Misses 2103 2103 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.