Skip to content

item_is_latest always returns False #14

@ilia-nikiforov-umn

Description

@ilia-nikiforov-umn

@dskarls it seems to me that this code never worked, but it was masked by the fact that all previous tests always set "limit":1 when querying for dependencies.

return ver == latest_ver just doesn't make any sense. latest_ver is the result of a query for the boolean field latest, while ver is the actual numerical version parsed from the kimcode. The function always returns False. Does that seem right?

https://github.com/openkim/developer-platform/blame/c94bae33af4f5bf435665e60107402f7e8646c86/docker/config/excerpts/util.py#L199

Metadata

Metadata

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