From nobody Tue Jul 05 05:22:25 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C16E11D13124 for ; Tue, 5 Jul 2022 05:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LcWJd2C6kz3QX7 for ; Tue, 5 Jul 2022 05:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 213AC1FAE8 for ; Tue, 5 Jul 2022 05:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2655MPLa001928 for ; Tue, 5 Jul 2022 05:22:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2655MPRv001927 for ports-bugs@FreeBSD.org; Tue, 5 Jul 2022 05:22:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265041] www/flexget won't run correctly due to missing safe_str_cmp function Date: Tue, 05 Jul 2022 05:22:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: edgeman@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jbeich@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656998545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=orIEvWHphoBUdm42VQWDIt4euPVLw/3FCOt+HO0OrEQ=; b=wqiL8muaKKm9tzaRz/wYVlEial5fumUKafAmLDlW+c9dngYJwGc8aymDzoRmKR6qnhy1o1 znbe8cKs1HfOkAUhTe+emgepGUPLG/KYzF9IBRxNFKw0q85WknDoPsFM6gz4h6hpbw4Mpx L/72wwZ7WY5NVukLoFipZXO+/ys4bRVEpv8WjrUg7X5UFLwFwau7+RIXx1NhxnvhpYHW54 931Zjy6YMfCl/OU+urdaSXyvbYepnY5c3WiGAYzcdC10qa2CfD5qqyL8yFm4fyluOiLG80 aug+oZ9LBrJD8vdOFxOY3rjgoM1huxKeffgDGQO1K+oFYAtgwxzZZ7lChgtHDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656998545; a=rsa-sha256; cv=none; b=QMiF6Qtg27IgtVGamZErz2YbKZ4ye/IQ1LZkotMFk/djjcCzA4OH/MBi0iF93TVBUEzsky nXeKMWiDRS1FkbICGPpt3Aj9bWrS3uRB46KfC0be0Zi0uFlYRdoa40lBmt6UnYBT+m6T+S j7C5pPFel0nnE9gl3vH7xT7yD0xF2+Ggx9gIyVqCt+Tx7sJVhPs+H5UAbUfU4kWow3eAHv /TofvnRgG0GfOdwvIzplQiGc7LrJjlSJUN5XsW5RwxyuGml6QY5bocvM7beDBlIlFfnkHr o/+3yyPSkM+D0axoudnJCiecNA9fKb5dhfPzSEXAsXpC4zC1U98RCeTUKgi9sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265041 Bug ID: 265041 Summary: www/flexget won't run correctly due to missing safe_str_cmp function Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: edgeman@gmail.com Assignee: jbeich@FreeBSD.org Flags: maintainer-feedback?(jbeich@FreeBSD.org) Since I followed the instructions in UPDATING re: python 3.9, I've been get= ting this error: ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/usr/local/lib/python3.9/site-packages/werkzeug/security.py) in my output of flexget. I did some Googling, it looks like werkzeug removed the "safe_str_cmp" func= tion in 2.1.0: https://stackoverflow.com/questions/71652965/importerror-cannot-import-name= -safe-str-cmp-from-werkzeug-security https://werkzeug.palletsprojects.com/en/2.1.x/changes/#version-2-1-0 "Remove the pbkdf2_hex, pbkdf2_bin, and safe_str_cmp functions. Use equival= ents in hashlib and hmac modules instead." I have done a full remove and install of flexget to check... =3D=3D=3D>>> The following actions were performed: Installation of www/py-werkzeug@py39 (py39-werkzeug-2.1.2) Installation of www/py-flask@py39 (py39-Flask-2.1.2) Installation of www/py-flask-compress@py39 (py39-Flask-Compress-1.1= 0.1) Installation of www/py-flask-cors@py39 (py39-Flask-Cors-3.0.8) Installation of www/py-flask-login@py39 (py39-Flask-Login-0.5.0) Installation of www/py-flask-restful@py39 (py39-Flask-RESTful-0.3.9) Installation of www/py-flask-restx@py39 (py39-flask-restx-0.5.1) Installation of www/flexget (flexget-3.3.19) Looking at the full traceback, this might be an issue with flask_login, in which case feel free to move the bug report to that package...: 2022-07-05 01:20:59 CRITICAL plugin Plugin `flexget.components.tvmaze.api` failed to import dependencies Traceback (most recent call last): File "/usr/local/bin/flexget", line 33, in sys.exit(load_entry_point('FlexGet=3D=3D3.3.19', 'console_scripts', 'flexget')()) =E2=94=82 =E2=94=82 =E2=94=94 =E2=94=82 =E2=94=94 =E2=94=94 File "/usr/local/lib/python3.9/site-packages/flexget/__init__.py", line 4= 4, in main manager.start() =E2=94=82 =E2=94=94 =E2=94=94 File "/usr/local/lib/python3.9/site-packages/flexget/manager.py", line 38= 2, in start self.initialize() =E2=94=82 =E2=94=94 =E2=94=94 File "/usr/local/lib/python3.9/site-packages/flexget/manager.py", line 22= 4, in initialize plugin.load_plugins( =E2=94=82 =E2=94=94 =E2=94=94 File "/usr/local/lib/python3.9/site-packages/flexget/plugin.py", line 551= , in load_plugins _load_components_from_dirs(extra_components) =E2=94=82 =E2=94=94 ['/home/edgeman/.flexget/c= omponents', '/usr/local/lib/python3.9/site-packages/flexget/components'] =E2=94=94 File "/usr/local/lib/python3.9/site-packages/flexget/plugin.py", line 490= , in _load_components_from_dirs _import_plugin(package_name, component_path) =E2=94=82 =E2=94=82 =E2=94=94 PosixPath('/usr/local/lib/python3.9/site-packages/flexget/components/tvmaze= /api.py') =E2=94=82 =E2=94=94 'flexget.components.tvmaze.api' =E2=94=94 > File "/usr/local/lib/python3.9/site-packages/flexget/plugin.py", line 419= , in _import_plugin import_module(module_name) =E2=94=82 =E2=94=94 'flexget.components.tvmaze.api' =E2=94=94 File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=82 =E2=94=94 0 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=94 None =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=94 0 =E2=94=82 =E2=94=82 =E2=94=94 'flexget.compon= ents.tvmaze.api' =E2=94=82 =E2=94=94 =E2=94=94 File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_remo= ved File "/usr/local/lib/python3.9/site-packages/flexget/components/tvmaze/api.py", = line 4, in from flexget.api import APIResource, api File "/usr/local/lib/python3.9/site-packages/flexget/api/__init__.py", li= ne 1, in from .app import APIClient, APIResource, api, api_app # noqa File "/usr/local/lib/python3.9/site-packages/flexget/api/app.py", line 24= , in from flexget.webserver import User File "/usr/local/lib/python3.9/site-packages/flexget/webserver.py", line = 10, in from flask_login import UserMixin File "/usr/local/lib/python3.9/site-packages/flask_login/__init__.py", li= ne 16, in from .login_manager import LoginManager File "/usr/local/lib/python3.9/site-packages/flask_login/login_manager.py= ", line 24, in from .utils import (login_url as make_login_url, _create_identifier, File "/usr/local/lib/python3.9/site-packages/flask_login/utils.py", line = 13, in from werkzeug.security import safe_str_cmp ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' (/usr/local/lib/python3.9/site-packages/werkzeug/security.py) --=20 You are receiving this mail because: You are the assignee for the bug.=