rocketdoo 3.6.0__tar.gz → 3.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/LICENSE +2 -2
  2. {rocketdoo-3.6.0/rocketdoo.egg-info → rocketdoo-3.7.0}/PKG-INFO +5 -5
  3. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/README.md +2 -2
  4. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/pyproject.toml +1 -1
  5. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/models/profiles.py +29 -5
  6. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/models/project.py +8 -0
  7. rocketdoo-3.7.0/rocketdoo/templates/profiles/odoo20-ce.yaml +29 -0
  8. rocketdoo-3.7.0/rocketdoo/templates/profiles/odoo20-ee.yaml +29 -0
  9. {rocketdoo-3.6.0 → rocketdoo-3.7.0/rocketdoo.egg-info}/PKG-INFO +5 -5
  10. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo.egg-info/SOURCES.txt +2 -0
  11. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_profiles.py +67 -2
  12. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/MANIFEST.in +0 -0
  13. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/__init__.py +0 -0
  14. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/ci_cli.py +0 -0
  15. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/cli.py +0 -0
  16. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/cli_output.py +0 -0
  17. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/__init__.py +0 -0
  18. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/addons_path.py +0 -0
  19. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/compose.py +0 -0
  20. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/__init__.py +0 -0
  21. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/base.py +0 -0
  22. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/config_manager.py +0 -0
  23. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/module_packager.py +0 -0
  24. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/odoo_sh.py +0 -0
  25. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/deploy/vps.py +0 -0
  26. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/edition_setup.py +0 -0
  27. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/generator.py +0 -0
  28. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/gitignore_manager.py +0 -0
  29. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/gitman_config.py +0 -0
  30. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/__init__.py +0 -0
  31. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/config_manager.py +0 -0
  32. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/deployer_docker.py +0 -0
  33. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/deployer_native.py +0 -0
  34. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/secrets_store.py +0 -0
  35. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/instance/ssh_utils.py +0 -0
  36. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/mailpit.py +0 -0
  37. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/models/__init__.py +0 -0
  38. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/models/deploy.py +0 -0
  39. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/models/instance.py +0 -0
  40. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/module_scanner.py +0 -0
  41. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/odoo_db.py +0 -0
  42. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/pack.py +0 -0
  43. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/port_validation.py +0 -0
  44. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/project_info.py +0 -0
  45. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/service.py +0 -0
  46. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/ssh_manager.py +0 -0
  47. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/traefik.py +0 -0
  48. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/core/unpack.py +0 -0
  49. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/deploy_cli.py +0 -0
  50. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/docker_cli.py +0 -0
  51. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/__init__.py +0 -0
  52. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/__init__.py +0 -0
  53. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/deploy_ops.py +0 -0
  54. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/docker_ops.py +0 -0
  55. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/gitman.py +0 -0
  56. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/instances.py +0 -0
  57. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/mail.py +0 -0
  58. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/modules.py +0 -0
  59. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/odoo.py +0 -0
  60. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/pack_ops.py +0 -0
  61. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/project.py +0 -0
  62. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/setup.py +0 -0
  63. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/traefik_ops.py +0 -0
  64. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/api/workspace.py +0 -0
  65. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/server.py +0 -0
  66. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui/static/index.html +0 -0
  67. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/gui_cli.py +0 -0
  68. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/init_project.py +0 -0
  69. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/instance_cli.py +0 -0
  70. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/mail_cli.py +0 -0
  71. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/pack_environment.py +0 -0
  72. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/scaffold.py +0 -0
  73. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.devcontainer/devcontainer.json +0 -0
  74. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.devcontainer/docker-compose.yaml +0 -0
  75. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.gitignore.jinja +0 -0
  76. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.vscode/launch.json +0 -0
  77. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.vscode/launch.json.jinja +0 -0
  78. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/.vscode/settings.json +0 -0
  79. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/Dockerfile.jinja +0 -0
  80. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/addons/.gitkeep +0 -0
  81. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/ci/workflow.yaml.jinja +0 -0
  82. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/config/odoo.conf +0 -0
  83. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/config/odoo.conf.jinja +0 -0
  84. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/deploy/.deployignore +0 -0
  85. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/deploy/deploy.yaml +0 -0
  86. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/deploy/deploy.yaml.jinja +0 -0
  87. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/docker-compose.yaml.jinja +0 -0
  88. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/install_dependencies.sh +0 -0
  89. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/instance/Dockerfile.jinja +0 -0
  90. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/instance/docker-compose.jinja +0 -0
  91. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/instance/odoo.conf.jinja +0 -0
  92. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/odoo_pg_pass +0 -0
  93. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/README.md +0 -0
  94. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo15-ce.yaml +0 -0
  95. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo15-ee.yaml +0 -0
  96. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo16-ce.yaml +0 -0
  97. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo16-ee.yaml +0 -0
  98. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo17-ce.yaml +0 -0
  99. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo17-ee.yaml +0 -0
  100. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo18-ce.yaml +0 -0
  101. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo18-ee.yaml +0 -0
  102. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo19-ce.yaml +0 -0
  103. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/templates/profiles/odoo19-ee.yaml +0 -0
  104. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/traefik_cli.py +0 -0
  105. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/unpack_environment.py +0 -0
  106. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo/welcome.py +0 -0
  107. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo.egg-info/dependency_links.txt +0 -0
  108. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo.egg-info/entry_points.txt +0 -0
  109. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo.egg-info/requires.txt +0 -0
  110. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/rocketdoo.egg-info/top_level.txt +0 -0
  111. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/setup.cfg +0 -0
  112. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_addons_path.py +0 -0
  113. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_ci_cli.py +0 -0
  114. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_cli_output.py +0 -0
  115. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_compose.py +0 -0
  116. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_core_contract.py +0 -0
  117. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_deploy_config_manager.py +0 -0
  118. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_docker_cli.py +0 -0
  119. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_e2e_pack_unpack.py +0 -0
  120. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_e2e_scaffold.py +0 -0
  121. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_edition_setup.py +0 -0
  122. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_gitignore_manager.py +0 -0
  123. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_gui_api.py +0 -0
  124. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_gui_mail.py +0 -0
  125. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_gui_static.py +0 -0
  126. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_imports.py +0 -0
  127. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_mail_cli.py +0 -0
  128. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_mailpit.py +0 -0
  129. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_models.py +0 -0
  130. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_module_scanner.py +0 -0
  131. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_odoo_db.py +0 -0
  132. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_pack_environment.py +0 -0
  133. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_port_validation.py +0 -0
  134. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_project_info.py +0 -0
  135. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_secrets_hardening.py +0 -0
  136. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_ssh_manager.py +0 -0
  137. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_templates.py +0 -0
  138. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_traefik.py +0 -0
  139. {rocketdoo-3.6.0 → rocketdoo-3.7.0}/tests/test_unpack_environment.py +0 -0
