Skip to content

Fix Upgrade Requirements workflow failures in modernized repos #579

Open

Description

@farhan

Context

After the uv modernization merged, the scheduled "Upgrade Requirements" workflow fails at make upgrade in some repos with:

Don't understand 'write_uv_constraints pyproject.toml'
  • The Makefile runs uv run --with edx-lint edx_lint write_uv_constraints pyproject.toml.
  • write_uv_constraints first shipped in edx-lint 6.1.0, but some repos still lock an older edx-lint (5.6.0 or 6.0.0) carried over from the old requirements files.
  • uv run --with edx-lint reuses the project's installed copy instead of fetching a newer version.

Reference: openedx/edx-ace#389

Fix

Require edx-lint>=6.2 in the quality group and in the Makefile's uv run --with, matching sample-plugin, and bump edx-lint in uv.lock.

Affected repos (confirmed by failing CI runs)

  • openedx/edx-ace
  • openedx/edx-toggles
  • openedx/edx-django-utils

The other modernized repos lock edx-lint 6.1+ and pass today, but none of them sets a minimum edx-lint version.

Activity

  1. added
    aximprovementsTickets for tracking work the aximprovements team is doing.
    on Nov 18, 2026
  2. self-assigned this
    on Nov 18, 2026
  3. moved this to 🏗 In progress in Aximprovements Teamon Nov 18, 2026
  4. farhan commented on Nov 18, 2026

    @farhan
    Author

    @irfanuddinahmad The same failure is in 4 of your modernized repos. Can you apply the edx-ace#390 fix to them?

    Repo Locked edx-lint Failing run
    edx-bulk-grades 5.6.0 42653620497
    edx-celeryutils 6.0.0 43146095057
    edx-rbac 5.6.0 43136761401
    enterprise-access 5.6.0 43790836248
  5. farhan commented on Nov 18, 2026

    @farhan
    Author

    @salman2013 Review comments on the open modernization PRs:

    PR Comment Link
    api-doc-tools#409 Request change (locks edx-lint 5.6.0) comment
    olxcleaner#32 Request change (locks edx-lint 5.3.6) comment
    code-annotations#246 Nit: add the >=6.2 floor comment
    pytest-repo-health#385 Nit: add the >=6.2 floor comment
    edx-repo-health#730 Nit: add the >=6.2 floor comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

aximprovementsTickets for tracking work the aximprovements team is doing.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions