Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove numpy from nextjs-flask to fix broken builds #947

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

sup
Copy link
Contributor

@sup sup commented Aug 26, 2024

Description

pip fails to install this dependency on Python 3.12

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
  • Example updates (Bug fixes, new features, etc.)
  • Other (changes to the codebase, but not to examples)

New Example Checklist

Not applicable

  • 🛫 npm run new-example was 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?

pip fails to install this dependency on Python 3.12 vercel#946

While fixing 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.
Copy link

vercel bot commented Aug 26, 2024

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

Copy link

vercel bot commented Aug 26, 2024

@sup is attempting to deploy a commit to the Vercel Examples Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: pypi/[email protected])

View full report↗︎

@sup
Copy link
Contributor Author

sup commented Sep 15, 2024

@dferber90 It's a bit quiet around here, but can I interest you in a review of a simple fix for a broken example? 👀

@leerob leerob merged commit 6afd45a into vercel:main Sep 15, 2024
25 of 66 checks passed
@dferber90
Copy link
Contributor

Thank you @sup! I was out of office and just came back 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants