Open PeterZhizhin opened 2 months ago
Looks like others are facing the same issue, see #5608
I am facing this issue as well. I was also able to reproduce it with hello world example. When i deploy the worker first time it works, but with when I try to re-deploy with any change it doesn't work.
Same error message and i also have wrangler 3.76.0.
Hello, @MilosNikolic I'm not able to reproduce issues when deploying the hello world example multiple times. What error are you getting.
@PeterZhizhin I believe that there may be a bug in our permissions for uploading modules, which should be permitted, we will investigate next week.
@PeterZhizhin I believe we released some changes last week which should have resolved this, can you try again?
Any status on this ? I'm getting the same error, when I do a basic test with a requirements file, with fastapi.
I'm following your example in https://blog.cloudflare.com/python-workers/
โฒ [WARNING] The entrypoint src/entry.py defines a Python worker, support for Python workers is currently experimental. Python workers with a requirements.txt file can only be run locally and cannot be deployed.`
Which is not what the blog post describes.
Any status on this ? I'm getting the same error, when I do a basic test with a requirements file, with fastapi.
I'm following your example in https://blog.cloudflare.com/python-workers/
And I'm getting
โ ๏ธ wrangler 3.81.0 โฒ [WARNING] The entrypoint src/entry.py defines a Python worker, support for Python workers is currently experimental. Python workers with a requirements.txt file can only be run locally and cannot be deployed.
Which is not what the blog post describes.
Just updated Wrangler to 3.82.0 Same error.
`โ [ERROR] A request to the Cloudflare API (/accounts/1abcaa7d00a09e7d208cc58af0fe43d1/workers/scripts/hello-world-python-worker) failed.
You cannot yet deploy Python Workers that depend on packages defined in requirements.txt. Support for Python packages is coming soon. [code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose`
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
wrangler 3.73.0
What version of Node are you using?
10.8.3
What operating system and version are you using?
Arch Linux
Describe the Bug
Observed behavior
I'm trying to upload a python worker with source code here: https://github.com/PeterZhizhin/msk_deg_2024/tree/main/check_sid_bot_offline
I run the following command:
See the log error I got below.
Expected behavior
Worker gets deployed normally.
Moreover, I have been able to deploy this worker as-is on 2024.04.02 (April 2nd 2024). Now exactly the same command fails.
Steps to reproduce
Please provide the following:
TELEGRAM_BOT_TOKEN
environment variable.Please provide a link to a minimal reproduction
https://github.com/PeterZhizhin/msk_deg_2024/tree/main/check_sid_bot_offline
Please provide any relevant error logs