gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
449 stars 38 forks source link

Broken after 0.12.0 update #46

Closed johannes85 closed 3 years ago

johannes85 commented 3 years ago

Description

After updating yacron to the latest 0.12.0 version it won't run anymore and outputs a error message.

What I Did

I executed

yaxron

Error message:

Traceback (most recent call last):
  File "/usr/local/bin/yacron", line 7, in <module>
    from yacron.__main__ import main
  File "/home/idev/.local/lib/python3.5/site-packages/yacron/__main__.py", line 8, in <module>
    from yacron.cron import Cron, ConfigError
  File "/home/idev/.local/lib/python3.5/site-packages/yacron/cron.py", line 10, in <module>
    from yacron.config import (
  File "/home/idev/.local/lib/python3.5/site-packages/yacron/config.py", line 363
    environ: Dict[str, str] = {}
           ^
SyntaxError: invalid syntax
gjcarneiro commented 3 years ago

Sorry, I should have made it clear that Python 3.5 is no longer supported. Try the download binary file yacron-0.12.0-x86_64-unknown-linux-gnu, it should just work.

johannes85 commented 3 years ago

Ok, thanks for your answer. I was wondering about that, but the README still said it is supported. I will use the binary.

gjcarneiro commented 3 years ago

Yes, you're right. I've updated the README now. Thanks for the report.