Skip to content

Celery 4.3.0rc2 is not python 2.7 compatible #5383

Description

@glestel

Hello,

Using celery-4.3.0rc2-py2.7 I have an exception on the file base.py because of ModuleNotFoundError that doesn't exist in python 2.7

File "/usr/local/lib/python2.7/dist-packages/celery-4.3.0rc2-py2.7.egg/celery/bin/base.py", line 285, in execute_from_commandline
     except ModuleNotFoundError as e:
 NameError: global name 'ModuleNotFoundError' is not defined

This was introduced with commit acd6025

Best regards, and thanks for the work

Guillaume

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions