Skip to content

pin sub-modules (api/extensions) to specific version #678

Closed
@vincentsarago

Description

@vincentsarago

The three stac-fastapi sub-modules are linked together, mostly because of the mono-repo but also because they depends on each other

  • api depends on types (and not officially on extensions, 😬 circular dependency)
  • extensions depends on api and types

Right now we don't set any version limits of packages and technically this could mean that users could have different version of each packages... and this will not work (it could, but there is a hight chance of breaking changes between the packages).

in #625 (comment) I've proposed that we pin the sub-module to specific version but we reverted to acquire more opinions (#625 (comment))

FYI: we do this in titiler https://github.com/developmentseed/titiler/blob/main/src/titiler/mosaic/pyproject.toml#L34 and we use bump2version to update all the version when we do a release https://github.com/developmentseed/titiler/blob/main/.bumpversion.cfg (which we will introduce in #648)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions