You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be looking for a requirements.txt in the folder of the task, if it does not exist there we go up one parent directory until the root tasks directory.
What is currently happening is that it looks for a requirements.txt in the current directory and then if it cant find it looks for one in the root ./tasks directory.
It also makes the requirements.txt in the root directory a requirement which it doesn't necessarily have to be.
It will raise an error bc there is no root requirements.txt which it shouldn't, and then if you add a root req file it will use that for the tasks in tasks.py when it should be using ./tasks/dir1/requirements.txt
Screenshot
No response
Logs
None
System Info
Current
Severity
serious, but I can work around it
The text was updated successfully, but these errors were encountered:
Describe the bug
We should be looking for a requirements.txt in the folder of the task, if it does not exist there we go up one parent directory until the root tasks directory.
What is currently happening is that it looks for a
requirements.txt
in the current directory and then if it cant find it looks for one in the root./tasks
directory.It also makes the
requirements.txt
in the root directory a requirement which it doesn't necessarily have to be.Is there an existing issue for this?
Reproduction
You can create a
tasks
structure like this:It will raise an error bc there is no root
requirements.txt
which it shouldn't, and then if you add a root req file it will use that for the tasks intasks.py
when it should be using./tasks/dir1/requirements.txt
Screenshot
No response
Logs
System Info
Severity
serious, but I can work around it
The text was updated successfully, but these errors were encountered: