Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guilherme-ptml opened this issue Apr 16, 2024 · 1 comment
Open

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

guilherme-ptml opened this issue Apr 16, 2024 · 1 comment

Comments

@guilherme-ptml
Copy link

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
@guilherme-ptml
Copy link
Author

related to this aip-dev/google.aip.dev#1277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant