Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: 17.0 branches

by
NICO SOLUTIONS - ENGINEERING & IT
, Nils Coenen
- 13/11/2023 09:06:32
Thanks! 🙏 
 

Von: Stéphane Bidoul <notifications@odoo-community.org>
Gesendet: Sonntag, November 12, 2023 5:25 PM
An: Contributors <contributors@odoo-community.org>
Betreff: 17.0 branches
 
Hi everyone,

The 17.0 branches are being created in all OCA repos as I'm writing this.

There are few news and improvements compared to previous branches, mainly in the pre-commit configuration:

  • It uses ruff and ruff-format instead of flake8, autoflakes, isort, pyupgrade and black. This will improve the performance of pre-commit runs. Note that if some PSC want to be stricter by enabling additional ruff rules [1], it is possible by re-running "copier update --trust" and answering the corresponding question.
  • The readme fragments are converted to markdown. This makes it easier for non-technical contributors, and is also more robust (wrt subtitles formats, for instance). This is already reflected in the OCA module template [2]
  • pre-commit creates a pyproject.toml file at the root of each addon, in place of setup.py in the separate setup/ directory. This is more intuitive (each addon is a little python project) and standards based. It is also more robust as some recent version of setuptools break our setup.py (and Odoo's) editable mode in some circumstances.
  • pre-commit generates README.rst and index.hml. This is for easier review of the module descriptions in runboat.
The migration issues had been created last week Don't forget to announce yourself when you start migrating a module.

In case of problem, let us know of any problem by creating an issue in the repo template project [3]

Best regards,

[1] https://docs.astral.sh/ruff/rules/

--
Stéphane Bidoul
http://acsone.eu/

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference