Closed joeflack4 closed 2 years ago
Fixed. See this log below. Basically, installing setuptools <= 57.5 worked. There were bugs in the new versions where we were getting this error.
Collecting tabletext==0.1 Downloading tabletext-0.1.tar.gz (6.1 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /opt/hostedtoolcache/Python/3.9.8/x64/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uibgp4y2/tabletext_95f6056c141c4bb589427263c7850f6f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uibgp4y2/tabletext_95f6056c141c4bb589427263c7850f6f/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-9998_fyd cwd: /tmp/pip-install-uibgp4y2/tabletext_95f6056c141c4bb589427263c7850f6f/ Complete output (1 lines): error in tabletext setup command: use_2to3 is invalid.
Run python -m pip install --upgrade pip python -m pip install --upgrade pip # pip install pipenv-to-requirements # pipenv_to_requirements pip install "setuptools<=57.5.0" # TEMP debugging: python -m site pip install -r requirements.txt # pip install -r requirements-dev.txt # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi shell: /usr/bin/bash -e {0} env: pythonLocation: /opt/hostedtoolcache/Python/3.9.8/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.8/x64/lib Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.9.8/x64/lib/python3.9/site-packages (21.3.1) Collecting setuptools<=57.5.0 Downloading setuptools-57.5.0-py3-none-any.whl (819 kB) Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 58.1.0 Uninstalling setuptools-58.1.0: Successfully uninstalled setuptools-58.1.0 Successfully installed setuptools-57.5.0 sys.path = [ '/home/runner/work/ccdh-terminology-service/ccdh-terminology-service', '/opt/hostedtoolcache/Python/3.9.8/x64/lib/python39.zip', '/opt/hostedtoolcache/Python/3.9.8/x64/lib/python3.9', '/opt/hostedtoolcache/Python/3.9.8/x64/lib/python3.9/lib-dynload', '/opt/hostedtoolcache/Python/3.9.8/x64/lib/python3.9/site-packages', ] USER_BASE: '/home/runner/.local' (doesn't exist) USER_SITE: '/home/runner/.local/lib/python3.9/site-packages' (doesn't exist) ENABLE_USER_SITE: True Collecting sssom@ git+https://github.com/mapping-commons/sssom-py.git@5b56269aac0f6b3e926bfb4d15811b229c33d618 Cloning https://github.com/mapping-commons/sssom-py.git (to revision 5b56269aac0f6b3e926bfb4d15811b229c33d618) to /tmp/pip-install-967puvde/sssom_7f82e9e92056405787b53c0b04dc3b9a Running command git clone --filter=blob:none -q https://github.com/mapping-commons/sssom-py.git /tmp/pip-install-967puvde/sssom_7f82e9e92056405787b53c0b04dc3b9a Running command git rev-parse -q --verify 'sha^5b56269aac0f6b3e926bfb4d15811b229c33d618' Running command git fetch -q https://github.com/mapping-commons/sssom-py.git 5b56269aac0f6b3e926bfb4d15811b229c33d618 Running command git checkout -q 5b56269aac0f6b3e926bfb4d15811b229c33d618 Resolved https://github.com/mapping-commons/sssom-py.git to commit 5b56269aac0f6b3e926bfb4d15811b229c33d618 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting aiofiles==0.7.0 Downloading aiofiles-0.7.0-py3-none-any.whl (13 kB) Collecting aioredis==2.0.0 Downloading aioredis-2.0.0-py3-none-any.whl (69 kB) Collecting alabaster==0.7.12 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting antlr4-python3-runtime==4.9.2 Downloading antlr4-python3-runtime-4.9.2.tar.gz (117 kB) 1s 34s 0s 0s
Fixed. See this log below. Basically, installing setuptools <= 57.5 worked. There were bugs in the new versions where we were getting this error.
Long err
Fixed: