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

Poetry.lock python version error when building codabench #1586

Open
ObadaS opened this issue Sep 16, 2024 · 2 comments
Open

Poetry.lock python version error when building codabench #1586

ObadaS opened this issue Sep 16, 2024 · 2 comments

Comments

@ObadaS
Copy link
Collaborator

ObadaS commented Sep 16, 2024

@bbearce
It seems like there is a problem when trying to build deploy Codabench on the current develop branch:

 => CACHED [django 2/9] RUN apt-get update && apt-get install -y gcc build-essential && rm -rf /var/lib/apt/lists/*                                                                                             0.0s
 => CACHED [django 3/9] RUN curl -sSL https://install.python-poetry.org | python3 -                                                                                                                             0.0s
 => CACHED [django 4/9] RUN poetry config virtualenvs.create false                                                                                                                                              0.0s
 => CACHED [django 5/9] RUN poetry config virtualenvs.in-project false                                                                                                                                          0.0s
 => CACHED [django 6/9] COPY pyproject.toml ./                                                                                                                                                                  0.0s
 => ERROR [django 7/9] RUN poetry lock                                                                                                                                                                          0.7s
------                                                                                                                                                                                                               
 > [django 7/9] RUN poetry lock:                                                                                                                                                                                     
0.513 The currently activated Python version 3.9.20 is not supported by the project (3.9.19).                                                                                                                        
0.513 Trying to find and use a compatible version.                                                                                                                                                                   
0.584                                                                                                                                                                                                                
0.584 Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.                                                                                          
------                                                                                                                                                                                                               
failed to solve: process "/bin/sh -c poetry lock" did not complete successfully: exit code: 1 

Looks like an easy fix.

@Didayolo
Copy link
Collaborator

I am confused by this. Benjamin started to work on Poetry on other branches, and now we have errors on the CircleCI of develop and master. Is there a link? What is happening? I am confused by the errors appearing on branches that we did not touch in a while. I don't even know how the tests got triggered again.

@ObadaS
Copy link
Collaborator Author

ObadaS commented Sep 16, 2024

If we are using a script to install the latest verison of Poetry instead of a fixed one, it is possible that nothing changed on our end. Not sure if that's the thing that happened in this case though

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

2 participants