Skip to content

WHL: setup automated wheel builds for Linux - #11

Open
neutrinoceros wants to merge 1 commit into
birnstiel:masterfrom
neutrinoceros:whl/automate-building-and-publishing-wheels
Open

WHL: setup automated wheel builds for Linux#11
neutrinoceros wants to merge 1 commit into
birnstiel:masterfrom
neutrinoceros:whl/automate-building-and-publishing-wheels

Conversation

@neutrinoceros

@neutrinoceros neutrinoceros commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

ref #10
At the time of opening, this is merely copied from a project with a similar setup, but might not work out of the box (in particular, I expect I'll need some find tuning to ensure gfortran is available in all containers), so I'll probably need a couple iterations to get something useful out of it.

@neutrinoceros

Copy link
Copy Markdown
Contributor Author

CI might not trigger here for a couple reasons, including the fact that I just added a workflow that isn't present on master. I'll try to iterate with manual runs on my fork.

@neutrinoceros
neutrinoceros force-pushed the whl/automate-building-and-publishing-wheels branch from bbe316f to 5ba6962 Compare March 3, 2026 15:40
@neutrinoceros neutrinoceros changed the title WHL: setup automated wheel builds + publication to PyPI WHL: setup automated wheel builds for Linux Mar 3, 2026
@neutrinoceros

Copy link
Copy Markdown
Contributor Author

for reference here's a log from a sucessful run on my fork: https://github.com/neutrinoceros/dsharp_opac/actions/runs/22630573533/job/65579213543

@neutrinoceros

Copy link
Copy Markdown
Contributor Author

Wheels seem surprisingly large at ~9MiB (I would expect the entire code to fit in a 100KiB wheel). I note that almost all of it is contributed by dsharp_opac/data + dsharp_opac/constants, which could likely be distributed as their own data package, though that could be a secondary goal.

@neutrinoceros
neutrinoceros marked this pull request as ready for review March 3, 2026 15:55
@birnstiel

Copy link
Copy Markdown
Owner

Thanks. Is there anything for me to do here? I saw the publishing is still commented out. Should I enable that on the PyPI side already?

@neutrinoceros

Copy link
Copy Markdown
Contributor Author

If you're already on board with it, sure ! I'll uncomment it.
Here's the docs in case you need it: https://docs.pypi.org/trusted-publishers/

(I was expecting more of a sales pitch to be needed, hence my attempt to separate concerns at first)

@neutrinoceros
neutrinoceros force-pushed the whl/automate-building-and-publishing-wheels branch from 5ba6962 to e3c617f Compare March 4, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants