Module uses depracated library
Closed this issue · 1 comments
Module
Password security
Describe the bug
2023-08-08 08:56:07,608 14 WARNING odoo-prod py.warnings: /usr/local/lib/python3.9/dist-packages/zxcvbn/init.py:6: DeprecationWarning: deprecated
File "/usr/bin/odoo", line 8, in
odoo.cli.main()
File "/usr/lib/python3/dist-packages/odoo/cli/command.py", line 61, in main
o.run(args)
File "/usr/lib/python3/dist-packages/odoo/cli/server.py", line 179, in run
main(args)
File "/usr/lib/python3/dist-packages/odoo/cli/server.py", line 173, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1356, in start
rc = server.run(preload, stop)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 909, in run
rc = preload_registries(preload)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1260, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 470, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 363, in load_marked_modules
loaded, processed = load_module_graph(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 179, in load_module_graph
load_openerp_module(package.name)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 403, in load_openerp_module
import('odoo.addons.' + module_name)
File "/mnt/odoo-addons/tek_addons/3rdparty/password_security/init.py", line 4, in
from . import controllers, models
File "/mnt/odoo-addons/tek_addons/3rdparty/password_security/models/init.py", line 4, in
from . import res_company, res_config_settings, res_users, res_users_pass_history
File "/mnt/odoo-addons/tek_addons/3rdparty/password_security/models/res_users.py", line 15, in
import zxcvbn
File "/usr/local/lib/python3.9/dist-packages/zxcvbn/init.py", line 6, in
warnings.warn("deprecated", DeprecationWarning)
To Reproduce
Affected versions:
At least 15.0
Steps to reproduce the behavior:
In logs when starting odoo
Using python 3.9
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.