-
Notifications
You must be signed in to change notification settings - Fork 53
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
Exception raised during wheel build. #571
Comments
I think the issue is that @henryiii shouldn't the |
Yes, it probably should be. I was rather hoping for PEP 639 to get accepted at some point, but we should support the old way for now. I was looking at Flit a while back and noticed it does mark the file to be included in the SDist based on the value of this field, so it's not completely unused. Won't really help too much here if you actually wanted all the licenses, though, since this one has a lot (which is why it's tripping up on the directory). As already mentioned, |
For links, we are going to be compiling a list in the very near future, but you can always look though https://github.com/search?type=code&q=path%3Apyproject.toml+scikit_build_core+NOT+is%3Afork. |
And let us know if anything is needed! Happy to help support. |
At today's Scikit-Build Community Meeting, it was pointed out by @vyasr that RAPIDS has moved to scikit-build-core. Example: https://github.com/rapidsai/cudf/blob/cbcfa678392cec07c33f57090a793c3631d19c7e/python/cudf/pyproject.toml#L4 |
(though, @vyasr, |
@henryiii we decided to go against the scikit-build-core recommendation here. On one hand, RAPIDS does not currently run on any platforms for which cmake wheels would not be available, so we don't have the downside risk of failure to install cmake breaking a build. On the other hand, RAPIDS tends to be running with very new CMake versions because we're fairly active in contributing features and bug fixes back to CMake (especially around CUDA support as you may imagine), but this also makes us extra vulnerable to CMake bugs because we're often using newer features. As a result, a lower bound constraint isn't always sufficient; we've needed upper bounds or to exclude specific versions of CMake on more than one occasion. As a result, we decided that the importance of having more complete control over the CMake version used outweighed the value of being able to use a system CMake on platforms where the wheels didn't exist. For ninja that's less important, we just included it for completeness since we're already including cmake. |
I wonder if it would make sense to replace [tool.scikit-build]
cmake.minimum-version = "3.15" with [tool.scikit-build]
cmake.version = ">=3.15" I think we chose the former because we might be able to do something with |
If |
How about having skbuild-core support pythonic version matching in This is assuming that the Edit: I'm slow at typing. Seems we all have the same thought |
Raised #583 |
This would help #571 not have shown an error (but in that case, multiple licenses is actually desired, and the custom `tool.scikit-build` setting should be used until PEP 639 goes somewhere). --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
We're trying to use
scikit-build-core
to build eCAL wheels for Python.Our previous build workflow involved first building Python extensions with CMake and later packaging them up, which doesn't result in an sdist and we would like to move away from it.
eCAL is a C++ middleware with a Python binding and multiple native dependencies.
It's not trivial to build, and therefore also not trivial to use scikit-build-core for it.
Our current attempt to build can be found here https://github.com/eclipse-ecal/ecal/blob/feature/scikit-core-build/pyproject.toml, and I am trying to build locally with
python -m build .
.The sdist is created fine, but I get the following error trying to build the wheel:
Do you have any idea what could be going wrong?
Do you have some links to some more complicated projects using
scikit-build-core
than the trivial examples which could be used as a reference?The text was updated successfully, but these errors were encountered: