Closed philass closed 3 years ago
Hrm, I'm not really using Futhark or this library at the moment. Maybe it'd be possible to set up a GH Action to publish to pypi? That way I can occasionally hit merge on some drive-by fixes without having to figure out how to update to the latest Futhark and remember Python packaging commands.
Totally understandable, and thanks for your response!
It seems entirely possible to publish to PyPi automatically: https://docs.travis-ci.com/user/languages/python/ https://docs.travis-ci.com/user/deployment/pypi/ Not really sure how that works with creating all the eggs and whatever. If you feel like experimenting with that, I'd be happy to add you as a maintainer to the PyPi package.
Oh Cool! I'd definitely be willing and interested in figuring that out. Do you need any personal information (i.e email address)?
I need a PyPi username.
Just made an account. Username is philass
Done! I've also added you as a collaborator to this repo if you need to experiment on a branch to trigger a build or something. I trust you wont do anything reckless ;-)
I guess this never happened?
It did not. I must have gone down some rabbit hole and forgot to get back to this. I can probably look into this later today.
You put a fair deal of work into adding my as a contributor to PyPi and I didn't what I said I would. Super sorry about that
Don't worry, nobody is getting paid to do any of this. I only noticed because I merged a PR and CI failed and I took a look at the open issues. But hey, if you feel like it, it'd be greatly appreciated.
I made a few more fixes it would be nice to have on PyPI.
Would you recommend changing the whole CI to Github Actions?
(Edit: I see you already made that change, ignore this question)
Yea, automating PyPi would be great. I've added @athas to the PyPi project. Or maybe I can find some time to do the GA stuff myself later. I went ahead and added a PYPI_API_TOKEN
secret for PyPi already.
I think it'd just be a matter of copy-pasting this? But of course it always takes 5 more tries than you expect.... otherwise I'd just do it right now.
I'll give it a shot; I spent enough time playing with GA already.
It works!
Amazing :) Looks like I was pretty spot on with my estimate of 5 tries
I am using MacOS and tried installing this library via pip. However there was an issue with OpenCL. However when I pip installed from source it worked. It seems like the latest change fixes my problem. It would probably make sense to update the package (create a new release) so that when installed via pip, it contains the latest fix.