- Remove `requirements.txt` in favor of `pyproject.toml` dependencies - Add `uv.lock` file for dependency resolution - Update `task` script to use `uv sync --active` instead of `uv pip install -r requirements.txt` - Replace `install-python-packages` script with `sync-python-project` in Odoo image - Modify Python package installation logic in Odoo container to use `uv sync` with `pyproject.toml` - Adjust test cases in `task` script to validate new Python project syncing - Update documentation to reflect changes in Python dependency management
40 lines
924 B
TOML
40 lines
924 B
TOML
[project]
|
|
name = "odoo-build"
|
|
version = "0.1.0"
|
|
description = "This is the Mint System Odoo development environment."
|
|
readme = "README.md"
|
|
dependencies = [
|
|
# Container
|
|
"podman-compose",
|
|
# Testing
|
|
"pre-commit",
|
|
"pyyaml",
|
|
"coverage",
|
|
"pylint-odoo",
|
|
"pytest-odoo",
|
|
# Setup
|
|
"setuptools",
|
|
"wheel",
|
|
"watchdog",
|
|
"pdfminer.six",
|
|
"debugpy",
|
|
# Performance
|
|
"py-spy",
|
|
"memray",
|
|
# LLM
|
|
"fastmcp; python_version >= '3.10'",
|
|
"requests",
|
|
# Upgrade
|
|
"openupgradelib @ git+https://github.com/OCA/openupgradelib.git@master",
|
|
"odoo-upgrade @ git+https://github.com/odoo/upgrade-util@master ; python_version <= '3.12'",
|
|
# OCA Tools
|
|
"manifestoo",
|
|
"oca-port",
|
|
"odoo-module-migrator",
|
|
"click-odoo-contrib",
|
|
"git-aggregator",
|
|
"oca-maintainers-tools @ git+https://github.com/OCA/maintainer-tools",
|
|
"hatch-odoo",
|
|
"copier",
|
|
]
|