-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
Description
Story
Previously, a broken third-party package pmdarima==1.5.1 has a dependency on pathlib==1.0.1. The pathlib library meets end of its life and it collides with Python builtin pathlib library, raising Proxy Path issue when importing customer modules, which breaks our Python worker.
Repro steps
- Create a function app with single HttpTrigger.
- In requirements.txt, put in a broken library: pathlib==1.0.1
- Publish the function app into App Service Plan (which doesn't do placeholder environment reload), the HttpTrigger returns 500, the whole function app is down.
Possible design improvement
Separate Python worker environment from customer's code.
Customer's code should only have effect on their own functions.
This valuable feedback is provided by @AnatoliB