Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ctrl_mpexec, daf_butler, pex_config, pipe_base, resources, sphgeom, utils
-
Labels:
-
Team:Architecture
-
Urgent?:No
Description
Now that we have the ability to derive proper versions from the git repository, we need to update the packages to allow them to be properly distributed on PyPI.
The relevant packages are:
- sphgeom
- pex_config
- resources
- utils
- daf_butler
- pipe_base
- ctrl_mpexec
- astro_metadata_translator
I will leave ctrl_bps out for now.
The process matches that in lsst-versions:
- Choose names lsst-x (lsst-daf-butler, lsst-ctrl-mpexec etc).
- Update the pyproject.toml and setup.cfg to work correctly following the PyPI specification.
- Modify the GitHub action to upload to PyPI whenever a tag is pushed.
Astro_metadata_translator tried to go it alone with versioning and tried to be semantic but it's filled with tags that look like v23.x and so at this point we probably should give up and make the next release align with all the other packages.
I will add packages to PyPI incrementally so that packages can depend on the PyPI versions. Note that the PyPI sphgeom will use setuptools and so will not have a reusable C++ library. Python users will not notice but if we put anything on conda-forge we should probably use the cmake version.
When we develop packages that depend on other packages we will have to temporarily edit the dependencies to refer to the github repo.
Thanks for putting them on pypi. In the future we should try to see what other relevant classifiers we should use. Some comments:
I can't find lsst-ctrl-mpexec.