Skip to content

Add publish actions#270

Closed
multimeric wants to merge 2 commits intoPySlurm:mainfrom
multimeric:publich-ci
Closed

Add publish actions#270
multimeric wants to merge 2 commits intoPySlurm:mainfrom
multimeric:publich-ci

Conversation

@multimeric
Copy link
Copy Markdown
Contributor

@multimeric multimeric commented Mar 7, 2023

@multimeric
Copy link
Copy Markdown
Contributor Author

I need some help adding the command we use for building wheels. python setup.py sdist_wheel doesn't seem to work.

@multimeric
Copy link
Copy Markdown
Contributor Author

I think this will need an update to: https://github.com/giovtorres/docker-centos7-slurm before it will work.

@tazend
Copy link
Copy Markdown
Member

tazend commented Mar 7, 2023

@multimeric

I've already worked on improving the docker-centos7-slurm container setup a bit and adding one for 22.05 - I'll try to get the changes up this weekend as a PR.

In regards to building: I wouldn't ship a prebuilt wheel right now. I would just upload the source distribution as tar.gz, by doing python setup.py sdist.

The User is expected to have a valid libslurm.so installed on the System where pyslurm should run (and potentially point the pyslurm installation to it if it is a custom slurm installation in a unusual path). When a user executes pip install pyslurm, the source will be cythonized and compiled on the Users specific system.

@multimeric
Copy link
Copy Markdown
Contributor Author

Great, thanks for the update. Agreed that we don't want to ship binary wheels. I for some reason thought there were source wheels but maybe there aren't, and it's just sdist that we want.

@giovtorres
Copy link
Copy Markdown
Member

Added in #407. Still needs a little work but end to end seems to be working.

@giovtorres giovtorres closed this Apr 1, 2026
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.

[Enhancement] Update PyPi version and Sphinx docs?

3 participants