Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Package Next Steps #519

Closed
Closed
@nstarman

Description

@nstarman

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:

  1. 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
  2. Recommending users to use to Python Packaging Guide while package_template is reorganized. Blocked by:
  1. Add documentation how to add Astropy infrastructure on top of Python Packaging Guide, so that affiliate packages can still make astropy-compatible packages.
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions