crim-ca / mlm-extension

Machine Learning Model STAC Extension (archive, see https://github.com/stac-extensions/mlm)
https://crim-ca.github.io/mlm-extension/
Apache License 2.0
8 stars 0 forks source link

Invalid `stac-model` version on PyPI #13

Closed fmigneault closed 6 months ago

fmigneault commented 6 months ago

:bug: Bug Report

The https://pypi.org/project/stac-model/0.1.2/ version is released. However, the code still refers to the previous prerelease: https://github.com/crim-ca/mlm-extension/blob/082aa7ceeb3b6a9d5e81bad0189a584095281c4e/pyproject.toml#L8-L10

:chart_with_upwards_trend: Expected behavior

Released versions should match the code.

There should also be a git tag specifically to stac-model-vX.Y.Z, since other vX.Y.Z tags are reserved for the specification.

:paperclip: Additional context

A conditional stage in https://github.com/crim-ca/mlm-extension/blob/main/.github/workflows/stac-model.yml should probably be added to automate the poetry publish --build operation when some stac-model-vX.Y.Z tag is applied (or a corresponding release is generated).

The release of a stac-model version should not conflict with the release steps for the specification. Maybe a vX.Y.Z (spec) condition would have to be added to https://github.com/crim-ca/mlm-extension/blob/main/.github/workflows/publish.yaml