Use 313 version of watchdog on mac 314#93
Conversation
|
🤷 Seems reasonable to me. Upstream issue: gorakhargosh/watchdog#1143 Alternatively (and no idea if this is safe), Chia built their own, which is available at https://pypi.chia.net/simple/watchdog/ |
|
Has anyone checked out watchfiles? It also seems to support asyncio. |
|
Up to @jfcherng to decide but not sure if he'd want to introduce asyncio dependency. |
I think we are fine to do that. |
|
The library "watchfiles" is not available for Python 3.14. And it also depends on That seems making the refactoring more complicated than I thought it would be. Having a py314 experiment branch: https://github.com/sublimelsp/LSP-copilot/tree/refactor/use-watchfiles I don't think we are going to use "watchfiles" at this moment. |
|
|
For py38, there are some more deps: |
|
Conflicts are about 314. Given 38 is eol, packages possibly need to create new release branches anytime soon anyway. |
|
It's a bit much to expect to maintain two separate code bases with completely different watcher implementations. And 3.8 is not eol in context of ST. It can still take months for ST with 3.14 to become stable. |
I don't know how safe this is but 313 version seems to work in python 314 host when I try it in standalone python.
It would fix LSP-copilot which currently doesn't work on mac due to this dependency not being available. It's available on Linux and Windows because files are not as strictly versioned there.