Fan
Fan6mo ago

python dependencies version

Hi, I am using the Windmill Web IDE. And I am creating an app that needs to import a python library in my background script. It worked well. Today, there are some changes in the library that I imported, and I want to change a little bit of my code with the new function in the library. But, the background script still using the old version of the library and could not find the new function. How can I remove the cached environment and use the newer version library? I tried deleting my script, and redeployed.
3 Replies
rubenf
rubenf6mo ago
Use extra_requirements to pin the library to a newer version
Fan
Fan6mo ago
But that’s the same version tag. I want to delete the old one and redownload.
rubenf
rubenf6mo ago
clear your cache volumes, on EE you can do this from the worker page