-
Notifications
You must be signed in to change notification settings - Fork 175
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
Bump postgres version #428
Conversation
Pull Request Test Coverage Report for Build 3904382433
💛 - Coveralls |
docker-compose.yml
Outdated
@@ -2,7 +2,7 @@ version: '3.5' | |||
|
|||
services: | |||
db: | |||
image: postgres:10-alpine | |||
image: postgres:13-alpine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use the latest stable? postgres:15-alpine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only tried with the same version that is for github actions, I'm happy using the last version of postgres for locally tests. I just updated to postgres:15-alpine
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it locally also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were using postgres:13
just because is the last version supported by AWS, but postgres:15
should do it
15e1553
to
7123cf0
Compare
The current django version don't support
postgresql-10
:FAILED gnosis/safe/tests/api/test_transaction_service_api.py::TestTransactionServiceAPI::test_get_balances - django.db.utils.NotSupportedError: PostgreSQL 11 or later is required (found 10.23).
The version 13 was chosen to be aligned with our github actions https://github.com/safe-global/safe-eth-py/blob/master/.github/workflows/python.yml#L41