Skip to content

[15.0][IMP] module_analysis : Added compatibility with more recent pygount version - #3440

Merged
OCA-git-bot merged 1 commit into
OCA:15.0from
commown:15.0-imp-module_analysis-modern_pygount_compat
Nov 7, 2025
Merged

[15.0][IMP] module_analysis : Added compatibility with more recent pygount version#3440
OCA-git-bot merged 1 commit into
OCA:15.0from
commown:15.0-imp-module_analysis-modern_pygount_compat

Conversation

@Honeyxilia

Copy link
Copy Markdown

Backport of the following PR :
#3378

pygount 1.4.0 is now very old and current code does not work on recent versions.
It is however easy to improve compatibility accross pygount versions using the
code_count property instead of the code one, which was removed in 2.0.0.
That way, pygount 1.4.0 stays supported but also modern version up to at least
 3.1.0.

@legalsylvain legalsylvain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 15.0-ocabot-merge-pr-3440-by-legalsylvain-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 93ef06a into OCA:15.0 Nov 7, 2025
9 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 08b0c6a. Thanks a lot for contributing to OCA. ❤️

@Honeyxilia

Copy link
Copy Markdown
Author

Thank you for your timely merge ⭐

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants