Skip to content

remove lxml#7090

Merged
patphongs merged 1 commit into
developfrom
feature/7076-remove-lxml
May 12, 2026
Merged

remove lxml#7090
patphongs merged 1 commit into
developfrom
feature/7076-remove-lxml

Conversation

@cnlucas
Copy link
Copy Markdown
Member

@cnlucas cnlucas commented May 7, 2026

Summary (required)

This removes lxml as I don't think we are currently using it. Wagtail used to use it a long time ago, and it was brought in here to support scrapers which I don't think we use anymore:
fec-cms/fec/search/management/commands/scrape_cms_pages.py
fec-cms/fec/search/management/commands/scrape_transition_pages.py
fec-cms/fec/search/management/commands/scrape_web_app_pages.py
fec-cms/fec/search/utils/search_indexing.py

Required reviewers

1-2 dev

How to test

  • activate your current CMS virtualenv and confirm snyk vulnerability

  • snyk test --file=requirements.txt

  • pull this branch: gh pr checkout 7090

  • pip install -r requirements.txt

  • pip install -r requirements.txt

  • rm -rf node_modules

  • npm i && run build

  • run snyk test --file=requirements.txt (confirm vulnerability is removed)

  • pytest

  • cd fec && ./manage.py runserver

Or rebuild this on stage and double check searching:
https://app.circleci.com/pipelines/github/fecgov/fec-cms/4806/workflows/3576821e-07da-4379-9abb-969e0918e7df/jobs/8392

@cnlucas cnlucas added this to the 31.6 milestone May 7, 2026
@cnlucas cnlucas requested review from johnnyporkchops, patphongs and rfultz and removed request for johnnyporkchops, patphongs and rfultz May 7, 2026 22:03
Copy link
Copy Markdown
Member

@patphongs patphongs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @cnlucas

@patphongs patphongs merged commit aece827 into develop May 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Snyk: High] Upgrade Upgrading to lxml@6.1.0 - due (05/22/2026)

2 participants