OpenAstronomy / packaging-guide

A generic Python packaging guide and template. Slightly focused more towards scientific packages.
https://packaging-guide.openastronomy.org
41 stars 23 forks source link

Auto update of version pins based on upstream requirements #35

Open pllim opened 1 year ago

pllim commented 1 year ago

As asked by @weaverba137 over at https://github.com/astropy/astropy-project/issues/255#issuecomment-1458452831

Is there a way to know what upstream dependencies Astropy currently supports (equivalently: is being tested against), independently of tracking down the testing configuration files and reading those? If that did exist, one could conceive of packaging it in e.g. JSON or YAML format, then dropping those versions into templates of e.g. setup.cfg, tox.ini, .readthedocs.yml, ci_workflows.yml, etc.


Note: "Astropy" could be generalized to any upstream Python dependency that has similar layout as the template, perhaps.