Saturday, October 5, 2024
1 change · master
Enhancements to existing features
Odoo no longer relies on a deprecated dependency-checking library that can cause compatibility and environment issues. This keeps the platform aligned with current Python packaging practices and reduces the risk of confusing or incorrect dependency behavior.
Original PR description
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html Its use is becoming more and more problematic as, for instance, since setuptools 71, importing pkg_resources makes all vendored dependencies of setuptools visible on sys.path. See https://github.com/pypa/setuptools/issues/4516#issuecomment-2254578762 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr