Skip to content

fix: Remove libraries v2 check from enforcer. - onto main branch#295

Merged
mariajgrimaldi merged 1 commit into
openedx:mainfrom
dianakhuang:diana/enforcer-import-main
May 25, 2026
Merged

fix: Remove libraries v2 check from enforcer. - onto main branch#295
mariajgrimaldi merged 1 commit into
openedx:mainfrom
dianakhuang:diana/enforcer-import-main

Conversation

@dianakhuang
Copy link
Copy Markdown
Contributor

@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

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.
@mariajgrimaldi
Copy link
Copy Markdown
Member

mariajgrimaldi commented May 25, 2026

:o didn't see this last week, so sorry! Thank you so much for all the hard work on this!

I think we can live with -0.03 in coverage, so LGTM!

@mariajgrimaldi mariajgrimaldi merged commit b1ea19d into openedx:main May 25, 2026
7 of 8 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