potiuk commented on code in PR #33355:
URL: https://github.com/apache/airflow/pull/33355#discussion_r1323999568
##########
airflow/operators/python.py:
##########
@@ -606,7 +614,60 @@ def _prepare_venv(self, venv_path: Path) -> None:
index_urls=self.index_urls,
)
+ def _calculate_cache_hash(self) -> str:
Review Comment:
But what would you do if you have two tasks running (old version /new
version) with having the same "path".
Imagine you use "rich==2..29" in the PVO, then you have "rich==2.30" change
submitted. You have still a task with "rich==2.29" running, but then you also
have the next interval scheduled for the same task and it already uses
"rich==2.30".
Both tasks want to use the same venv. The first one is running, the second
is attempting to run and finds out that rich version changed. What do we do?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]