Skip to content

Failing to build Docker image and run on python > 3.10 #103

Description

@guilherme-ptml

I was trying to run the site locally and I was getting the following error message:

> docker build -t aip-site .
...
6.061 error: subprocess-exited-with-error
6.061
6.061 × Getting requirements to build wheel did not run successfully.
6.061 │ exit code: 1
6.061 ╰─> See above for output.
6.061
6.061 note: This error originates from a subprocess, and is likely not a problem with pip.
6.067
6.067 [notice] A new release of pip is available: 23.0.1 -> 24.0
6.067 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:10
--------------------
   9 |     COPY requirements.txt /code/requirements.txt
  10 | >>> RUN apk add git && \
  11 | >>>   pip install -r requirements.txt && \
  12 | >>>   apk del git
  13 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apk add git &&   pip install -r requirements.txt &&   apk del git" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/default/default/j64jhwv9fw6j570ycbc3ut28m

it seems to be a problem with not supporting Cython 3.0.0 (link).

Also found a problem when running it on python > 3.10-alpine:

  File "/usr/local/lib/python3.11/site-packages/scss/grammar/scanner.py", line 236, in _scan
    raise SassSyntaxError(self.input, self.pos, restrict)
scss.errors.SassSyntaxError: Syntax error: Found 'map-get($g' but expected one of ADD, ALPHA_FUNCTION, BANG_IMPORTANT, BAREWORD, COLOR, DOUBLE_QUOTE, FNCT, IF_FUNCTION, INTERP_START, LITERAL_FUNCTION, LPAR, NOT, NUM, SIGN, SINGLE_QUOTE, URL_FUNCTION, VAR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions