Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / watchdog / force-kqueue.patch
blobd4a0f4e6a00eeaf98e76d28825803ec12142d744
1 diff --git a/setup.py b/setup.py
2 index 337e4be..55ef9a6 100644
3 --- a/setup.py
4 +++ b/setup.py
5 @@ -38,7 +38,7 @@ _apple_devices = ("appletv", "iphone", "ipod", "ipad", "watch")
6 is_macos = sys.platform == "darwin" and not machine().lower().startswith(_apple_devices)
8 ext_modules = []
9 -if is_macos or os.getenv("FORCE_MACOS_MACHINE", "0") == "1":
10 +if False:
11 ext_modules = [
12 Extension(
13 name="_watchdog_fsevents",
14 diff --git a/tests/utils.py b/tests/utils.py
15 index 00dcf40..9fbc42a 100644
16 --- a/tests/utils.py
17 +++ b/tests/utils.py
18 @@ -15,8 +15,6 @@ Emitter: Type[EventEmitter]
19 if sys.platform.startswith("linux"):
20 from watchdog.observers.inotify import InotifyEmitter as Emitter
21 from watchdog.observers.inotify import InotifyFullEmitter
22 -elif sys.platform.startswith("darwin"):
23 - from watchdog.observers.fsevents import FSEventsEmitter as Emitter
24 elif sys.platform.startswith("win"):
25 from watchdog.observers.read_directory_changes import WindowsApiEmitter as Emitter
26 elif sys.platform.startswith(("dragonfly", "freebsd", "netbsd", "openbsd", "bsd")):