-
Notifications
You must be signed in to change notification settings - Fork 16
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
ninja==1.11.1.2
build fails when built with --no-binary=ninja
(or --no-binary=:all:
)
#274
Comments
as the latest release fails, see scikit-build/ninja-python-distributions#274
@TimotheusBachinger, it seems like the bootstrapping issue mentioned in scikit-build/cmake-python-distributions#503 (comment) ninja requires cmake and cmake is requiring ninja. Any reason you're not getting / using binary wheels ? (specific platform maybe ?) @johningve, this doesn't seem like the same issue, can you please open a different issue with the reproducer please ? |
@mayeut thanks for pointing into that direction - this could really have caused the issue in our case (and due to heavy caching by bazel, to use it looked like the new ninja version...) |
I am re-opening the issue again as the For us it is 100% the new version of |
In order to better understand the problem and provide a fix:
|
@mayeut we're building for around 12 different platforms (debian, ubuntu, sles, centos, alma...) therefore we're building from source, yes ( |
ok, so I have an idea where the issue is coming from in that case. I will try something after day work to reproduce and hopefully fix this. |
@mayeut sounds good, thanks for the effort and no hurry. We're fine with the constraints workaround. |
Here's a quick status: I'll propose something a bit better than what's already there in #276 and let our resident expert review this. |
ninja==1.11.1.2
ninja==1.11.1.2
build fails when built --no-binary=ninja
(or --no-binary=:all:
)
ninja==1.11.1.2
build fails when built --no-binary=ninja
(or --no-binary=:all:
)ninja==1.11.1.2
build fails when built with --no-binary=ninja
(or --no-binary=:all:
)
I'm seeing the same issue when trying to build ninja itself. A reproducer in case that's useful docker pull python:3.13.0
docker run -it --rm python:3.13.0 bash
pip install -v --no-binary ninja ninja==1.11.1.2 A temporary workaround is to use docker run -it --rm python:3.13.0 bash
pip install scikit-build-core "hatch-fancy-pypi-readme>=22.3" setuptools-scm
pip install -v --no-binary ninja --no-build-isolation ninja==1.11.1.2 |
Is there any progress on this? Seems like there's an open Pull Request. Does this need extra help? |
This should be fixed with version 1.11.1.3 now available on PyPI |
Should be resolved upstream, see scikit-build/ninja-python-distributions#274 (comment) This reverts commit 0316464. Change-Id: I58df35d344e80a42b79f859f3b3c8fb5752076e4
Since
ninja==1.11.1.2
, we cannot builtnumpy
anymore from source as it will fail with:numpy
does not pinninja
in its build dependencies, which explains why the build is now failing:https://github.com/numpy/numpy/blob/b1e6ccd14b173b922f5d6a11bb252f4141dc42cd/requirements/build_requirements.txt#L3
Do you have any idea what causes this?
The text was updated successfully, but these errors were encountered: