-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add pyproject.toml file #195
Conversation
Thanks for the PR @agseaton ! I have worked on it a bit, mostly cleanups and formatting, plus modifying the CI to use There's a couple of tentative modifications I made about which it would be good to get your feedback:
Thanks again, that is pretty great progress :) |
@agseaton I will go ahead and merge this for the next version, we can iterate rapidly with additional patch versions if more changes are needed. Thanks again! |
Sounds good! Sorry for not getting back to you earlier on this. I have been busy and am currently on travel so won't be able to take a look for another week or so. |
No worries! FYI, I tried to produce an In any case, let me know how it goes when you have time to try out. |
Okay I gave it a go, and I'm not able to build with the changes you made. I think we do actually need the pybind11 build requirement. Presumably this worked in CI because pybind11 was already installed there? As a side note, I also wasn't able to install from source using PYPI, i.e. this fails:
To do a source install I had to pull heyoka.py direct from the repo. I'm guessing you need to submit a source distribution to get that to work. Edit: or maybe this has something to do with the |
@agseaton sorry for the late reply... The
Indeed in my testing I had installed pybind11 without pip. In the CI, we are installing pybind11 without pip (i.e., directly from source) and as you can see it is working ok: https://github.com/bluescarni/heyoka.py/actions/runs/11275749409/job/31357924774 I am fine with re-introducing pybind11 in the
Yes that is expected, I have not uploaded an |
Okay, I see. As far as I can tell, including the pybind11 line should be sufficient to get the sdist working in pip, but I agree it'd be best to test that in CI once you have a chance to get that going. |
No description provided.