refactor: remove windows-curses dependency for MSYS2 compatibility - #153
refactor: remove windows-curses dependency for MSYS2 compatibility#153Kreijstal wants to merge 1 commit into
Conversation
6864c74 to
a0b12fc
Compare
|
I guess created an issue here python-poetry/poetry#10576 |
|
As you can see poetry doesn't seem to cooperate :p |
|
maybe the real problem is the windows-curses dependency |
|
Thanks for the PR and sorry for the late reply. The project has since migrated from Poetry to uv, so this no longer applies as is. Unfortunately the underlying problem isn't something any build tool can fix. MSYS2's mingw Python reports the same PEP 508 marker values as native Windows, so wheel metadata simply can't express "Windows but not MSYS2". The I'd rather not add tricky build-time or import-time hacks for this. For now MSYS2 users can work around it with [tool.uv]
override-dependencies = ["windows-curses; sys_platform == 'never'"]I'll keep this open until there's a clean way to solve it properly. |
I do not believe poetry has the flexibility to do this, I really tried, but this should work on msys2, and linux as well..