-
Notifications
You must be signed in to change notification settings - Fork 63
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
New warnings on non-editable build #862
Comments
Full build output: |
Seems to be known upstream issue: pypa/pip#12338 |
What about the other two? |
Based on some replies at pypa/pip#11859 and pypa/setuptools#3896 it seems like this might be a current workaround:
which seems pretty unpleasant but at a glance at least it doesn't look like there would be any delicate quoting issues. I guess a longer term solution would be to try to switch to use |
This seem like maybe just a change to Edit: that didn't seem to work, but then I actually looked in that dir:
Do any of those actually need to be distributed? It seems the cython build resulting in including them but I am also not sure if that inclusion is "before" or "after" the warning
Edit2: adding a bogus |
@manopapad regarding the error from the datetime check in |
Regarding the
so I suspect this issue may actually originating in scikit-build |
No, AFAIK these should all be used exclusively by cython.
Do you mind making a PR with this, and asking @Jacobfaib to verify it's good?
Presumably the bug has been fixed pypa/pip#12357 (comment), so I'm inclined to just leave this alone. |
@manopapad actually for the
As mentioned above apparently the "proper" way to do this now is to further funnel through |
You're right, here it is https://gitlab.com/StanfordLegion/legion/-/blob/master/bindings/python/CMakeLists.txt?ref_type=heads#L75. If you know how to fix this, can you please submit a PR against Legion? |
I've already been looking at a few different approaches but unfortunately no success yet, the build dir is not getting communicated and results in a compilation error for a missing header |
@manopapad @lightsighter I have tried a bunch of various incantations with # Hack: I can't get initialize/finalize_option to work, so just parse
# the arguments here...
parser = argparse.ArgumentParser()
parser.add_argument('--cmake-build-dir', required=False)
parser.add_argument('--prefix', required=False)
args, unknown = parser.parse_known_args()
sys.argv[1:] = unknown What I think the case is: to the extent that printing
One way to work around this would be to rely on env vars instead of command line options. This is actually what the setuptools folks on DPO Packaging advised me on another project in the last year. I didn't love it, but it did work. Before embarking on that here, however, I guess I'd like to know if there is any expected movement on larger efforts that would make all this irrelevant anyway, i.e. IIRC there was some talk of switching legion to |
There is an ongoing discussion about transitioning Legion to a more standards-compliant build workflow StanfordLegion/legion#1317, so let's hold off on doing drastic changes. In that case, I think all the warnings have been sufficiently addressed (or punted), so I'll close this. |
@bryevdv does anything look concerning?
The text was updated successfully, but these errors were encountered: