TravisCI Build Fails
See original GitHub issueThere seems to be something broken in the TravisCI build tests. I discovered an issue in test 4 for detections.findstars.py
where suddenly Sphinx didn’t like the multiply defined URLs so submitted #828 thinking that was an easy fix to replace the slightly tidier format for referencing daofind
and starfind
with anonymous URLs.
However, that subsequently uncovered an issue with TravisCI test 6 (ASTROPY_VERSION=development EVENT_TYPE='pull_request push cron'
) where any test that goes through astropy.modeling.core
hits an astropy deprecation warning (astropy.utils.exceptions.AstropyDeprecationWarning: This function is no longer needed, directly use `inspect.Signature`.
) which TravisCI interprets as an error and the build fails.
It seems kinda coincidental to me that both errors mysteriously happened at the same time, so I suspect that my PR #828 might not be necessary if whatever deeper build failure is fixed, but it is available if necessary (or if the error persists after this bigger astropy bug is solved). I don’t know enough about the astropy deprecation system to know what’s causing the second warning (turned error) message, however.
Can we just put a flag somewhere to ignore that warning, or turn warnings back into warnings and not failing errors?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
It is fixed upstream. I think this can be closed.
Yes, it’s due to ~~https://github.com/astropy/astropy/pull/8408.~~ I’m working on a fix.