fix: bump build-time setuptools to 80.9.0 for the main branch - #1436
Merged
HammadYousaf01 merged 1 commit intoJul 24, 2026
Merged
Conversation
ahmed-arb
reviewed
Jul 23, 2026
ahmed-arb
left a comment
Collaborator
There was a problem hiding this comment.
We should add an entry in changelog for this.
The setuptools build constraint added in overhangio#1411 pins 69.1.1, which is forward-ported from the release branch to main. On main we build against edx-platform's master branch, where mysqlclient==2.2.8 declares its license using the PEP 639 `project.license` format. setuptools only understands that format from 77.0.0 onwards, so building the openedx image with setuptools 69.1.1 fails: configuration error: `project.license` must be valid exactly by one Bump the pinned version to 80.9.0 on main. It is new enough to build the master requirements (mysqlclient 2.2.8 and friends) and still ships pkg_resources, which setuptools 82.0.0 removes but which is still required at runtime by dependencies such as fs (pyfilesystem2) -- matching edx-platform's own `setuptools<82` constraint. The release branch intentionally stays on 69.1.1: Ulmo's requirements build fine with it, and this avoids changing the setuptools version shipped by the current stable release.
Abdul-Muqadim-Arbisoft
force-pushed
the
fix/bump-build-setuptools-main
branch
from
July 24, 2026 10:03
2c4d1d3 to
923ead7
Compare
HammadYousaf01
approved these changes
Jul 24, 2026
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.
The setuptools build constraint added in #1411 pins 69.1.1, which is forward-ported from the release branch to main. On main we build against edx-platform's master branch, where mysqlclient==2.2.8 declares its license using the PEP 639
project.licenseformat. setuptools only understands that format from 77.0.0 onwards, so building the openedx image with setuptools 69.1.1 fails:Bump the pinned version to 80.9.0 on main. It is new enough to build the master requirements (mysqlclient 2.2.8) and still ships pkg_resources, which setuptools 82.0.0 removes but which is still required at runtime by dependencies such as fs (pyfilesystem2) matching edx-platform's own
setuptools<82constraint.The release branch intentionally stays on 69.1.1: Ulmo's requirements build fine with it, and this avoids changing the setuptools version shipped by the current stable release.