Hi,
use tutor 15.3.4 + edX olive.3
follow instructions for install any xblock in dev mode:
git clone https://github.com/eazaika/mypackage.git
echo "-e ./mypackage" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt"
then
tutor dev dc build lms
(or tutor images build openedx
give same effect) throw an error:
Step 42/110 : COPY ./requirements/ /openedx/requirements
---> Using cache
---> 7658a9fe0f49
Step 43/110 : RUN cd /openedx/requirements/ && touch ./private.txt && pip install -r ./private.txt
---> Running in fc4c039eb842
ERROR: ./mypackage is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
The command '/bin/sh -c cd /openedx/requirements/ && touch ./private.txt && pip install -r ./private.txt' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t eazaika/openedx:olive /tutor-olive/tutor/env/build/openedx
Gets error if any path on ./mypackage, standard python git app
ls -la mypackage
drwxrwxr-x 7 eazaika eazaika 4096 may 16 12:52 .
drwxrwxr-x 7 eazaika eazaika 4096 may 16 13:09 ..
drwxrwxr-x 2 eazaika eazaika 4096 may 16 12:52 mypackage
drwxrwxr-x 3 eazaika eazaika 4096 may 16 12:52 docs
-rw-rw-r-- 1 eazaika eazaika 188 may 16 12:52 .editorconfig
drwxrwxr-x 8 eazaika eazaika 4096 may 16 12:52 .git
drwxrwxr-x 3 eazaika eazaika 4096 may 16 12:52 .github
-rw-rw-r-- 1 eazaika eazaika 139 may 16 12:52 .gitignore
-rw-rw-r-- 1 eazaika eazaika 1297 may 16 12:52 LICENSE
-rw-rw-r-- 1 eazaika eazaika 64 may 16 12:52 MANIFEST.in
-rw-rw-r-- 1 eazaika eazaika 213 may 16 12:52 pyproject.toml
-rw-rw-r-- 1 eazaika eazaika 5579 may 16 12:52 README.rst
-rw-rw-r-- 1 eazaika eazaika 76 may 16 12:52 .readthedocs.yml
-rw-rw-r-- 1 eazaika eazaika 1501 may 16 12:52 setup.cfg
-rw-rw-r-- 1 eazaika eazaika 93 may 16 12:52 setup.py
drwxrwxr-x 2 eazaika eazaika 4096 may 16 12:52 tests
-rw-rw-r-- 1 eazaika eazaika 904 may 16 12:52 tox.ini
Early, on tutor 14 + edX nutmeg it works fine
Whats happend?