Skip to content

Commit

Permalink
Enforce node version on python (#888)
Browse files Browse the repository at this point in the history
### Description

We have to make sure that the Python examples stick to the `18.x`
runtime until Python is supported by the new build container.
See: https://vercel.com/docs/deployments/build-image

### Demo URL

<!--
Provide a URL to a live deployment where we can test your PR. If a demo
isn't possible feel free to omit this section.
-->

### 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?
  • Loading branch information
ofhouse committed Mar 25, 2024
1 parent 18d5530 commit 020b9fc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/django/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"engines": {
"node": "18.x"
}
}
5 changes: 5 additions & 0 deletions python/flask2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"engines": {
"node": "18.x"
}
}
5 changes: 5 additions & 0 deletions python/flask3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"engines": {
"node": "18.x"
}
}
5 changes: 5 additions & 0 deletions python/hello-world/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"engines": {
"node": "18.x"
}
}
3 changes: 3 additions & 0 deletions python/nextjs-flask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
"react-dom": "18.2.0",
"tailwindcss": "3.3.2",
"typescript": "5.0.4"
},
"engines": {
"node": "18.x"
}
}

0 comments on commit 020b9fc

Please sign in to comment.