Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Copy setup.cfg data to pyproject.toml #886

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pwithnall
Copy link
Contributor

This is needed to use newer versions of kolibri-tools, which will read configuration from pyproject.toml in preference to setup.cfg, if the former exists.

See learningequality/kolibri#11146

For now, keep the old configuration present in setup.cfg as well, in case people are using an older version of kolibri-tools. That can be dropped once we bump our dependency.

This is needed to use newer versions of kolibri-tools, which will read
configuration from `pyproject.toml` in preference to `setup.cfg`, if the
former exists.

See learningequality/kolibri#11146

For now, keep the old configuration present in `setup.cfg` as well, in
case people are using an older version of kolibri-tools. That can be
dropped once we bump our dependency.

Signed-off-by: Philip Withnall <[email protected]>
@pwithnall pwithnall requested a review from dbnicholson October 19, 2023 11:28
@pwithnall pwithnall self-assigned this Oct 19, 2023
@pwithnall
Copy link
Contributor Author

This is actually only needed once kolibri-explore-plugin depends on a new-enough version of kolibri-tools that contains learningequality/kolibri#11146. At that point, our i18n would break without this PR, because kolibri-tools will read pyproject.toml in preference to setup.cfg, and won’t merge keys between the two.

Submitting this PR now, even though it’s not actually needed yet, to avoid that potential trip hazard in future.

@manuq
Copy link
Collaborator

manuq commented Oct 19, 2023

Thank you @pwithnall

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.

2 participants