Skip to content

Clarify comments inside python-requirements.txt.#1344

Merged
gouttegd merged 1 commit intomasterfrom
add-linkml-map
May 6, 2026
Merged

Clarify comments inside python-requirements.txt.#1344
gouttegd merged 1 commit intomasterfrom
add-linkml-map

Conversation

@gouttegd
Copy link
Copy Markdown
Contributor

@gouttegd gouttegd commented May 5, 2026

The comments within the python-requirements.txt file were misleading, as they were suggesting that the file listed both packages needed for ODK-Lite ("core dependencies") and for ODK-Full ("secondary dependencies").

This PR clarifies the contents of the python-requirements.txt by breaking it down in three sections:

(A) The section with the dependencies needed for ODK-Lite -- which, by definition, only contain the ODK-Core package.

(B) The section containing all the Python packages that should be, as much as possible, always kept to their most recent versions ("first-tier dependencies").

(C) The section containing all the other packages wanted for ODK-Full.

This commit also adds to the (C) section the linkml-map package. For now, that package is already included in ODK-Full because it is an indirect dependency of something else, but that may change (as we observed when trying to update the base image to Ubunty 26.04, where linkml-map is no longer included), so we make linkml-map an explicit dependency.

closes #1340

The comments within the `python-requirements.txt` file were misleading,
as they were suggesting that the file listed both packages needed for
ODK-Lite ("core dependencies") and for ODK-Full ("secondary
dependencies").

This commit clarifies the contents of the python-requirements.txt by
breaking it down in three sections:

(A) The section with the dependencies needed for ODK-Lite -- which, by
definition, only contain the ODK-Core package.

(B) The section containing all the Python packages that should be, as
much as possible, always kept to their most recent versions ("first-tier
dependencies").

(C) The section containing all the other packages wanted for ODK-Full.

This commit also adds to the (C) section the `linkml-map` package. For
now, that package is already included in ODK-Full because it is an
indirect dependency of something else, but that may change (as we
observed when trying to update the base image to Ubunty 26.04, where
`linkml-map` is no longer included), so we make `linkml-map` an
_explicit_ dependency.

closes #1340
@gouttegd gouttegd self-assigned this May 5, 2026
@gouttegd gouttegd requested a review from matentzn May 5, 2026 16:19
Copy link
Copy Markdown
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@gouttegd gouttegd merged commit 1c8d353 into master May 6, 2026
1 check passed
@gouttegd gouttegd deleted the add-linkml-map branch May 6, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revise and simplify python-requirements.txt

2 participants