SolomonDefi / solomon-monorepo

Monorepo containing core Solomon apps, services, libraries, and deploy config.
6 stars 4 forks source link

Fix `skaffold dev` on main branch #212

Closed apolkingg8 closed 2 years ago

apolkingg8 commented 2 years ago

Looks like an Python version error here:


#14 [10/10] RUN cd /usr/src/apps/api-evidence     && poetry export -o requirements.txt --without-hashes     && poetry run pip install --no-cache-dir -U pip     && poe
try run pip install --no-cache-dir -r requirements.txt
#14 sha256:a29fa443abc0cde2adab068d9219eeb80fc90d6d5db038b532541549277d9901
#14 4.461 The currently activated Python version 3.9.5 is not supported by the project (^3.10).
#14 4.461 Trying to find and use a compatible version.
#14 4.539
#14 4.539   NoCompatiblePythonVersionFound
#14 4.539
#14 4.539   Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
#14 4.539
#14 4.540   at /usr/lib/python3.9/site-packages/poetry/utils/env.py:768 in create_venv
#14 4.623        764│                     python_minor = ".".join(python_patch.split(".")[:2])
#14 4.623        765│                     break
#14 4.623        766│
#14 4.623        767│             if not executable:
#14 4.624     →  768│                 raise NoCompatiblePythonVersionFound(
#14 4.624        769│                     self._poetry.package.python_versions
#14 4.624        770│                 )
#14 4.624        771│
#14 4.625        772│         if root_venv:
#14 ERROR: executor failed running [/bin/sh -c cd /usr/src/apps/api-evidence     && poetry export -o requirements.txt --without-hashes     && poetry run pip install -
-no-cache-dir -U pip     && poetry run pip install --no-cache-dir -r requirements.txt]: exit code: 1
------
 > [10/10] RUN cd /usr/src/apps/api-evidence     && poetry export -o requirements.txt --without-hashes     && poetry run pip install --no-cache-dir -U pip     && poet
ry run pip install --no-cache-dir -r requirements.txt:
------
executor failed running [/bin/sh -c cd /usr/src/apps/api-evidence     && poetry export -o requirements.txt --without-hashes     && poetry run pip install --no-cache-d
ir -U pip     && poetry run pip install --no-cache-dir -r requirements.txt]: exit code: 1
beefho67 commented 2 years ago

@apolkingg8 @solomondefi-dev I move this issue to Blocked/Waiting column to get attentions. Could I be any help on this? Just let me know.