Conversation
Otherwise pip install will ignore cython
|
Hi @cscully-allison and @ilumsden, could you please let me know if there's any comments for this PR? |
|
Hi @Jokeren. Sorry for not responding. I was in the process of relocating to Livermore for the summer. The changes in this PR should not be necessary to add Cython. Hatchet and Thicket are both designed to be PEP 517 compliant. As a result, the process of installing Cython should be taken care of by I also reviewed the GitHub Actions logs that you shared with me. Based on those logs, it looks like there are two main issues going on:
Given these issues, I have three questions:
|
Yeah, I think this is probably the problem. |
The problem appears on a several systems not only the CI machine. My local WSL is Ubuntu 22.04. |
|
@Jokeren can you try adding the |
|
That doesn't seem to install the cython package |
Oh, I guess it might be that the python version on our CI node is too new? Let me ask |
I was wrong. The CI was Ubuntu 22.04 but got updated to 24.04. And the python version is 3.12. |
|
@Jokeren sorry for the delay, but I might have an idea as to why Cython's not getting installed. Can you try running with both the |
|
I've finally managed to reproduce the issue, but, given the cause, I think it's fair to say that this is not a bug in Hatchet. The issue was encountered when running
Steps 3 through 7 of this process are referred to as "build isolation". So, when you provide the For Hatchet, our build dependencies are Given all of this, I feel like there's not really anything we could do to fix this without forcing Hatchet to run into the same "disrupting user's environment" issue that @pearce8 what is your opinion on this? |
llnl/hatchet#125 (comment) Previously `no-build-isolation` is used to take advantage of the incremental build. Now that we have containerized the CI, it probably doesn't help much.
|
Of course. Happy to help! I also wanted to share this @Jokeren: pypa/pip#11440 Apparently, there is planned feature for $ python3 -m pip install --only-build-deps llnl-hatchet
$ python3 -m pip install --no-build-isolation llnl-hatchetIn terms of stuff that already exists, the |
|
Since removing |
Otherwise pip install will ignore cython