Hello @louey Bnecheikh lehocine
Yes, you are correct that functions in the same function app share the same execution process and therefore need to use the same package versions.
However, there is a solution to this problem.
You can use virtual environments to isolate the package versions for each function. To do this, you can create a virtual environment for each function and install the required packages for that function in its own virtual environment.
Then, you can specify the path to the virtual environment in the function's configuration file. This way, each function will use its own set of packages and you can have multiple functions with different package versions in the same function app.
Regarding your question about whether it's worth hosting more than one function in the same app, it really depends on your specific use case.
If your functions are related and share resources, it might make sense to host them in the same app.
However, if they are completely unrelated and have different resource requirements, it might be more cost-effective to host them in separate apps.
I hope this helps and clarifies your question