Skip to content

Deprecate Python 2 and Odoo < 12.0. New versioning for project #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antonag32 opened this issue Jun 23, 2022 · 0 comments · Fixed by #396
Closed

Deprecate Python 2 and Odoo < 12.0. New versioning for project #381

antonag32 opened this issue Jun 23, 2022 · 0 comments · Fixed by #396

Comments

@antonag32
Copy link
Contributor

As part of a modernization effort, which includes issues like #267 and #380 we should use a new versioning schema which will allow us to deprecate old versions of both Python and Odoo, this will let us remove dead code and improve the project.

After speaking with @moylop260 our first goal is to deprecate Python 2 and Odoo versions < 12.0, this will let us remove checks like
utf-8 coding comment (required for Python < 3) or missing-import-error which is only active on Odoo <= 11

Right now the pip version is 6.2.0. We can freeze this branch, stop adding new features and only fix bugs if necessary, following semantic versioning, new versions would be 6.2.1, 6.2.2, etc...

For all the breaking changes we are about to propose we should increase a major version, so the new release of pylint-odoo will start at 7.0.0. I think we should base ourselves on the version management style used by pylint, this means:

  1. Our master branch should be a sort of "rolling release". We continually work on it and push new releases by linking them to a specific commit in the branch. Like this commit in pylint.
  2. If we ever need to make a breaking change or push a new major release, we create a new branch which we will "freeze", this branch wont include the breaking chnage. For example, to keep maintaining version 6.2.0, we will create a branch 6.2 on github. Fixes for 6.2.0 will be pushed to that branch, while new development will continue in master.

In short pylint-odoo 7.0 will take us to the moon 🚀 🚀

Feedback is encouraged and appreciated, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant