Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected changes to '......py' error and hence workers killed with watchdog 5.0.X / python > 3.12.3 #654

Open
chachra opened this issue Oct 2, 2024 · 0 comments

Comments

@chachra
Copy link

chachra commented Oct 2, 2024

Issues

GitHub issues are for bugs. If you have questions, please ask them on the mailing list.

Checklist

  • [x ] Does your title concisely summarize the problem?
  • [x ] Did you include a minimal, reproducible example?
  • [x ] What OS are you using?
  • [x ] What version of Dramatiq are you using?
  • [x ] What did you do?
  • [x ] What did you expect would happen?
  • [x ] What happened?

What OS are you using?

Mac OS Sequoia

What version of Dramatiq are you using?

1.17.0
Using django-dramatiq ^0.11.5 as well.

What did you do?

With python versions > 3.12.3 it seems like watchdog version 5.0.X gets used and its causing the error

What did you expect would happen?

Should not be detecting changes.

Pinning to watchdog 4.0.x fixes it.

What happened?

worker-1 | [2024-10-02 16:18:01,434] [PID 1] [Thread-1] [SourceChangesHandler] [INFO] Detected changes to '.....py'.
worker-1 | [2024-10-02 16:18:01,434] [PID 1] [MainThread] [dramatiq.MainProcess] [INFO] Sending signal 1 to subprocesses...
worker-1 | [2024-10-02 16:18:01,435] [dramatiq.WorkerProcess(1)] [INFO] - Stopping worker process...
worker-1 | [2024-10-02 16:18:01,435] [dramatiq.WorkerProcess(0)] [INFO] - Stopping worker process...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant