astronomy-commons / hipscat-import

HiPSCat import - generate HiPSCat-partitioned catalogs
https://hipscat-import.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Bundle a poetry.lock file with the release #362

Closed delucchi-cmu closed 3 weeks ago

delucchi-cmu commented 1 month ago

This will enable easier deployment for STSci.

If possible, bubble the implementation up to the LINCC PPT.

delucchi-cmu commented 1 month ago

From in-person chat, a reasonable approach may be:

inside /.github/workflows/publish-to-pypi.yml

pip install .
<create poetry.lock>
pip install .[dev]
pytest
<publish to pypi with the poetry.lock file>

This bundles the lock file, and runs the unit tests at publish time (which is a current oversight).