@@ -57,7 +57,7 @@ If the Library as you received it specifies that a proxy can decide whether futu
57
57
  <div RKD as ROCKETDOO V3=""></div>
58
58
 
59
59
  Licencia: LGPL-3.0+
60
- Versión: "3.6.0"
60
+ Versión: "3.7.0"
61
61
  Autor: Horacio Montaño
62
- Fecha: 26/09/2026
62
+ Fecha: 30/09/2026
63
63
  Descripción: Framework to development Odoo
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rocketdoo
3
- Version: 3.6.0
3
+ Version: 3.7.0
4
4
  Summary: Framework for creating Odoo development environments with Docker and custom templates.
5
5
  Author-email: Horacio Montaño <horaciomontano@hdmsoft.com.ar>
6
6
  License: GNU LESSER GENERAL PUBLIC LICENSE
@@ -62,9 +62,9 @@ License: GNU LESSER GENERAL PUBLIC LICENSE
62
62
  <div RKD as ROCKETDOO V3=""></div>
63
63
 
64
64
  Licencia: LGPL-3.0+
65
- Versión: "3.6.0"
65
+ Versión: "3.7.0"
66
66
  Autor: Horacio Montaño
67
- Fecha: 26/09/2026
67
+ Fecha: 30/09/2026
68
68
  Descripción: Framework to development Odoo
69
69
  Requires-Python: >=3.10
70
70
  Description-Content-Type: text/markdown
@@ -97,7 +97,7 @@ Odoo Development Framework
97
97
  - "Horacio Montaño"
98
98
 
99
99
  ## Version:
