odoo-dev 0.4.0__tar.gz → 1.0.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 (45) hide show
  1. odoo_dev-1.0.0/.release-please-manifest.json +3 -0
  2. odoo_dev-1.0.0/CHANGELOG.md +19 -0
  3. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/PKG-INFO +11 -10
  4. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/README.md +10 -9
  5. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/pyproject.toml +1 -1
  6. odoo_dev-1.0.0/src/odoo_dev/__init__.py +3 -0
  7. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/setup.py +4 -1
  8. odoo_dev-0.4.0/.release-please-manifest.json +0 -3
  9. odoo_dev-0.4.0/CHANGELOG.md +0 -8
  10. odoo_dev-0.4.0/src/odoo_dev/__init__.py +0 -3
  11. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.github/workflows/release-please.yml +0 -0
  12. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.gitignore +0 -0
  13. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.gitmodules +0 -0
  14. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/.python-version +0 -0
  15. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/release-please-config.json +0 -0
  16. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/cli.py +0 -0
  17. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/__init__.py +0 -0
  18. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/db.py +0 -0
  19. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/docker.py +0 -0
  20. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/commands/run.py +0 -0
  21. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/config.py +0 -0
  22. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/preflight.py +0 -0
  23. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/__init__.py +0 -0
  24. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/Dockerfile +0 -0
  25. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/__init__.py +0 -0
  26. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/docker/docker-entrypoint.sh +0 -0
  27. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/__init__.py +0 -0
  28. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/launch.json +0 -0
  29. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/settings.json +0 -0
  30. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/templates/vscode/tasks.json +0 -0
  31. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/utils/__init__.py +0 -0
  32. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/src/odoo_dev/utils/console.py +0 -0
  33. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/__init__.py +0 -0
  34. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/fixtures/__init__.py +0 -0
  35. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_cli.py +0 -0
  36. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_config.py +0 -0
  37. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_db.py +0 -0
  38. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_db_config.py +0 -0
  39. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_drop_database.py +0 -0
  40. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_integration.py +0 -0
  41. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_preflight.py +0 -0
  42. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_run.py +0 -0
  43. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_setup.py +0 -0
  44. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/tests/test_setup_db.py +0 -0
  45. {odoo_dev-0.4.0 → odoo_dev-1.0.0}/uv.lock +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.0.0"
