Repository navigation
fix: upgrade openedx-forum to 0.4.1.post1 - #39232
Merged
Merged
Conversation
Security release of the forum app for GHSA-c6fp-f54c-6cv4: the forum HTTP API is no longer routed unless FORUM_ENABLE_HTTP_API is set, and requires a staff caller when it is. GHSA-c6fp-f54c-6cv4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The static assets check used the runner's default pip, which builds legacy setup.py-only packages in an isolated environment with the latest setuptools. ora2's loremipsum==1.0.5 dependency imports pkg_resources at build time, which setuptools 81+ no longer ships, so the job failed before collecting any assets. Install requirements/pip.txt (pip 24.2, setuptools 79) first, as the Makefile's pre-requirements target does. With it, loremipsum builds against the environment's setuptools and installs cleanly. Release lines from Ulmo on avoid this by moving to ora2 6.17.2, which drops the loremipsum dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`make compile-requirements` downloads common_constraints.txt from edx-lint's master branch, which has since added caps for pip and social-auth. That made the "Compile requirements" check fail on every PR against this branch. Commit the current common_constraints.txt and the recompiled files. Teak's pins already satisfy the new caps, so no pinned version changes, only the "via" comments. Co-Authored-By: Claude Opus 5.5 <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.
Upgrade
openedx-forumfrom0.4.1to0.4.1.post1, the security release for https://github.com/openedx/forum/security/advisories/GHSA-c6fp-f54c-6cv4. The forum HTTP API is no longer routed unlessFORUM_ENABLE_HTTP_APIis set, and requires a staff caller when it is. edx-platform callsforum.apiin process, so nothing here uses those routes. Theopenedx-forum<=0.4.1cap inrequirements/constraints.txtbecomes<0.4.2, since0.4.1.post1sorts above0.4.1and the old cap would exclude it.The requirements files are edited by hand since this is a single pin change on a release branch.
The other two commits fix CI checks that fail on every PR against this branch. The static assets check now installs
requirements/pip.txtfirst, since the runner's default pip builds ora2'sloremipsumdependency with a setuptools that no longer shipspkg_resources. The "Compile requirements" check gets the current upstreamcommon_constraints.txt, and the recompiled files only change in their# viacomments.🤖 Generated with Claude Code