astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 63 forks source link

Devdeps builds take forever. Any suggestions? #468

Closed matteobachetti closed 1 year ago

matteobachetti commented 4 years ago

Hi, I noticed that devdeps builds take a lot of time to run, because the tox initialization takes forever. I tried specifying the #egg option for every development dependency and, even if it does speed up things a lot if I call pip directly, it does not seem to affect the tox build. Any ideas?

pllim commented 4 years ago

Which packages are you trying to build dev from source?

pllim commented 4 years ago

Also, if you don't really need to test against upstream dev, disable it.

matteobachetti commented 4 years ago

Thanks for your answers. We track astropy, numpy, stingray, pint. These are the packages whose API changes, over time, broke some of our functionality, so I do like to track their dev branches

pllim commented 4 years ago

For numpy -- you can use their nightly wheel. See #462

For the others, I think you gotta build from source still. Unfortunately, I am not familiar with tox. Maybe @Cadair can clarify why it is so slow.

astrofrog commented 4 years ago

This should not be tox related, just related to the fact those packages have to be built anyway, tox or not. But I think we really want to start publishing nightly or weekly wheels for astropy too, which would help this problem. This shouldn't be too hard to do in principle.

pllim commented 1 year ago

astropy has dev wheel now