Skip to content

fix: Remove libraries v2 check from enforcer.#294

Merged
mariajgrimaldi merged 1 commit into
openedx:release/ulmofrom
dianakhuang:diana/enforcer-import
May 21, 2026
Merged

fix: Remove libraries v2 check from enforcer.#294
mariajgrimaldi merged 1 commit into
openedx:release/ulmofrom
dianakhuang:diana/enforcer-import

Conversation

@dianakhuang
Copy link
Copy Markdown

@dianakhuang dianakhuang commented May 21, 2026

This was originally added as a performance improvement when libraries v2 was disabled, but it causes downstream errors when libraries v2 data exists even if libraries v2 is disabled.

The behavior would default to true in almost every case anyway due to a circular import in the toggles check on openedx-platform.

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

@dianakhuang dianakhuang force-pushed the diana/enforcer-import branch 3 times, most recently from 9d42122 to f6a45f0 Compare May 21, 2026 18:25
This was originally added as a performance improvement
when libraries v2 was disabled, but it causes downstream
errors when libraries v2 data exists even if libraries v2 is disabled.

The behavior would default to true in almost every case anyway due to
a circular import in the toggles check on openedx-platform.
@dianakhuang dianakhuang force-pushed the diana/enforcer-import branch from f6a45f0 to 3fae13a Compare May 21, 2026 18:37
Copy link
Copy Markdown
Member

@mariajgrimaldi mariajgrimaldi left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks so much for all the hard work on this. Appreciate it!

@mariajgrimaldi mariajgrimaldi merged commit 2ab86d3 into openedx:release/ulmo May 21, 2026
13 of 14 checks passed
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