Skip to content

Commit f7604d1

Browse files
authored
fix flask example (#1252)
### Description tiny bugfix in flask example + gitignore ### Demo URL ### Type of Change - [ ] New Example - [x] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent a08ac73 commit f7604d1

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

python/flask/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.vercel
2+
*.log
3+
*.pyc
4+
__pycache__
5+
6+
# Environments
7+
.env
8+
.venv
9+
env/
10+
venv/
11+
ENV/
12+
env.bak/
13+
venv.bak/

python/flask/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ name = "vercel-flask-starter"
33
version = "0.1.0"
44
requires-python = ">=3.9"
55
dependencies = [
6-
"flask~=3.1",
7-
"gunicorn~=23.0.0
6+
"flask>=3.1,<4.0",
7+
"gunicorn~=23.0.0"
88
]

0 commit comments

Comments
 (0)