Skip to content

feat: upgrade edx-enterprise to 8.9.0 - #420

Merged
pbitla-sonata merged 1 commit into
release-ulmofrom
pbitla/ENT-12015
Aug 11, 2026
Merged

feat: upgrade edx-enterprise to 8.9.0#420
pbitla-sonata merged 1 commit into
release-ulmofrom
pbitla/ENT-12015

Conversation

@pbitla-sonata

Copy link
Copy Markdown

Description

Bumps the manually-managed edx-enterprise pin from 8.8.0 to 8.9.0.

Per the comment in requirements/constraints.txt, this package is intentionally
excluded from automated upgrades so the owning team controls its rollout, so this
is a deliberate manual bump.

What 8.9.0 contains (single entry in the upstream changelog):

feat: add non-production portal banner configuration

Concretely, upstream adds a Non-production enterprise customer type. Assigning it
to an EnterpriseCustomer sets the new read-only show_non_production_banner
property, which is exposed 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.8.0
edx-enterprise==8.9.0:

  • requirements/constraints.txt
  • requirements/edx/base.txt
  • requirements/edx/development.txt
  • requirements/edx/doc.txt
  • requirements/edx/testing.txt

No transitive dependency churn: 8.9.0 declares the same 48 Requires-Dist entries
as 8.8.0, so make compile-requirements produces only the pinned version line.

Affected user roles: Operator and Administrator (configures the customer type),
Learner (sees the banner). No UI changes in this repo — the banner is rendered by
the portal MFEs off the API field.

Supporting information

Testing instructions

  1. Deploy this branch and run migrations:
    ./manage.py lms migrate enterprise
    
    Two new migrations should apply:
    • enterprise.0250_alter_enterprisecustomer_customer_type_and_more
    • enterprise.0251_add_non_production_customer_type
  2. Confirm the data migration created the customer type:
    ./manage.py lms shell -c "from enterprise.models import EnterpriseCustomerType; \
      print(EnterpriseCustomerType.objects.filter(name='Non-production').exists())"
    
    Expect True.
  3. In Django admin, edit an EnterpriseCustomer and set Customer Type to
    Non-production.
  4. Hit the enterprise customer API and confirm show_non_production_banner is
    true for that customer and false for customers with any other type.
  5. Regression check: existing enterprise customers keep their current customer
    type and report show_non_production_banner: false.

JIRA: ENT-12015

Bump the manually-managed edx-enterprise pin from 8.8.0 to 8.9.0 and
recompile the affected requirements files.

The release introduces no dependency changes -- 8.9.0 declares the same
48 Requires-Dist entries as 8.8.0 -- so the recompile touches only the
pinned version line in each file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 11, 2026 06:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR manually bumps the pinned edx-enterprise dependency from 8.8.0 to 8.9.0 across the platform’s compiled requirements to roll out the upstream “non-production portal banner configuration” feature under the owning team’s control.

Changes:

  • Update the manual pin in requirements/constraints.txt to edx-enterprise==8.9.0.
  • Update the corresponding compiled requirement pins in the EDX requirement sets (base, development, doc, testing) to match 8.9.0.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
requirements/constraints.txt Manual pin updated to edx-enterprise==8.9.0.
requirements/edx/base.txt Compiled requirements pin updated to 8.9.0.
requirements/edx/development.txt Compiled requirements pin updated to 8.9.0.
requirements/edx/doc.txt Compiled requirements pin updated to 8.9.0.
requirements/edx/testing.txt Compiled requirements pin updated to 8.9.0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pbitla-sonata
pbitla-sonata merged commit 9d73e6d into release-ulmo Aug 11, 2026
65 checks passed
@pbitla-sonata
pbitla-sonata deleted the pbitla/ENT-12015 branch August 11, 2026 07:01
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.

3 participants