100
- - "3.6.0"
100
+ - "3.7.0"
101
101
 
102
102
  ----------------------------------------------------------------------------------------------------------------------------------------------------------
103
103
 
@@ -353,7 +353,7 @@ The questions include:
353
353
 
354
354
  - Project name
355
355
 
356
- - Odoo version (a list from version 15 to 19 is available for selection)
356
+ - Odoo version (a list from version 15 to 20 is available for selection)
357
357
 
358
358
  - Odoo edition (options include Community and Enterprise)
359
359
 
@@ -15,7 +15,7 @@ Odoo Development Framework
15
15
  - "Horacio Montaño"
16
16
 
17
17
  ## Version:
18
- - "3.6.0"
18
+ - "3.7.0"
19
19
 
20
20
  ----------------------------------------------------------------------------------------------------------------------------------------------------------
21
21
 
@@ -271,7 +271,7 @@ The questions include:
271
271
 
272
272
  - Project name
273
273
 
274
- - Odoo version (a list from version 15 to 19 is available for selection)
274
+ - Odoo version (a list from version 15 to 20 is available for selection)
275
275
 
276
276
  - Odoo edition (options include Community and Enterprise)
277
277
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rocketdoo"
3
- version = "3.6.0"
3
+ version = "3.7.0"
4
4
  description = "Framework for creating Odoo development environments with Docker and custom templates."
5
5
  authors = [
6
6
  { name = "Horacio Montaño", email = "horaciomontano@hdmsoft.com.ar" }
@@ -24,11 +24,19 @@ from pydantic import BaseModel, ConfigDict, Field, model_validator
24
24
  Edition = Literal["Community", "Enterprise"]
25
25
 
26
26
  # PostgreSQL majors Rocketdoo will generate a compose file for.
27
- KNOWN_POSTGRES = ("12", "13", "14", "15", "16", "17")
27
+ KNOWN_POSTGRES = ("12", "13", "14", "15", "16", "17", "18")
28
28
 
29
29
  # pgvector, which Odoo 19's AI features need, ships for PostgreSQL 15 and up.
30
30
  PGVECTOR_MINIMUM = 15
31
31
 
32
+ # Odoo release that introduced the AI features backed by pgvector.
33
+ PGVECTOR_FROM_ODOO = 19
34
+
35
+
36
+ def _major(odoo_version: str) -> int:
37
+ """The major of an Odoo version string ("19.0" -> 19)."""
38
+ return int(str(odoo_version).split(".")[0])
39
+
32
40
 
33
41
  class OdooRelease(BaseModel):
34
42
  """What is fixed for one Odoo version, independent of edition."""
@@ -68,8 +76,9 @@ class OdooRelease(BaseModel):
68
76
 
69
77
 
70
78
  # Base distro, Python and pip read from the published images.
71
- # PostgreSQL minimums from Odoo's install documentation: 15-18 require 12.0 or
72
- # above; 19 raised it to 13.0.
79
+ # PostgreSQL minimums read from each image's own `odoo/release.py`
80
+ # (MIN_PG_VERSION), not from the docs: 15-18 require 12, 19 raised it to 13,
81
+ # and 20 jumped to 16 -- the largest step in the series.
73
82
  RELEASES: dict[str, OdooRelease] = {
74
83
  "15.0": OdooRelease(
75
84
  odoo_version="15.0",
@@ -111,6 +120,14 @@ RELEASES: dict[str, OdooRelease] = {
111
120
  postgres_minimum=13,
112
121
  postgres_recommended="16",
113
122
  ),
123
+ "20.0": OdooRelease(
124
+ odoo_version="20.0",
125
+ base_distro="ubuntu-noble",
126
+ python_version="3.12",
127
+ pip_version="24.0",
128
+ postgres_minimum=16,
129
+ postgres_recommended="17",
130
+ ),
114
131
  }
115
132
 
116
133
  SUPPORTED_ODOO_VERSIONS = tuple(RELEASES)
@@ -120,6 +137,7 @@ GOLDEN_COMBINATIONS = (
120
137
  ("15.0", "Community"),
121
138
  ("18.0", "Community"),
122
139
  ("19.0", "Enterprise"),
140
+ ("20.0", "Community"),
123
141
  )
124
142
 
125
143
 
@@ -170,9 +188,15 @@ class GoldenPath(BaseModel):
170
188
  messages.append(
171
189
  "Enterprise requires an ./enterprise directory with the Odoo Enterprise addons (subscription required)."
172
190
  )
173
- if self.odoo_version == "19.0" and int(self.db_version) < PGVECTOR_MINIMUM:
191
+ # A comparison, not an equality against "19.0": the AI features arrived
192
+ # in 19 and stay in every release after it, so pinning the check to one
193
+ # version number means it silently stops applying the moment a newer
194
+ # one joins the matrix. No test exercises it beyond 19 today, and
195
+ # cannot: Odoo 20 already requires PostgreSQL 16, above pgvector's 15,
196
+ # so the model refuses such a profile before notes() ever runs.
197
+ if _major(self.odoo_version) >= PGVECTOR_FROM_ODOO and int(self.db_version) < PGVECTOR_MINIMUM:
174
198
  messages.append(
175
- f"Odoo 19's AI features need the pgvector extension, which ships for "
199
+ f"Odoo {_major(self.odoo_version)}'s AI features need the pgvector extension, which ships for "
176
200
  f"PostgreSQL {PGVECTOR_MINIMUM} and above; this profile uses {self.db_version}."
177
201
  )
178
202
  if not self.is_golden:
@@ -81,6 +81,14 @@ PROFILES: dict[str, Profile] = {
81
81
  supports_break_system_packages=True,
82
82
  has_pipx=True,
83
83
  ),
84
+ "20.0": Profile(
85
+ odoo_version="20.0",
86
+ base_distro="ubuntu-noble",
87
+ pip_version="24.0",
88
+ default_db_version="17",
89
+ supports_break_system_packages=True,
90
+ has_pipx=True,
91
+ ),
84
92
  }
85
93
 
86
94
 
@@ -0,0 +1,29 @@
1
+ # Golden path: Odoo 20 Community on PostgreSQL 17
2
+ #
3
+ # Generated environments start from one of these. `rkd init --profile odoo20-ce`
4
+ # creates it without prompting; the interactive wizard uses the same values as
5
+ # defaults.
6
+ #
7
+ # Facts about the odoo:20.0 image itself -- base distro, Python, pip, the
8
+ # PostgreSQL minimum -- are not repeated here: they live in
9
+ # rocketdoo/core/models/profiles.py because they describe the published image,
10
+ # not a choice this file gets to make.
11
+ #
12
+ # PostgreSQL 17, not 16: Odoo 20 raised its own minimum to 16 (MIN_PG_VERSION
13
+ # in its release.py), so 16 would leave a new project sitting exactly on the
14
+ # floor with no room to fall back.
15
+
16
+ name: odoo20-ce
17
+ description: Odoo 20 Community on PostgreSQL 17
18
+
19
+ odoo_version: "20.0"
20
+ edition: Community
21
+ db_version: "17"
22
+
23
+ odoo_port: 8069
24
+ vsc_port: 8888
25
+ restart: unless-stopped
26
+
27
+ # golden: CI renders and builds this combination on every release PR.
28
+ # Anything else is supported best effort.
29
+ golden: true
@@ -0,0 +1,29 @@
1
+ # Golden path: Odoo 20 Enterprise on PostgreSQL 17
2
+ #
3
+ # Generated environments start from one of these. `rkd init --profile odoo20-ee`
4
+ # creates it without prompting; the interactive wizard uses the same values as
5
+ # defaults.
6
+ #
7
+ # Facts about the odoo:20.0 image itself -- base distro, Python, pip, the
8
+ # PostgreSQL minimum -- are not repeated here: they live in
9
+ # rocketdoo/core/models/profiles.py because they describe the published image,
10
+ # not a choice this file gets to make.
11
+ #
12
+ # PostgreSQL 17, not 16: Odoo 20 raised its own minimum to 16 (MIN_PG_VERSION
13
+ # in its release.py), so 16 would leave a new project sitting exactly on the
14
+ # floor with no room to fall back.
15
+
16
+ name: odoo20-ee
17
+ description: Odoo 20 Enterprise on PostgreSQL 17
18
+
19
+ odoo_version: "20.0"
20
+ edition: Enterprise
21
+ db_version: "17"
22
+
23
+ odoo_port: 8069
24
+ vsc_port: 8888
25
+ restart: unless-stopped
26
+
27
+ # golden: CI renders and builds this combination on every release PR.
28
+ # Anything else is supported best effort.
29
+ golden: false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rocketdoo
3
- Version: 3.6.0
3
+ Version: 3.7.0
4
4
  Summary: Framework for creating Odoo development environments with Docker and custom templates.
5
5
  Author-email: Horacio Montaño <horaciomontano@hdmsoft.com.ar>
6
6
  License: GNU LESSER GENERAL PUBLIC LICENSE
@@ -62,9 +62,9 @@ License: GNU LESSER GENERAL PUBLIC LICENSE
62
62
  <div RKD as ROCKETDOO V3=""></div>
63
63
 
64
64
  Licencia: LGPL-3.0+
65
- Versión: "3.6.0"
65
+ Versión: "3.7.0"
66
66
  Autor: Horacio Montaño
67
- Fecha: 26/09/2026
67
+ Fecha: 30/09/2026
68
68
  Descripción: Framework to development Odoo
69
69
  Requires-Python: >=3.10
70
70
  Description-Content-Type: text/markdown
@@ -97,7 +97,7 @@ Odoo Development Framework
97
97
  - "Horacio Montaño"
98
98
 
99
99
  ## Version:
100
- - "3.6.0"
100
+ - "3.7.0"
101
101
 
102
102
  ----------------------------------------------------------------------------------------------------------------------------------------------------------
103
103
 
@@ -353,7 +353,7 @@ The questions include:
353
353
 
354
354
  - Project name
355
355
 
356
- - Odoo version (a list from version 15 to 19 is available for selection)
356
+ - Odoo version (a list from version 15 to 20 is available for selection)
357
357
 
358
358
  - Odoo edition (options include Community and Enterprise)
359
359
 
@@ -104,6 +104,8 @@ rocketdoo/templates/profiles/odoo18-ce.yaml
104
104
  rocketdoo/templates/profiles/odoo18-ee.yaml
105
105
  rocketdoo/templates/profiles/odoo19-ce.yaml
106
106
  rocketdoo/templates/profiles/odoo19-ee.yaml
107
+ rocketdoo/templates/profiles/odoo20-ce.yaml
108
+ rocketdoo/templates/profiles/odoo20-ee.yaml
107
109
  tests/test_addons_path.py
108
110
  tests/test_ci_cli.py
109
111
  tests/test_cli_output.py
@@ -8,6 +8,9 @@ The per-image facts asserted here were read from the published `odoo:` images;
8
8
  the PostgreSQL minimums come from Odoo's installation documentation.
9
9
  """
10
10
 
11
+ import re
12
+ from pathlib import Path
13
+
11
14
  import pytest
12
15
  import yaml
13
16
  from pydantic import ValidationError
@@ -37,6 +40,7 @@ class TestReleaseFacts:
37
40
  ("17.0", "ubuntu-jammy", "3.10", "22.0.2"),
38
41
  ("18.0", "ubuntu-noble", "3.12", "24.0"),
39
42
  ("19.0", "ubuntu-noble", "3.12", "24.0"),
43
+ ("20.0", "ubuntu-noble", "3.12", "24.0"),
40
44
  ],
41
45
  )
42
46
  def test_image_facts(self, version, distro, python, pip):
@@ -76,6 +80,23 @@ class TestPostgresCompatibility:
76
80
  """Odoo 19 raised the minimum from 12 to 13."""
77
81
  assert get_release("19.0").postgres_minimum == 13
78
82
 
83
+ def test_odoo_20_requires_postgres_16(self):
84
+ """The biggest jump in the series: 12 through Odoo 18, 13 in 19, 16 in
85
+ 20. Read from the image's own release.py (MIN_PG_VERSION), so a
86
+ project on 14 or 15 cannot be silently pointed at Odoo 20.
87
+ """
88
+ assert get_release("20.0").postgres_minimum == 16
89
+
90
+ @pytest.mark.parametrize("db", ["12", "13", "14", "15"])
91
+ def test_odoo_20_rejects_everything_below_16(self, db):
92
+ message = check_compatibility("20.0", db)
93
+ assert message is not None
94
+ assert "16 or above" in message
95
+
96
+ @pytest.mark.parametrize("db", ["16", "17", "18"])
97
+ def test_odoo_20_accepts_16_and_above(self, db):
98
+ assert check_compatibility("20.0", db) is None
99
+
79
100
  def test_the_old_hardcoded_pairing_is_now_rejected(self):
80
101
  """Odoo 19 + PostgreSQL 12 was reachable in the wizard before #139."""
81
102
  message = check_compatibility("19.0", "12")
@@ -172,6 +193,14 @@ class TestProfileNotes:
172
193
  def test_golden_does_not_say_best_effort(self):
173
194
  assert not any("best-effort" in n for n in get_golden_path("odoo18-ce").notes())
174
195
 
196
+ def test_odoo_20_below_its_minimum_is_refused_outright(self):
197
+ """Not a note: a refusal. Odoo 20 needs PostgreSQL 16, which is above
198
+ the 15 that pgvector needs, so for this version the warning path is
199
+ unreachable -- the profile never gets built in the first place.
200
+ """
201
+ with pytest.raises(ValidationError):
202
+ GoldenPath(name="x", description="x", odoo_version="20.0", db_version="14")
203
+
175
204
  def test_odoo_19_on_old_postgres_warns_about_pgvector(self):
176
205
  """Odoo 19's AI features need pgvector, which ships for PostgreSQL 15+."""
177
206
  profile = GoldenPath(name="x", description="x", odoo_version="19.0", db_version="13")
@@ -230,9 +259,45 @@ class TestProfilesArePackaged:
230
259
  assert str(PROFILE_DIR).startswith(package_root)
231
260
  assert module.PROFILE_DIR.is_dir()
232
261
 
233
- def test_ten_profiles_are_shipped(self):
234
- assert len(list(PROFILE_DIR.glob("*.yaml"))) == 10
262
+ def test_every_supported_version_ships_both_editions(self):
263
+ """The count used to be hardcoded, so adding an Odoo version failed
264
+ here with a number instead of a reason. Two files per version -- CE
265
+ and EE -- is the rule the catalogue actually follows.
266
+ """
267
+ shipped = {p.stem for p in PROFILE_DIR.glob("*.yaml")}
268
+ expected = {f"odoo{v.split('.')[0]}-{e}" for v in SUPPORTED_ODOO_VERSIONS for e in ("ce", "ee")}
269
+ assert shipped == expected
235
270
 
236
271
  def test_the_readme_documents_the_policy(self):
237
272
  readme = (PROFILE_DIR / "README.md").read_text()
238
273
  assert "golden" in readme and "best effort" in readme
274
+
275
+
276
+ class TestTheCiMatrixMatchesTheCatalogue:
277
+ """`GOLDEN_COMBINATIONS` says which combinations CI builds; the workflow
278
+ carries its own list of the same thing.
279
+
280
+ Two sources of truth for one fact, and the drift is silent in the worst
281
+ direction: a profile marked `golden: true` that CI never builds still
282
+ passes every test and still tells the user it is covered. Adding Odoo 20
283
+ hit exactly that -- the model said golden, the workflow did not know.
284
+ """
285
+
286
+ WORKFLOW = Path(__file__).resolve().parents[1] / ".github" / "workflows" / "ci.yml"
287
+
288
+ def _matrix_profiles(self) -> set[str]:
289
+ block = re.search(r"^\s*profile:\s*\[([^\]]+)\]", self.WORKFLOW.read_text(), re.M)
290
+ assert block, "the golden-paths job no longer declares a `profile:` matrix"
291
+ return {name.strip() for name in block.group(1).split(",")}
292
+
293
+ def _catalogue_profiles(self) -> set[str]:
294
+ return {
295
+ f"odoo{version.split('.')[0]}-{'ee' if edition == 'Enterprise' else 'ce'}"
296
+ for version, edition in GOLDEN_COMBINATIONS
297
+ }
298
+
299
+ def test_every_golden_combination_is_built_by_ci(self):
300
+ assert self._catalogue_profiles() - self._matrix_profiles() == set()
301
+
302
+ def test_ci_does_not_build_a_profile_the_catalogue_dropped(self):
303
+ assert self._matrix_profiles() - self._catalogue_profiles() == set()
File without changes
File without changes
File without changes
File without changes