Description of problem:
The current packaged version of python3-celery in Fedora 30 is not entirely compatible with Python 3.7. In particular, the following commit is necessary to add Python 3.7 compatibility:
Without it, `AttributeError: module 're' has no attribute '_pattern_type'` is raised whenever the `task_routes` configuration is defined.
This commit is part of the v4.3.0 release.
Version-Release number of selected component (if applicable):
It is easily reproducible.
Steps to Reproduce:
1. Configure the `task_routes` Celery configuration with any value
2. Schedule a task
AttributeError: module 're' has no attribute '_pattern_type'
It shouldn't raise an exception.