You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{code}
git clone --no-single-branch --depth 50 https://github.com/Guake/guake.git .
git checkout --force origin/master
git clean -d -f -f
python3.7 -mvirtualenv /home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip setuptools
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --upgrade --no-cache-dir mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r requirements-dev.txt
Obtaining file:///home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest (from -r requirements-dev.txt (line 13))
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Build backend does not support editables, falling back to setup.py egg_info.
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py'"'"'; file='"'"'/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-c6e1ltqz
cwd: /home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/
Complete output (31 lines):
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python: No module named pip
Traceback (most recent call last):
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp970cgy9v', '--quiet', 'pbr']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py", line 17, in
setuptools.setup(pbr=True)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/init.py", line 152, in setup
_install_setup_requires(attrs)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/init.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 809, in fetch_build_eggs
replace_conflicting=True,
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 768, in resolve
replace_conflicting=replace_conflicting
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 1051, in best_match
return self.obtain(req, installer)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 1063, in obtain
return installer(requirement)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 877, in fetch_build_egg
return fetch_build_egg(self, req)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp970cgy9v', '--quiet', 'pbr']' returned non-zero exit status 1.
WARNING: Discarding file:///home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
{code}
The text was updated successfully, but these errors were encountered:
So, pretty sure this is the problem: /home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python: No module named pip
I am somewhat curious how this suddenly stopped working a few years back, how did this script suddenly stop being able to install/detect pip on its own when it worked before? Well, I can't find these commands in this repo so I assume this is a script on the readthedocs account that you have or something and I can't fix this myself because I don't have access to it, but it looks like you just need to install pip before running the pip installs in this script.
{code}
git clone --no-single-branch --depth 50 https://github.com/Guake/guake.git .
git checkout --force origin/master
git clean -d -f -f
python3.7 -mvirtualenv /home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip setuptools
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --upgrade --no-cache-dir mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r requirements-dev.txt
Obtaining file:///home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest (from -r requirements-dev.txt (line 13))
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Build backend does not support editables, falling back to setup.py egg_info.
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py'"'"'; file='"'"'/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-c6e1ltqz
cwd: /home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/
Complete output (31 lines):
/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python: No module named pip
Traceback (most recent call last):
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp970cgy9v', '--quiet', 'pbr']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest/setup.py", line 17, in
setuptools.setup(pbr=True)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/init.py", line 152, in setup
_install_setup_requires(attrs)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/init.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 809, in fetch_build_eggs
replace_conflicting=True,
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 768, in resolve
replace_conflicting=replace_conflicting
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 1051, in best_match
return self.obtain(req, installer)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/pkg_resources/init.py", line 1063, in obtain
return installer(requirement)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 877, in fetch_build_egg
return fetch_build_egg(self, req)
File "/tmp/pip-build-env-abbrstqn/overlay/lib/python3.7/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/home/docs/checkouts/readthedocs.org/user_builds/guake/envs/latest/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp970cgy9v', '--quiet', 'pbr']' returned non-zero exit status 1.
WARNING: Discarding file:///home/docs/checkouts/readthedocs.org/user_builds/guake/checkouts/latest. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
{code}
The text was updated successfully, but these errors were encountered: