Skip to content

Commit

Permalink
python 3.8 EOL, use Flask 3
Browse files Browse the repository at this point in the history
  • Loading branch information
counik committed Oct 14, 2024
1 parent 1cb61bf commit 6aa42d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions example_app/app.template.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import importlib.metadata as importlib_metadata # Python ^3.9 change

from flask import Flask, jsonify

Expand All @@ -13,6 +14,7 @@ def index():

APP_VERSION = None


@app.route("/status")
def status():
global APP_VERSION
Expand Down
4 changes: 2 additions & 2 deletions pyproject.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description = ""
authors = []

[tool.poetry.dependencies]
python = "^3.8"
Flask = "^2.0.2"
python = "^3.9"
Flask = "^3.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
Expand Down

0 comments on commit 6aa42d2

Please sign in to comment.