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

feat!: remove SkillTaggingMixin from common XBLOCK_MIXINS #34530

Merged

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Apr 17, 2024

Description

Skill tagging [1] is not a core feature, and it is not installed into core requirements, evidenced by the fact that a try-except clause must be used to import it into common settings. Setting overrides like this should be made in each operator's private settings file rather than the upstream common settings file.

BREAKING CHANGE: Operators who install the xblock-skilltagging package will need to add SkillTaggingMixin to XBLOCK_MIXINS_EXTRA (or XBLOCK_MIXINS) in a private settings/YAML file, as it will no longer be done automatically in common settings. The README for xblock-skilltagging has an example [2]

[1] https://github.com/openedx/xblock-skill-tagging
[2] https://github.com/openedx/xblock-skill-tagging?tab=readme-ov-file#configuration

Other information

Essentially, this reverts #34130

Merge considerations

We'll give 2U a chance to update their private YAML file before merging.

However, this needs to merge before the Redwood cut, which is happening between May 1 and May 9. So, I plan to merge this April 29th.

This is not a core feature, and it is not installed into core
requirements, evidenced by the fact that it must be try-except imported
into common.py. Instead, setting updates like this should be made
in each operator's private settings file.

BREAKING CHANGE: Operators who install the xblock-skilltagging package
will need to add SkillTaggingMixin to XBLOCK_MIXINS_EXTRA in a private
settings file, as it will no longer be done automatically in
private.py.
@kdmccormick kdmccormick marked this pull request as ready for review April 17, 2024 13:54
@kdmccormick kdmccormick added the business-specific Code that relates to a specific user and should be refactored and removed. label Apr 19, 2024
@kdmccormick kdmccormick merged commit 85d726f into openedx:master Apr 29, 2024
66 checks passed
@kdmccormick kdmccormick deleted the kdmccormick/no-skill-tagging branch April 29, 2024 17:30
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
business-specific Code that relates to a specific user and should be refactored and removed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants