make build
`which python2 python | head -n 1` -m virtualenv --python=`which python2 python | head -n 1` --no-site-packages ./local
Already using interpreter /usr/bin/python2
New python executable in /home/yma/projets/synology/archives/syncserver/local/bin/python2
Not overwriting existing python script /home/yma/projets/synology/archives/syncserver/local/bin/python (you must use /home/yma/projets/synology/archives/syncserver/local/bin/python2)
Installing setuptools, pkg_resources, pip, wheel...done.
CFLAGS="-Wno-error -Wno-error=format-security" ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future PYTHONWARNINGS=ignore:DEPRECATION ./local/bin/pip install --ignore-installed --no-cache-dir --trusted-host codeload.github.com -i https://pypi.python.org/simple -U pip
Looking in indexes: https://pypi.python.org/simple
Collecting pip
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
|████████████████████████████████| 1.4MB 341kB/s
Installing collected packages: pip
Successfully installed pip-19.3.1
CFLAGS="-Wno-error -Wno-error=format-security" ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future PYTHONWARNINGS=ignore:DEPRECATION ./local/bin/pip install --ignore-installed --no-cache-dir --trusted-host codeload.github.com -r requirements.txt
Collecting https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip (from -r requirements.txt (line 12))
ERROR: HTTP error 404 while getting https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip
ERROR: Could not install requirement https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip (from -r requirements.txt (line 12)) because of error 404 Client Error: Not Found for url: https://codeload.github.com/mozilla-services/tokenserver/zip/1.4.5
ERROR: Could not install requirement https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip (from -r requirements.txt (line 12)) because of HTTP error 404 Client Error: Not Found for url: https://codeload.github.com/mozilla-services/tokenserver/zip/1.4.5 for URL https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip
make: *** [Makefile:29: local/COMPLETE] Error 1
Of course, both original and redirected locations are valid and wget the file properly.
Notice the addition of PYTHONWARNINGS=ignore:DEPRECATION and pip options --ignore-installed --no-cache-dir --trusted-host codeload.github.com when trying to work-around issue but I am now out of ideas.
Trying to download from those URLs works for me, so I wonder if this some some sort of transient file-hosting issue with github. Are you still getting the same error?
Hello
On recent Debian Testing,
make build
fails withOf course, both original and redirected locations are valid and
wget
the file properly.Notice the addition of
PYTHONWARNINGS=ignore:DEPRECATION
and pip options--ignore-installed --no-cache-dir --trusted-host codeload.github.com
when trying to work-around issue but I am now out of ideas.Thank you in advance for your help