I just ran into this exact error when trying to build a local image for 10.5.3.
I’ll outline my fix below. I have no idea if it is the correct way of fixing this, but it worked for me. If anyone has a better solution, please let me know.
I downloaded a copy of base.txt from github here: edx-platform/base.txt at open-release/juniper.master · edx/edx-platform · GitHub
I then modified line line 184 from:
py2neo==3.1.2 # via -r requirements/edx/base.in
to:
git+https://github.com/technige/py2neo.git@py2neo-3.1.2#egg=py2neo==3.1.2
I copied the new base.txt file into ~/.local/share/tutor/env/build/openedx/requirements
I then made the following change in the Dockerfile:
From:
# Install base requirements
RUN pip install -r ./requirements/edx/base.txt
To:
# Install base requirements
COPY ./requirements/base.txt ./requirements/edx/base.txt
RUN pip install -r ./requirements/edx/base.txt
I then rebuilt the images and everything worked.
Again, if there is a better solution to this, I’m all ears.