{"action":"created","issue":{"url":"https://api.github.com/repos/rq/Flask-RQ2/issues/49","repository_url":"https://api.github.com/repos/rq/Flask-RQ2","labels_url":"https://api.github.com/repos/rq/Flask-RQ2/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/rq/Flask-RQ2/issues/49/comments","events_url":"https://api.github.com/repos/rq/Flask-RQ2/issues/49/events","html_url":"https://github.com/rq/Flask-RQ2/issues/49","id":296462891,"number":49,"title":"Define rq-scheduler version in the dependency ","user":{"login":"Cortezz","id":7746441,"avatar_url":"https://avatars3.githubusercontent.com/u/7746441?v=4","gravatar_id":"","url":"https://api.github.com/users/Cortezz","html_url":"https://github.com/Cortezz","followers_url":"https://api.github.com/users/Cortezz/followers","following_url":"https://api.github.com/users/Cortezz/following{/other_user}","gists_url":"https://api.github.com/users/Cortezz/gists{/gist_id}","starred_url":"https://api.github.com/users/Cortezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cortezz/subscriptions","organizations_url":"https://api.github.com/users/Cortezz/orgs","repos_url":"https://api.github.com/users/Cortezz/repos","events_url":"https://api.github.com/users/Cortezz/events{/privacy}","received_events_url":"https://api.github.com/users/Cortezz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T17:36:42Z","updated_at":"2018-03-02T11:26:06Z","closed_at":null,"author_association":"NONE","body":"There is no defined `rq-scheduler` version in the dependency list. As such, it fetches the latest version. \r\n\r\nAs it stands, the latest version of `rq-scheduler` (0.8.1) is not compatible with`Flask-RQ2`\r\n\r\nHere is the error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 60, in <module>\r\n    manager.run()\r\n  File \"/Users/joaocosta/.virtualenvs/chat-api/lib/python2.7/site-packages/flask_script/__init__.py\", line 412, in run\r\n    result = self.handle(sys.argv[0], sys.argv[1:])\r\n  File \"/Users/joaocosta/.virtualenvs/chat-api/lib/python2.7/site-packages/flask_script/__init__.py\", line 383, in handle\r\n    res = handle(*args, **config)\r\n  File \"/Users/joaocosta/.virtualenvs/chat-api/lib/python2.7/site-packages/flask_script/commands.py\", line 216, in __call__\r\n    return self.run(*args, **kwargs)\r\n  File \"manage.py\", line 23, in scheduler\r\n    scheduler = rq.get_scheduler()\r\n  File \"/Users/joaocosta/.virtualenvs/chat-api/lib/python2.7/site-packages/flask_rq2/app.py\", line 288, in get_scheduler\r\n    raise RuntimeError('Cannot import rq-scheduler. Is it installed?')\r\nRuntimeError: Cannot import rq-scheduler. Is it installed?\r\n```\r\n\r\nI don't know what is the latest version of `rq-scheduler` that works but 0.7.0 is compatible."},"comment":{"url":"https://api.github.com/repos/rq/Flask-RQ2/issues/comments/369896682","html_url":"https://github.com/rq/Flask-RQ2/issues/49#issuecomment-369896682","issue_url":"https://api.github.com/repos/rq/Flask-RQ2/issues/49","id":369896682,"user":{"login":"jezdez","id":1610,"avatar_url":"https://avatars0.githubusercontent.com/u/1610?v=4","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T11:26:06Z","updated_at":"2018-03-02T11:26:06Z","author_association":"MEMBER","body":"I can't reproduce this locally, which makes me wonder if you're running the latest version. Please provide more info how to reproduce this."}}
{"actor":{"display_login":"jezdez"}}