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

Install libexpat to solve XML problems in python #369

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

@marcospri marcospri requested a review from acelaya May 7, 2024 08:59
@@ -23,15 +23,15 @@ COPY --from=python /usr/local/bin/python3 /usr/local/bin/python3
COPY --from=python /usr/local/bin/python3.11 /usr/local/bin/python3.11
COPY --from=python /usr/local/bin/python /usr/local/bin/python

COPY --from=python /usr/local/lib/python3.11 /usr/local/lib/python3.11
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The slashes makes we copy the whole tree.

COPY --from=python /usr/local/lib/libpython3.11.so.1.0 /usr/local/lib/libpython3.11.so.1.0
COPY --from=python /usr/local/lib/libpython3.so /usr/local/lib/libpython3.so

# Make sure various scripts we use from Python packages are available
COPY --from=python /usr/local/bin/newrelic-admin /usr/local/bin/newrelic-admin

# We need to install some package that are not present in the metabase image
RUN apk add libpq
RUN apk add libpq libexpat=2.6.2-r0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image where we use python needs this

@marcospri marcospri merged commit ad72f62 into main May 7, 2024
1 check passed
@marcospri marcospri deleted the fix-python-xml branch May 7, 2024 09:39
marcospri added a commit that referenced this pull request Dec 5, 2024
This is causing:

ERROR: unable to select packages:
  libexpat-2.5.0-r2:

  breaks: world[libexpat=2.6.3-r0]
  satisfies: fontconfig-2.14.2-r4[so:libexpat.so.1]

The dependency was added a while back in:

#369 as it seemed to be missing

from the docker image but it's not a problem anymore.
marcospri added a commit that referenced this pull request Dec 5, 2024
This is causing:

ERROR: unable to select packages:
  libexpat-2.5.0-r2:

  breaks: world[libexpat=2.6.3-r0]
  satisfies: fontconfig-2.14.2-r4[so:libexpat.so.1]

The dependency was added a while back in:

#369 as it seemed to be missing

from the docker image but it's not a problem anymore.
marcospri added a commit that referenced this pull request Dec 5, 2024
This is causing:

ERROR: unable to select packages:
  libexpat-2.5.0-r2:

  breaks: world[libexpat=2.6.3-r0]
  satisfies: fontconfig-2.14.2-r4[so:libexpat.so.1]

The dependency was added a while back in:

#369 as it seemed to be missing

from the docker image but it's not a problem anymore.
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

Successfully merging this pull request may close these issues.

2 participants