Transport-for-the-North / caf.distribute

https://cafdistribute.readthedocs.io/en/stable/
Other
0 stars 1 forks source link

Readthedocs github action fails if PR changes code structure #26

Closed isaac-tfn closed 8 months ago

isaac-tfn commented 10 months ago

The readthedocs build imports self by installing the latest previous version of the package from pypi. This causes a problem where the code structure has changed between iterations, for example in the PR for multi-tld gravity models in caf.distribute there is a new module called 'multi_area.py' which is imported for some documentation. Where caf.distribute is installed from pypi this module doesn't exist so the build fails.

Possible solutions: