Open yym68686 opened 3 months ago
What does your requirements.txt file look like? It doesn't look like you have one defined
Yes, because requirements.txt is not supported now, I did not add the requirements.txt file.
requirements.txt
is the only way we support these packages, they cannot be deployed yet but it will be possible soon.
Thank you for the reply. I hope to use requirements.txt to deploy the project as soon as possible. Do you have a specific timeline? A month, six months, or a year?
@dom96 Seconding @yym68686 question. Any broad timeline ?
@dom96 Seconding @yym68686 question. Any broad timeline ?
@dom96 does this mean that we cannot deploy fastapi apps in the example at the moment?
Hey @yym68686, @mmabrouk, & @afeezaziz,
Regarding timing on package support, I think a very rough estimate would be something like 6 months for open beta package support in prod. We donβt have a firm date, but in any case, I wouldnβt build something today with the expectation that this is just around the corner.
Some context is that current Python startup times with packages are long enough where we think cold starts would impact end-users regularly in a non-trivial way. We are working on two things: reducing cold start length and reducing cold start frequency for Python. Weβve got a good plan on both (pre-initializing isolates with Pyodide and loading package memory snapshots to reduce time & smartly routing requests to re-use Workers that are already loaded), but itβll take some time to execute on this.
Sorry if that timeline is disappointing. It is longer than we wanted it to be on our end as well.
Thanks for the quick answer @mikenomitch ! Looking forward to it. I think if you get this right, cloudflare could become the place to host genAI applications.
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
wrangler 3.63.2
What version of Node are you using?
v20.13.1
What operating system and version are you using?
Mac 14.4.1
Describe the Bug
Observed behavior
display
Expected behavior
No error, can import the httpx module
Steps to reproduce
Please provide the following:
wrangler.toml
An error occurred immediately after executing wrangler deploy.
A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs