Closed matthiasschaub closed 1 year ago
=> ERROR [api 9/14] RUN python -m poetry install --no-ansi --no-interaction --no-root 20.2s ------ > [api 9/14] RUN python -m poetry install --no-ansi --no-interaction --no-root: 0.764 Creating virtualenv ohsome-quality-api-ZWllEyjg-py3.10 in /home/oqapi/.cache/pypoetry/virtualenvs 1.164 Installing dependencies from lock file 1.330 1.330 Package operations: 79 installs, 1 update, 0 removals 1.330 1.330 • Installing click (8.1.7) 1.331 • Installing exceptiongroup (1.1.3) 1.331 • Installing idna (3.4) 1.331 • Installing numpy (1.25.2) 1.331 • Installing pyparsing (3.1.1) 1.332 • Installing sniffio (1.3.0) 1.333 • Installing typing-extensions (4.7.1) 3.938 • Installing affine (2.4.0) 3.938 • Installing annotated-types (0.5.0) 3.939 • Installing anyio (3.7.1) 3.940 • Installing attrs (23.1.0) 3.941 • Installing click-plugins (1.1.1) 3.943 • Installing cligj (0.7.2) 3.943 • Installing certifi (2023.7.22) 3.944 • Installing h11 (0.14.0) 3.945 • Installing iniconfig (2.0.0) 3.945 • Installing distlib (0.3.7) 3.946 • Installing joblib (1.3.2) 3.946 • Installing markupsafe (2.1.3) 3.947 • Installing filelock (3.12.2) 4.034 • Installing multidict (6.0.4) 4.048 • Installing packaging (23.1) 4.056 • Installing platformdirs (3.10.0) 4.066 • Installing pluggy (1.2.0) 4.082 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 4.096 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 4.098 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 4.139 • Installing pycparser (2.21) 4.143 • Installing pydantic-core (2.6.1) 4.162 • Installing scipy (1.9.3) 4.167 • Downgrading setuptools (68.2.0 -> 68.1.2) 4.167 • Installing six (1.16.0) 4.182 • Installing snuggs (1.4.7) 4.186 • Installing threadpoolctl (3.2.0) 4.209 • Installing tomli (2.0.1) 7.665 • Installing cffi (1.15.1) 7.665 • Installing cfgv (3.4.0) 7.666 • Installing charset-normalizer (3.2.0) 7.667 • Installing contextlib2 (21.6.0) 7.668 • Installing coverage (7.3.0) 7.668 • Installing fiona (1.9.4.post1) 7.670 • Installing httpcore (0.16.3) 7.670 • Installing identify (2.5.27) 7.671 • Installing jinja2 (3.1.2) 7.671 • Installing mypy-extensions (1.0.0) 7.672 • Installing nodeenv (1.8.0) 7.673 • Installing pathspec (0.11.2) 7.674 • Installing pydantic (2.2.1) 7.739 • Installing pytest (7.4.0) 7.743 • Installing pyyaml (6.0.1) 7.756 • Installing rasterio (1.3.8) 7.786 • Installing rfc3986 (1.5.0) 7.820 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 7.828 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 7.858 • Installing scikit-learn (1.2.0) 7.862 • Installing shapely (2.0.1) 7.896 • Installing simplejson (3.19.1) 7.932 • Installing starlette (0.27.0) 7.943 • Installing tenacity (8.2.3) 7.971 • Installing tzlocal (5.0.1) 8.002 • Installing urllib3 (2.0.4) 8.046 Connection pool is full, discarding connection: pypi.org. Connection pool size: 10 8.094 • Installing virtualenv (20.24.3) 8.134 • Installing wrapt (1.15.0) 8.192 • Installing yarl (1.9.2) 19.44 19.44 ChefBuildError 19.44 19.44 Backend subprocess exited when trying to invoke get_requires_for_build_wheel 19.44 19.44 <string>:86: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead 19.44 WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config' 19.44 CRITICAL:root:A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. 19.44 19.44 19.44 at ~/.local/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare 19.45 143│ 19.45 144│ error = ChefBuildError("\n\n".join(message_parts)) 19.45 145│ 19.45 146│ if error is not None: 19.45 → 147│ raise error from None 19.45 148│ 19.45 149│ return path 19.45 150│ 19.45 151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path: 19.45 19.45 Note: This error originates from the build backend, and is likely not a problem with poetry but with fiona (1.9.4.post1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "fiona (==1.9.4.post1)"'. 19.45 19.92 19.92 ChefBuildError 19.92 19.92 Backend subprocess exited when trying to invoke get_requires_for_build_wheel 19.92 19.92 <string>:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 19.92 WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config' 19.92 ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. 19.92 19.92 19.92 at ~/.local/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare 19.92 143│ 19.92 144│ error = ChefBuildError("\n\n".join(message_parts)) 19.92 145│ 19.92 146│ if error is not None: 19.92 → 147│ raise error from None 19.92 148│ 19.92 149│ return path 19.92 150│ 19.92 151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path: 19.92 19.92 Note: This error originates from the build backend, and is likely not a problem with poetry but with rasterio (1.3.8) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "rasterio (==1.3.8)"'. 19.92 ------ failed to solve: process "/bin/sh -c python -m poetry install --no-ansi --no-interaction --no-root" did not complete successfully: exit code: 1
Has this been handeled? As I just run it with the latest main (and removed containers and images bevore) and run into no issue... Used the command docker compose up --detach as written in the docs...
docker compose up --detach