Skip to content

[FIX] Use a common pg version reference table and deprecate v9.6 - #656

Merged
david-banon-tecnativa merged 1 commit into
mainfrom
fix-postgres-versions
Aug 28, 2026
Merged

[FIX] Use a common pg version reference table and deprecate v9.6#656
david-banon-tecnativa merged 1 commit into
mainfrom
fix-postgres-versions

Conversation

@david-banon-tecnativa

@david-banon-tecnativa david-banon-tecnativa commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

We use a fake copier question to store the pg per odoo versions in a single place, it won't end up in the answers file as it has when: False.
Deprecate v9.6 as it reachedd EOL more than 4 years ago and the backup service doesn't support it.
Fixes #655
@Tecnativa @pedrobaeza @patrick-rademacher-mm

We use a fake copier question to store the pg per odoo versions
Deprecate v9.6 as it reachedd EOL more than 4 years ago.
Comment thread copier.yml
# and is necessary to be able to perform all tests
default:
11.0:
oldest: "10"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we put oldest if not used?

@david-banon-tecnativa david-banon-tecnativa Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is used in the validator to check the pg version is supported by the oddoo version. Ex if someone on odoo 15 pg 11 upgraddes to odoo 16 without upgrading pg, copier itself will raise the error that odoo 16 doesn't support pg 11

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

OK then.

@david-banon-tecnativa david-banon-tecnativa changed the title [FIX] Use a commong pg version reference table and deprecate v9.6 [FIX] Use a common pg version reference table and deprecate v9.6 Aug 28, 2026
@david-banon-tecnativa
david-banon-tecnativa merged commit 58bfc7c into main Aug 28, 2026
13 checks passed
@david-banon-tecnativa
david-banon-tecnativa deleted the fix-postgres-versions branch August 28, 2026 08:36
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.

ValueError for Odoo version <= 14 due to a space in Postgres version choice

2 participants