Remove numpy from nextjs-flask to fix broken builds
Description
pip fails to install this dependency on Python 3.12
- Stacktrace: https://gist.github.com/sup/f0ff6eb90c03fbe7bd4329b0202dbbb8
- Issue: https://github.com/vercel/examples/issues/946
While fixing the root cause of the error is certainly one way of going about it, numpy is not even used for the hello-world Flask app this ships with. To simplify things, this commit removes numpy as a dependency entirely.
Demo URL
https://automaton-seven.vercel.app/
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
Not applicable
- [ ] ๐ซ
npm run new-examplewas used to create the example - [ ] ๐ The template wasn't used but I carefuly read the Adding a new example steps and implemented them in the example
- [ ] ๐ฑ Is it responsive? Are mobile and tablets considered?
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| app-dir-css-in-js | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| app-dir-i18n | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| app-dir-share-state | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| edge-functions-cookies | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| edge-functions-news | โ Failed (Inspect) | Aug 26, 2024 4:30am | ||
| edge-functions-streams | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| edge-geolocation-country-block | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| edge-middleware-modify-request-header | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| edge-user-agent-based-rendering | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| example-reduce-image-bandwidth-usage | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| i18n | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| next-edge-api-route-hello-world | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| nodejs-api | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-combining-data-fetching-strategies | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-image-fallback | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-image-offset | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-loading-web-fonts | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-microfrontends | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-microfrontends-docs | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-pagination-with-ssg | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-parallel-routes-navbar | โ Failed (Inspect) | Aug 26, 2024 4:30am | ||
| solutions-reuse-responses | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-script-component-ad | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
| solutions-script-component-strategies | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 26, 2024 4:30am |
@sup is attempting to deploy a commit to the Vercel Examples Team on Vercel.
A member of the Team first needs to authorize it.
Removed dependencies detected. Learn more about Socket for GitHub โ๏ธ
๐ฎ Removed packages: pypi/[email protected])
@dferber90 It's a bit quiet around here, but can I interest you in a review of a simple fix for a broken example? ๐
Thank you @sup! I was out of office and just came back ๐