You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/29 13:48:42 UTC
[GitHub] [airflow] uranusjr opened a new pull request #19878: Relax timetable clas validation
uranusjr opened a new pull request #19878:
URL: https://github.com/apache/airflow/pull/19878
Airflow regularly reloads `sys.modules`, which makes type identity comparison unreliable, because a class would obtain a second, different identity in the interpreter when imported after a reload.
This makes validation difficult because there isn't really a way to tell whether two class objects are indeed "the same". But this check is only for sanity to begin with, so the best we can do is to drop the check entirely ans trust the Plugin Manager is doing its job correctly.
Fix #19869.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk merged pull request #19878: Relax timetable clas validation
Posted by GitBox <gi...@apache.org>.
potiuk merged pull request #19878:
URL: https://github.com/apache/airflow/pull/19878
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on pull request #19878: Relax timetable clas validation
Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #19878:
URL: https://github.com/apache/airflow/pull/19878#issuecomment-981740920
Ah. That would explain why I had some problems in some of the tests with comparing classes.
I blamed it on Pytest but it looks this is Airfllow's fault :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] github-actions[bot] commented on pull request #19878: Relax timetable clas validation
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #19878:
URL: https://github.com/apache/airflow/pull/19878#issuecomment-981740494
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org