-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge with / deprecate in favor of scientific-python/cookie? #71
Comments
The philosophy of that guide / template and this one are very different. I think there's space for both. The goal of this template was to make a template that has opinions and provides one way of doing things, with a few optional features. This means this template does not have "Eleven different backends to choose from for building packages." it has one, the same one used by Astropy and SunPy. I do not believe that scientists trying to setup a astropy or sunpy affiliated package want or need a choice in build backend (for example), and just want to get something which is "the same as" other things they might look at. |
I'm perfectly happy with there being space for both package templates, but I must admit I have yet to see the evidence. |
I disagree that setuptools is a bad thing to be using, but this isn't the forum for that discussion. To some extent I don't care what tool this repo uses, but I do firmly believe it should make that choice for the user. If the first thing the open astronomy / astropy or SunPy guides have to start with is "pick a packaging tool" we have gone very wrong. Also I think that this guide should do the same thing as astropy and sunpy, so we should migrate those to a different tool in tandem with this repo. |
A Q:
I agree it should offer a sensible default! scientific-python/cookie has Hatch as the default, since it is the packaging.python.org recommendation and most projects are pure Python.
Fair enough. 👍 I guess my larger point, beyond choice of backends, is that I worry about the multiple reproductions of effort and the decoupling of Astropy etc from the rest of the scientific python ecosystem. First, Astropy doesn't actually use this repo as its base so there's already a doubling of effort to keep this repo up-to-date with Astropy. Second, there are a number of ways the scientific python ecosystem is evolving that Astropy is starting to move to follow, from build backends to testing frameworks. The move to keep Astropy consistent with the scientific python ecosystem is fantastic, but the closer we are the definitionally smaller difference there is between this repo and scientific-python/cookie. IMO we move to strengthen both repos by adding the best bits of this one to that one and don't duplicate efforts going forward. There's been a lot of discussion Astropy-side about the time spent on infrastructure. While my opinions are somewhat different (I see upgrading Astropy to use the current Python best practices and scientific python community-specific practices as a good thing), I wholeheartedly agree that we should minimize time spent. Which is one of the reasons I opened this Issue. |
https://github.com/scientific-python/cookie is the cookie frontend to the excellent https://learn.scientific-python.org/development/ resource. It's more actively developed and more fully featured. Rather than duplicating effort, should we upstream the best parts of this packaging guide to https://learn.scientific-python.org/development/ and https://github.com/scientific-python/cookie and then deprecate this repo?
(Note: also impacts https://github.com/astropy/astropy/blob/main/docs/development/astropy-package-template.rst)
The text was updated successfully, but these errors were encountered: