feat: upgrade edx-enterprise to 8.9.0 - #38970
Open
pbitla-sonata wants to merge 1 commit into
Open
Conversation
Bump the manually-managed edx-enterprise pin from 8.7.2 to 8.9.0 and recompile the affected requirements files. This spans two upstream releases: * 8.8.0 - feat: add pipeline steps for logistration filters * 8.9.0 - feat: add non-production portal banner configuration Neither release changes edx-enterprise's own dependencies -- 8.7.2 and 8.9.0 declare the same 48 Requires-Dist entries -- so the recompile touches only the pinned version line in each file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps the manually-managed
edx-enterprisepin from8.7.2to8.9.0and recompiles theaffected requirements files.
Per the comment in
requirements/constraints.txt, this package is deliberately excluded fromautomated upgrades so the owning team controls its rollout, so this is a manual bump.
This spans two upstream releases:
feat: add pipeline steps for logistration filtersfeat: add non-production portal banner configurationThe 8.9.0 change adds a
Non-productionenterprise customer type. Assigning it to anEnterpriseCustomersets the new read-onlyshow_non_production_bannerproperty, which isexposed on the enterprise customer API serializer so the administrator and learner portals can
render a banner indicating the portal is not production.
Requirements diff
5 files, one line each, all
edx-enterprise==8.7.2→edx-enterprise==8.9.0:requirements/constraints.txtrequirements/edx/base.txtrequirements/edx/development.txtrequirements/edx/doc.txtrequirements/edx/testing.txtNo transitive dependency churn: 8.7.2 and 8.9.0 declare the same 48
Requires-Distentries, somake compile-requirements(run under Python 3.12, matching the existing file headers) producesonly the pinned version line in each file.
Affected user roles
Operator / Administrator (configures the customer type) and Learner (sees the banner). There are
no UI changes in this repo — the banner is rendered by the portal MFEs off the API field.
Supporting information
Testing instructions
Deploy this branch and run migrations:
Exactly two new migrations should apply:
enterprise.0250_alter_enterprisecustomer_customer_type_and_moreenterprise.0251_add_non_production_customer_typeConfirm the data migration created the customer type:
Expect
True.In Django admin, edit an
EnterpriseCustomerand set Customer Type toNon-production.Hit the enterprise customer API and confirm
show_non_production_banneristruefor thatcustomer and
falsefor customers with any other type.Regression check: existing enterprise customers keep their current customer type and report
show_non_production_banner: false.Other information
Migrations. 8.8.0 introduces no migrations. 8.9.0 ships two in the
enterpriseapp:0250is a pair ofAlterFieldcalls that change only thehelp_textoncustomer_type(and its historical model). No schema impact.
0251is aRunPythonthat creates theNon-productionEnterpriseCustomerTyperow.JIRA: ENT-12015