The issue here is that heroku appears to have an pre-installed version of setuptools. There must've been a recent update that caused this to be upgraded to a version incompatible with how l18n invokes it. So I've pinned both setuptools (to the version current for Heroku) and l18n.
How should this be manually tested?
(Required)
Where should the reviewer start?
On master branch, add setuptools==67.6.1 to requirements.in and run pip-compile. This should error with the same error on the failed build linked above.
Checkout this branch, rebuild your containers, and smoke test that the app still runs.
Pre-Flight checklist
What are the relevant tickets?
N/A
What's this PR do?
This fixes an issue trying to build the app for heroku deployment. See the trace in the build log:
https://github.com/mitodl/micromasters/actions/runs/4699543907/jobs/8400688419#step:3:29935
The issue here is that heroku appears to have an pre-installed version of
setuptools
. There must've been a recent update that caused this to be upgraded to a version incompatible with howl18n
invokes it. So I've pinned bothsetuptools
(to the version current for Heroku) andl18n
.How should this be manually tested?
(Required)
Where should the reviewer start?
master
branch, addsetuptools==67.6.1
torequirements.in
and runpip-compile
. This should error with the same error on the failed build linked above.