Skip to content

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

Open
@chachra

Description

@chachra

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions