-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bump runtime to 44 #10
Conversation
Started test build 30054 |
Build 30054 failed |
you should remove jack because it's in the the runtime now. (that's not the build failure tough which is Python related) |
It's probably an issue with setuptools in flatpak environment, I don't know a way to fix this. Building it in isolation with older setuptools, wheel and cython doesn't seem work and (I had the same issue before on a different application/python module and the 'solution' we came up with is to switch that to meson) |
@hfiguiere Thanks, i will remove jack. @bbhtt I see that python3-python-rtmidi build fails with "The 'pthread' library is required to build python-rtmidi onLinux. Please install the libc6 development package.". I don't know what to do because I assume that libc6 is present in the environment to build packages... I'm on tour right now, watching whenever I have a moment |
No, I think that's somehow leaking into the error. libc6-dev present in the SDK, the actual error is after that: try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1) However setuptools is included as well in the runtime. |
I just did some tests and the only solution I see is with this PR in python-rtmidi : SpotlightKid/python-rtmidi#119. Have to ask if it can be merged. |
That's not the error that's being printed out. That's a bit of the string being passed to
|
@eli-schwartz As I understand it, at the same time, outside of setuptools, it works:
I don't master enough, I'm lost |
If nothing else, the meson PR you linked to can help out here by providing significantly better logging and visibility into build issues, and standard frameworks for doing many things that setuptools lacks and projects are currently open-coding with the ctypes module. I just happen to think the current issue is significantly weirder than just "setuptools isn't installed". |
If I'm not mistaken that PR seems to be depending on https://github.com/scikit-build/ninja-python-distributions, until scikit-build/ninja-python-distributions#127 is resolved it can't be built in Flathub (the build is done offline) |
Finally the draft branch of python-rtmidi is build by flathub. |
No description provided.