Skip to content

are < dependencies required? #36

@alaniwi

Description

@alaniwi

@dwest77a

A matter arising from cedadev/ceda-jaspy-envs#161:

The less tightly that a package (or some version of a package) locks down the versions of its dependencies (in pyproject.toml in this case), the more chance that it can installed compatibly with other packages in the Jaspy environment.

In particular, I note that cfapyx has various < (or <=) dependencies. This carries the risk of not being able to produce a compatible environment if something else requires later versions of those same dependencies. Given that you are the author of cfapyx and a colleague, this is a bit of a special case, in that if it won't resolve a Jaspy environment when the time comes to prepare a new release, then I could ask if you can resolve it by quickly publishing a new cfapyx release with updated dependencies. More generally, however, packages containing < dependencies have an increased chance of needing to be removed from Jaspy at some point.

I would suggest only using < if you are specifically aware of breaking changes planned for the later release, rather than simply a possibility that they might occur at some point. This is a trade-off, of course.

Thanks.

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