Skip to content

ci: server: fix python installation #6918

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

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

phymbert
Copy link
Collaborator

Context

CI server tests are running under latest ubuntu, it is not possible to override anymore python system packages without --break-system-packages.

Example:
https://github.com/ggerganov/llama.cpp/actions/runs/8842929133/job/24282362740

Solution

Properly configure python in the workflow with the action actions/setup-python@v5

@phymbert phymbert added testing Everything test related server/webui labels Apr 26, 2024
@phymbert phymbert requested a review from ggerganov April 26, 2024 07:22
Copy link
Member

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

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

I had the same problem on MacOS where brew auto-updated to Python 3.12. After some struggle with this same issue, I finally downgraded to Python 3.9, but was wondering if this is the right thing to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server/webui testing Everything test related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants