-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add librt as runtime dependency #19986
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, forgot about that one, thanks!
Another open issue is the WASM build. Seems it broke after #19945 was merged. Should we disable it in the wheel builder, at least for now? |
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
Hm, let me check what is going on there. |
OK, not 100% sure, but the problem may be that |
I don't how have much context on WASM, but cibuildwheel supports pyiodide, which seems relevant: https://cibuildwheel.pypa.io/en/stable/options/#platform |
I guess I can try adding that to the build matrix (but IIUC only Python 3.12 and 3.13 are supported). |
Btw, I have another question: is |
Yeah I think |
OK, it looks like we have a problem:
Which way should we go? I would say the second option looks more future-proof. |
It looks like I can successfully build WASM wheels using |
Oh god, it looks like
why can't we have nice things? |
Also obviously that "official" GH action creates partially broken releases, now there are only half of the artifacts present for 0.1.1 https://pypi.org/project/librt/0.1.1/#files |
https://pyodide.org/en/0.26.3/development/building-and-testing-packages.html#notes
|
I guess for now I will continue building WASM wheels, but skip them during upload to PyPI. |
OK, so I repaired the
works, i.e. all the necessary bits are present in the source archive (like headers) to build the extension locally. |
I tried re-running failed jobs, but it looks like availability of |
librt
is needed both at build and runtime. It's already part of mypy-requirements.txt.