sumerc / yappi

Yet Another Python Profiler, but this time multithreading, asyncio and gevent aware.
MIT License
1.44k stars 72 forks source link

Add cibuildwheel #106

Closed gaborbernat closed 2 years ago

gaborbernat commented 2 years ago

Resolves https://github.com/sumerc/yappi/issues/18, https://github.com/sumerc/yappi/issues/45 and https://github.com/sumerc/yappi/issues/96\

With this whenever you cut a Github Release we automatically build 20 + 5 + 10 (Linux, macOS, Windows) wheels and upload them to PyPI. Note for the upload to work you'll need to set a PyPI upload token as a GITHUB secret with key pypi_password.

See the example run here https://github.com/gaborbernat/yappi/runs/7623397524?check_suite_focus=true, without PYPI upload that is.

sumerc commented 2 years ago

It was on my todo list for about a year! This is awesome :)

Thanks again.

gaborbernat commented 2 years ago

Would you be able to cut a release so we can test this? 😊

sumerc commented 2 years ago

Definitely. Let's try it out tomorrow with a fresh brain :)

sumerc commented 2 years ago

@gaborbernat, I just tested releasing a new version today. The only change required for me was this -> https://github.com/sumerc/yappi/commit/2a1e1632365254c6f1ca08b011632dd545e9778f

And then everything worked flawlessly: https://pypi.org/project/yappi/#files

Thanks again :)!

gaborbernat commented 2 years ago

Great to hear thanks!