3
+ }
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ ## [1.0.0](https://github.com/bemade/odoo-dev/compare/v0.4.0...v1.0.0) (2026-06-11)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * macOS `setup` no longer installs PostgreSQL. Fresh macOS setups must install a server themselves (or point DB_HOST/DB_PORT at a remote/Docker server).
9
+
10
+ ### Features
11
+
12
+ * treat PostgreSQL as an external prerequisite on all platforms ([#5](https://github.com/bemade/odoo-dev/issues/5)) ([e817107](https://github.com/bemade/odoo-dev/commit/e817107ac434a5b23dd2675d59a95d1a6f8d1e71))
13
+
14
+ ## [0.4.0](https://github.com/bemade/odoo-dev/compare/v0.3.3...v0.4.0) (2026-06-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * configurable DB connection + connectivity preflight ([#3](https://github.com/bemade/odoo-dev/issues/3)) ([632738e](https://github.com/bemade/odoo-dev/commit/632738e37c1d22d79ec4a03cba72a28ca580f7c8))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: odoo-dev
3
- Version: 0.4.0
3
+ Version: 1.0.0
4
4
  Summary: Odoo Development Environment Helper
5
5
  Project-URL: Homepage, https://git.bemade.org/bemade/odoo-dev
6
6
  Project-URL: Repository, https://git.bemade.org/bemade/odoo-dev
@@ -55,25 +55,26 @@ Docker at the end — answer "no" if you only want the local venv workflow.
55
55
  ## Database setup (read this before your first `run`/`test`)
56
56
 
57
57
  The generated `conf/odoo.conf` connects as PostgreSQL user **`odoo`** over the local
58
- socket. You need a running PostgreSQL server and a matching role. `setup` never creates
59
- the role, and what it installs differs by OS on **macOS** it installs the server (but
60
- does **not** start it); on **Linux** it installs only the PostgreSQL *client* (so you
61
- supply the server yourself). On a fresh machine do this once:
58
+ socket. **A running PostgreSQL server is a prerequisite you provide yourself** — on
59
+ every platform. `setup` installs only the PostgreSQL *client* and build dependencies
60
+ (macOS: `libpq`; Linux: `postgresql-client` + `libpq-dev`); it never installs, starts,
61
+ or configures a server, and never creates the `odoo` role. So on a fresh machine,
62
+ install a server, start it, and create the role once:
62
63
 
63
64
  **macOS (Homebrew):**
64
65
 
65
66
  ```bash
66
- brew services start postgresql@18 # start the server (use your installed version)
67
- createuser -s odoo # create the role odoo.conf expects
67
+ brew install postgresql@18 # install a server (pick your version)
68
+ brew services start postgresql@18 # start it
69
+ createuser -s odoo # create the role odoo.conf expects
68
70
  # Homebrew's versioned postgres is keg-only; add its bin to PATH if psql/createuser aren't found:
69
71
  # export PATH="$(brew --prefix postgresql@18)/bin:$PATH"
70
72
  ```
71
73
 
72
- **Debian/Ubuntu:** install a server if you don't already have one (or point
73
- `conf/odoo.conf` at an existing / remote / Docker PostgreSQL):
74
+ **Debian/Ubuntu:**
74
75
 
75
76
  ```bash
76
- sudo apt-get install postgresql # if you don't already have a server
77
+ sudo apt-get install postgresql # install a server if you don't already have one
77
78
  sudo systemctl start postgresql
78
79
  sudo -u postgres createuser -s odoo
79
80
  ```
@@ -41,25 +41,26 @@ Docker at the end — answer "no" if you only want the local venv workflow.
41
41
  ## Database setup (read this before your first `run`/`test`)
42
42
 
43
43
  The generated `conf/odoo.conf` connects as PostgreSQL user **`odoo`** over the local
44
- socket. You need a running PostgreSQL server and a matching role. `setup` never creates
45
- the role, and what it installs differs by OS on **macOS** it installs the server (but
46
- does **not** start it); on **Linux** it installs only the PostgreSQL *client* (so you
47
- supply the server yourself). On a fresh machine do this once:
44
+ socket. **A running PostgreSQL server is a prerequisite you provide yourself** — on
45
+ every platform. `setup` installs only the PostgreSQL *client* and build dependencies
46
+ (macOS: `libpq`; Linux: `postgresql-client` + `libpq-dev`); it never installs, starts,
47
+ or configures a server, and never creates the `odoo` role. So on a fresh machine,
48
+ install a server, start it, and create the role once:
48
49
 
49
50
  **macOS (Homebrew):**
50
51
 
51
52
  ```bash
52
- brew services start postgresql@18 # start the server (use your installed version)
53
- createuser -s odoo # create the role odoo.conf expects
53
+ brew install postgresql@18 # install a server (pick your version)
54
+ brew services start postgresql@18 # start it
55
+ createuser -s odoo # create the role odoo.conf expects
54
56
  # Homebrew's versioned postgres is keg-only; add its bin to PATH if psql/createuser aren't found:
55
57
  # export PATH="$(brew --prefix postgresql@18)/bin:$PATH"
56
58
  ```
57
59
 
58
- **Debian/Ubuntu:** install a server if you don't already have one (or point
59
- `conf/odoo.conf` at an existing / remote / Docker PostgreSQL):
60
+ **Debian/Ubuntu:**
60
61
 
61
62
  ```bash
62
- sudo apt-get install postgresql # if you don't already have a server
63
+ sudo apt-get install postgresql # install a server if you don't already have one
63
64
  sudo systemctl start postgresql
64
65
  sudo -u postgres createuser -s odoo
65
66
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "odoo-dev"
3
- version = "0.4.0"
3
+ version = "1.0.0"
4
4
  description = "Odoo Development Environment Helper"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -0,0 +1,3 @@
1
+ """Odoo Development Environment Helper."""
2
+
3
+ __version__ = "1.0.0" # x-release-please-version
@@ -493,11 +493,14 @@ def _install_system_dependencies() -> None:
493
493
 
494
494
  if system == "Darwin":
495
495
  success("Installing dependencies for macOS...")
496
+ # PostgreSQL is a prerequisite you provide yourself (see the README's
497
+ # "Database setup" section) — we install only the client library and
498
+ # build deps, never the server. `libpq` is keg-only but ships psql /
499
+ # createuser, which is all the client side needs.
496
500
  subprocess.run(
497
501
  [
498
502
  "brew",
499
503
  "install",
500
- "postgresql",
501
504
  "libpq",
502
505
  "openssl",
503
506
  "libxml2",
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.4.0"
3
- }
@@ -1,8 +0,0 @@
1
- # Changelog
2
-
3
- ## [0.4.0](https://github.com/bemade/odoo-dev/compare/v0.3.3...v0.4.0) (2026-06-11)
4
-
5
-
6
- ### Features
7
-
8
- * configurable DB connection + connectivity preflight ([#3](https://github.com/bemade/odoo-dev/issues/3)) ([632738e](https://github.com/bemade/odoo-dev/commit/632738e37c1d22d79ec4a03cba72a28ca580f7c8))
@@ -1,3 +0,0 @@
1
- """Odoo Development Environment Helper."""
2
-
3
- __version__ = "0.4.0" # x-release-please-version
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes