Skip to content

fix: bump build-time setuptools to 80.9.0 for the main branch - #1436

Merged
HammadYousaf01 merged 1 commit into
overhangio:mainfrom
edly-io:fix/bump-build-setuptools-main
Jul 24, 2026
Merged

fix: bump build-time setuptools to 80.9.0 for the main branch#1436
HammadYousaf01 merged 1 commit into
overhangio:mainfrom
edly-io:fix/bump-build-setuptools-main

Conversation

@Abdul-Muqadim-Arbisoft

Copy link
Copy Markdown
Contributor

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.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 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.

@ahmed-arb ahmed-arb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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
Abdul-Muqadim-Arbisoft force-pushed the fix/bump-build-setuptools-main branch from 2c4d1d3 to 923ead7 Compare July 24, 2026 10:03
@HammadYousaf01
HammadYousaf01 merged commit 6f32dee into overhangio:main Jul 24, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Triage to Done in Tutor project management Jul 24, 2026
@HammadYousaf01
HammadYousaf01 deleted the fix/bump-build-setuptools-main branch July 24, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants