From 253f37af91a494f51eab248f8542cee36bacdd1e Mon Sep 17 00:00:00 2001 From: Linh Pham Date: Sun, 29 Oct 2023 13:58:49 -0700 Subject: [PATCH 1/2] Upgrade to Flask 3 --- CHANGELOG.md | 13 +++++++++++++ app/version.py | 2 +- requirements-dev.txt | 10 +++++----- requirements.txt | 4 ++-- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e51538..fe309fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changes +## 2.5.0 + +### Component Changes + +- Upgrade Flask from 2.3.2 to 3.0.0 +- Upgrade gunicorn from 20.1.0 to 21.2.0 + +### Development Changes + +- Upgrade pycodestyle from 2.11.0 to 2.11.1 +- Upgrade pytest from 7.4.0 to 7.4.3 +- Upgrade black from 23.7.0 to 23.10.1 + ## 2.4.0 ### Component Changes diff --git a/app/version.py b/app/version.py index 78c593b..b551919 100644 --- a/app/version.py +++ b/app/version.py @@ -5,4 +5,4 @@ # graphs.wwdt.me is released under the terms of the Apache License 2.0 """Application Version for Wait Wait Graphs Site""" -APP_VERSION = "2.4.0" +APP_VERSION = "2.5.0" diff --git a/requirements-dev.txt b/requirements-dev.txt index fd73ed8..501eda5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,9 +1,9 @@ flake8==6.1.0 -pycodestyle==2.11.0 -pytest==7.4.0 -black==23.7.0 +pycodestyle==2.11.1 +pytest==7.4.3 +black==23.10.1 -Flask==2.3.2 -gunicorn==20.1.0 +Flask==3.0.0 +gunicorn==21.2.0 wwdtm==2.4.0 diff --git a/requirements.txt b/requirements.txt index a7825c8..e96bfbc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Flask==2.3.2 -gunicorn==20.1.0 +Flask==3.0.0 +gunicorn==21.2.0 wwdtm==2.4.0 From 486b3abf85d47289995b7b2885fb556b6be19495 Mon Sep 17 00:00:00 2001 From: Linh Pham Date: Sun, 29 Oct 2023 14:21:30 -0700 Subject: [PATCH 2/2] Update pyproject.toml with correct Black and pytest versions --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4c3ed70..e10c349 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [tool.black] -required-version = "23.7.0" -target-version = ["py38", "py39", "py310", "py311"] +required-version = "23.10.1" +target-version = ["py38", "py39", "py310", "py311", "py312"] [tool.pytest.ini_options] -minversion = "7.0" +minversion = "7.4" filterwarnings = [ "ignore::DeprecationWarning:mysql.*:", ]