-
Notifications
You must be signed in to change notification settings - Fork 333
[FIX] Error psycopg2 when building 15.0 images #660
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
base: master
Are you sure you want to change the base?
Conversation
|
FYI we temp fixed the error in our servers creating a simple script inside build.sh |
|
It's strange... 10 hours ago version 2.8.6 was in use: https://github.com/Tecnativa/doodba/actions/runs/15066114599/job/42351273469#step:8:472 But the latest builds are using version ‘2.9.10’ which has been released since 16 Oct 2024: https://pypi.org/project/psycopg2/
But I have no explanation why this has failed now... |
c217e00 to
5fdec78
Compare
5fdec78 to
870c91e
Compare
|
I already build correctly :) (try relaunching action for 13.0 to see if it passes correctly.) |
|
Sorry for replying kind of late, got a longer weekend and had to fix a lot of expired tokens in our gitlab yesterday. According to our logs our images always install 2.8.6 (which works) and 2.9.10 seems not to work for installing: docker run --rm python:3.8-slim-bullseye pip install "psycopg2>=2.2"But the requirements.txt for 15.0: https://github.com/OCA/OCB/blob/15.0/requirements.txt does specify And the So i guess somehow this is executed in the wrong order on github. (We first build the images, tag them with ci-NNNN-NN.N-onbuild in our registry and use the tagged images for tests instead of building new ones but even with the new setUpClass method the tests worked for us, and if tests pass we tag the same images successfully tested as the new prod images NN.N-onbuild to make sure no dependencies change in debian repos / pypi between the test and the prod image) |
|
Edit: this first error was a user/me error. vs Update: Update2: => |
Error when 15.0 is building:
I have also tried pre-installing psycopg-binary but keeps trying to install and compile non binary version.
ping @ap-wtioit @Tardo