Package Next Steps #519
Description
In today's dev telecon we discussed https://github.com/astropy/package-template/ and it's future given that there is also Python Packaging Guide. See the telecon notes (included below) for details. In brief, the suggestions are:
- Add a message to
package_template
that we are considering a move to the OA template. The message should probably be added to both the README and the cookie-cutter. See add README note about OA guide #520 - Recommending users to use to Python Packaging Guide while
package_template
is reorganized. Blocked by:
- Add documentation how to add Astropy infrastructure on top of Python Packaging Guide, so that affiliate packages can still make astropy-compatible packages.
- Funded project proposal for keeping these steps up-to-date, or ideally making a sub-branch or “astropy method” in the OA package template.
Quoting from the Dev Telecon:
Status of the astropy package template: Should it be retired in favor of Python Packaging Guide?
There is much overlap between the OA guide and the package template, so in the long term it might be good not to have both. However, is there feature parity? Is a migration needed? Should we formally deprecate astropy-template and ask people to migrate? Or should we simply not update it any longer? Or maybe keep both because they are different?
MHvK: can we perhaps make a migration guide? And then deprecate the astropy template?
The discussion in the issue is stalled, so it seems good to bring it up here to make a decision or suggestion on how to proceed.
- The package_template does not always reflex the newest and best CI practices, e.g. GH actions. Have to manually update dependent packages.
- Is there a way to automate this? We’ve done some in package_template, but it has fallen somewhat by the wayside
- What about dependent packages? How to migrate?
- The OpenAstronomy template requires more understanding and work. package_template “just works”
- The OA template doesn’t have the Astropy infrastructure.
- What about moving the
package_template
to OA and then the Astropy template uses the OA template, adding the Astropy infrastructure stuff- How to keep the Astropy one up-to-date? Who does this?
- Can cookiecutter manage this?
- Next steps:
- Message in
package_template
that we are considering a move to OA template - Recommending to OA in the meantime
- Add documentation how to add Astropy infrastructure on top of OA
- Funded project proposal for keeping these steps up-to-date, or ideally making a sub-branch or “astropy method” in the OA package template.
- Message in
Activity