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

我想讨论下,如果把python版本升上去,当前的项目里会不会有坑? #244

Closed
Zephylaci opened this issue Jul 6, 2023 · 5 comments

Comments

@Zephylaci
Copy link
Contributor

我想尝试改善下二开体验,开发时支持代码热更新,结果发现当前指定的 python版本是3.1
而 watchdog 只支持,2.6,2.7 以及 3.4 以上的版本,原因似乎是 3.1 collections 模块中不存在的 MutableSet 属性。
我找了个 downloaders 的子项目,直接升到 3.8 去似乎没有问题

demo

直接 docker-compose up 可以启动 /app 内的文件改变会热更新

@richardli1598
Copy link
Contributor

richardli1598 commented Jul 6, 2023

我这边用的都是3.10,不是3.1,没啥问题

@miRemid
Copy link
Collaborator

miRemid commented Jul 6, 2023

测试3.8,3.9,3.10都没问题,顺便问下是哪个文档里面提及了3.1版本?

@richardli1598
Copy link
Contributor

Hello, 感谢贡献! 之前你提过PR,这里邀请你成为org member, 点击这里确认:https://github.com/settings/organizations

@Zephylaci
Copy link
Contributor Author

Zephylaci commented Jul 7, 2023

原来如此,我就说往下找watchdog,没有一个跑的起来的...是我误解闹笑话了,感谢帮忙排查和解答

@ljtnono
Copy link
Contributor

ljtnono commented Jul 7, 2023

好像3.11版本会出现问题

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

4 participants