Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
350 stars 77 forks source link

Package is only compatible with Python 3.6+ #3

Closed FFX01 closed 6 years ago

FFX01 commented 6 years ago

There are several places in the library where there the new f string formatting is used. This feature is not available in any version of Python below version 3.6. Does this project aim to only support Python 3.6+?

Example from rundramatiq.py:

parser.add_argument(
    "--processes", "-p",
    default=CPU_COUNT,
    type=int,
    help=f"The number of processes to run (default: {CPU_COUNT})."
)
Bogdanp commented 6 years ago

Hi @FFX01, I've added support for Python 3.5 (the minimum version that Dramatiq itself supports) in version 0.1.5. Hope that helps!

FFX01 commented 6 years ago

@Bogdanp

Thank you! I will give the update a try!

FFX01 commented 6 years ago

@Bogdanp

Issue is resolved! Thanks for your quick work!

Bogdanp commented 6 years ago

My pleasure!