Description
IMO this could be useful as fall-back during sprints, in particular for pesky company Windows laptops, where I (and others for example @adrinjalali and @glemaitre) have been guilty to debug the Windows situation rather than focussing on more important stuff 😅.
Try it on my fork https://github.com/lesteve/scikit-learn
Full disclosure: for some reason, this does not work for me on Firefox, I need to use a Chromium-like browser (Vivaldi works for example), maybe due to my addons not sure.
The setup seems quite maintable see current diff main...lesteve:scikit-learn:main. This could be tweaked for example to setup ccache
if we insist but I think is good enough as is.
I tried it on my fork on a 2-core machine (default):
- build time from scratch: ~7 minutes
- run full test suite: ~13 minutes (with or without
-n2
has similar timings) - doc
make html-noplot
(i.e. no example) ~9 minutes first time, ~1 minute second time
Pricing: 120 core hours + 15GB storage free per month. With the default 2-core machine, which is probably enough for sprints. See doc for more details.
I guess we may want to add light documentation about it somewhere.
- numpy mentions codespaces without much detailed instructions:
https://numpy.org/doc/2.1/dev/development_environment.html - scipy does something similar:
https://docs.scipy.org/doc/scipy/dev/dev_quickstart.html#other-workflows
Previous related conversations: