Tutor extra requirements

I want install extra requirements, according to the documentation Configuration and customisation — Tutor documentation, extra requirements can be added in the config.yml file, but when running the command tutor images build openedx I get an error like below. can someone help me??

Step 23/87 : RUN curl https://github.com/edx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7b36c9d139e6c.patch | git apply -
 ---> Running in 8975a80f7d7a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
fatal: unrecognized input
The command '/bin/sh -c curl https://github.com/edx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7b36c9d139e6c.patch | git apply -' returned a non-zero code: 128
Error: Command failed with status 128: docker build -t docker.io/overhangio/openedx:10.2.1 /root/.local/share/tutor/env/build/openedx

my tutor version is 10.2.1

I suggest rather to look into this doc which matches your version 10: tutor/configuration.rst at v10.5.4 · overhangio/tutor · GitHub

Why?
I am not sure what the cause of your error is, but what I can say is that tutor doc by default refer to the latest version which in this case is 14.* however yours is 10.*. So I suggested rather to look into the doc in github (given in github you could choose which version/branch to look into but not in live doc)

thank you @ghassan,
I have tried to read as you suggest, the documentation suggests adding extra requirements to the file env/build/openedx/requirements/private.txt. i have added and tried again, the result is still the same.
I have also tried to deleting all the extra requirements then trying to build images, but the result is still the same.

Ouch I think I got the problem; It’s because tutor points to the platform with edx rather than openedx. I don't know of an easy way to resolve; The quicket way to get around this you would need to chage every occurance of edxwithopenedxin Dockerfile which tutor uses to build image. But you know if you usetutor config save` your changes will be overwritten.

Example:
RUN curl https://github.com/edx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7b36c9d139e6c.patch | git apply -
Would become:
RUN curl https://github.com/openedx/edx-platform/commit/80fa2cae128e2a1fd8ab298351b7b36c9d139e6c.patch | git apply -

Hi @ghassan ,
i have tried to read as you suggest, I change edx into openedx but, I have got error when install requirements

ERROR: No matching distribution found for py2neo==3.1.2 (from -r ./requirements/edx/base.txt (line 183))

do I have to change the version of this package?