[
https://issues.apache.org/jira/browse/AIRFLOW-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808540#comment-16808540
]
Ash Berlin-Taylor commented on AIRFLOW-4224:
--------------------------------------------
If you hit these errors when running Airflow please include stack-traces.
> TypeError: unorderable types: int() >= str()
> --------------------------------------------
>
> Key: AIRFLOW-4224
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4224
> Project: Apache Airflow
> Issue Type: Bug
> Components: models
> Affects Versions: 1.10.1, 1.10.2
> Environment: debian stretch/python35 airflow 1.10.2 1.10.1/celery
> Reporter: Vianney FOUCAULT
> Priority: Major
> Labels: easyfix
> Fix For: 1.10.3
>
>
> python 3 does not handle some cross type comparisons.
>
> python2.7
>
> {code:java}
> >>> foo = 10
> >>> bar = "20"
> >>> foo > bar
> False
> >>>
> {code}
> python3.5
> {code:java}
> >>> foo = 10
> >>> bar = "10"
> >>> foo >= bar
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: unorderable types: int() >= str()
> >>>
> {code}
> python3.7
> {code:java}
> >>> foo = 10
> >>> bar = 10
> >>> bar = "10"
> >>> foo >= bar
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: '>=' not supported between instances of 'int' and 'str'
> >>>
> {code}
> within airflow 1.10.1
> * jobs.py:1182
> * and models.py:3586
> within airflow 1.10.2
> * jobs.py:1179
> * models.py:3586
> No clue so far
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)