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

chore: Upgrade flask to 2.2.5 and remove py37 support #2224

Closed
wants to merge 9 commits into from

Conversation

kristenarmes
Copy link
Contributor

@kristenarmes kristenarmes commented Dec 20, 2023

Description

This change upgrades flask to version 2.2.5 and upgrades its related dependencies. The newer version of werkzeug was not compatible with python 3.7, so also removing support for that here since it is no longer widely supported anyway.

  • Upgrading flask to 2.2.5
  • werkzeug was subsequently upgraded to 3.0.1, which is not compatible with py37 so removing py37 support
  • With removal of py37, needed to upgrade mypy, leading to various mypy fixes

Motivation and Context

We are going to be upgrading our services to py3.10 soon, and we ran into some issues with the older version of flask. This change will also help resolve some security vulnerabilities for the project and remove outdated support.

How Has This Been Tested?

I installed the requirements files locally and ran our 3 services (frontend, search, and metadata) to make sure the build worked and to test them manually.

Documentation

N/A

CheckList

  • PR title addresses the issue accurately and concisely
  • Updates Documentation and Docstrings
  • Adds tests
  • Adds instrumentation (logs, or UI events)

@boring-cyborg boring-cyborg bot added area:frontend From the Frontend folder area:metadata From the metadata folder area:search From the search folder labels Dec 20, 2023
@boring-cyborg boring-cyborg bot added area:common From common folder area:databuilder From databuilder folder area:dev-tools area:docs labels Dec 20, 2023
@kristenarmes kristenarmes changed the title chore: Upgrade flask to 2.2.5 and related dependencies chore: Upgrade flask to 2.2.5 and remove py38 support Dec 20, 2023
@kristenarmes kristenarmes changed the title chore: Upgrade flask to 2.2.5 and remove py38 support chore: Upgrade flask to 2.2.5 and remove py37 support Dec 20, 2023
@kristenarmes
Copy link
Contributor Author

Made these changes in incremental PRs, closing this one

@kristenarmes kristenarmes deleted the karmes-upgrade-flask branch April 4, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:common From common folder area:databuilder From databuilder folder area:dev-tools area:docs area:frontend From the Frontend folder area:metadata From the metadata folder area:search From the search folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant