-
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
Pyproject toml #324
Pyproject toml #324
Conversation
70bfdd1
to
07439ed
Compare
This is looking really promising! It's nice having the compilation stuff in the meson config file and then a fairly clean toml for main project. We may have to ditch versioneer; will be worth seeing what other meson projects are using? |
Have a look at this branch: https://github.com/pace-neutrons/Euphonic/tree/pyproject-toml-rebase
The last part seems to be essential but looks pretty ugly. I think the preferred pattern is to cascade it into more meson.build files and load them with the Anyway it seems to build and I can force-push to your branch if that's helpful/allowed |
c7f69a1
to
934a38a
Compare
55d9d81
to
97efcbc
Compare
44d1712
to
12dc04d
Compare
Some reflections on the overall process that got us here:
In future if contributing CI tweaks from a fork I would make a PR to another branch on the fork for purposes of discussion and automatic CI. |
Yes, totally agree... I found that using tmate-actions was helpful but it's still quite a painful process... |
Yeah, that wouldn't have helped with everything but might have been handy in a couple of places 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this stage:
- test CI (here) and package-building CI (on the fork) look as expected
- test_release.yml hasn't been updated but that can be a separate PR. It will probably need further revision when the release is actually made...
I think it's a good time to merge to master and see what happens.
Ah, one thing to look at: we currently document an option to
I don't think that syntax works any more? But that's arguably an unrelated Pip/deprecation issue: https://pip.pypa.io/en/stable/news/#v23-1 |
The command is now: pip install -Csetup-args="-Dpython_only=true" euphonic Not sure if that'll work from PyPI though |
That doc update looks great! And the command behaves as expected on my laptop. |
pyproject.toml
withmeson
.versioneer
to customversion.py
script.cibuildwheel
<root>/build_utils
.Addresses #323