mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Fix deployments due to conflict with a few library versions. #5332

Closed rhysyngsun closed 1 year ago

rhysyngsun commented 1 year ago

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