From nobody Mon Jul 11 18:24:47 2022 X-Original-To: python@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 7275A1D08BDD for ; Mon, 11 Jul 2022 18:24:48 +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 4LhXNb6FHKz3X8f for ; Mon, 11 Jul 2022 18:24:47 +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 4LhXNb4zGQzDkb for ; Mon, 11 Jul 2022 18:24:47 +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 26BIOl47027638 for ; Mon, 11 Jul 2022 18:24:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26BIOluk027637 for python@FreeBSD.org; Mon, 11 Jul 2022 18:24:47 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: python@FreeBSD.org Subject: [Bug 263862] www/py-tvdb_api: Fails to run after www/py-requests-cache update: ImportError: cannot import name '_to_bytes' from 'requests_cache.backends.base Date: Mon, 11 Jul 2022 18:24:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: huber.georg@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657563887; 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: in-reply-to:in-reply-to:references:references; bh=lP0BolnPTtdFyRMgGSLrxeVZ+SVr5tLNAVnxCoRf6+g=; b=S2nxhKSErsFagyYKwUm9Tc7mvpEjEtkTI6AVV0cQoHjDEu0H7jsyELp5oC43qJc3ttHj6x S3eLjSzNGP3IGbheNGdc4B6sJc4P3UxU3Z4Jp1ebNElLjT/cXszXsMmlLo8fcjScR/vvm8 5c6TA4u1TQ6rBAV9NHufpjifDKuV/eYX6Y7bOM8WQPU1J4iRSBYJyrvxwUVPpZ5XwtxcvL 3xJ6o5MFOSha+kcaDjiN4VzH8iWI5x0VBORHpk32dEsH26yE7wyCcZv1UHFlPZqqSNQgPg 02KoTytqF+vVyHUk4jAv0UEc6WGhayZFu7PXdLlyy8/Ws1CVYm5psoTC4RdNbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657563887; a=rsa-sha256; cv=none; b=C1IB81KAGFOfsdHMif4wbSXuXpwik/kyFas68lzfHJNbNvg9WSEMsURA0470ga7Egf6OyU QpnvZAxt3NvMnGdZB7uNMCk2MMfp6PuQNYZcKdVckAAM/JhqF5HRZ8dJjpChrTQC2f5HV9 jmS5KtViIA4DbaHJJeDuAWyFLIEQDSegJSrW7OtkuzgV/KhkFWAdKw5C26ol7VuTsPKUCV KJh6PRF2I4gL4iIBlgeQyI1RPytv14kcP6Q5YyWigHJLfplXZ+tEAQ1ejiEgha43HkGjXB B2BPXzrcA5xuzmA9sDS2eW4yZD6pxQRw006Xiywzoktj1Zg5OaPQIageaRj6Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263862 --- Comment #18 from huber.georg@gmail.com --- (In reply to huber.georg from comment #17) Hi, when Portmaster upgraded the ports to py39, I receice the same error as= in my comment #2. I have installed py39-requests-2.28.0 Python HTTP for Humans py39-requests-cache93-0.9.3 Transparent persistent cache for the requests library (0.9.3 branch) py39-tvdb_api-3.1.0_2 API interface to TheTVDB.com py39-tvnamer-3.0.4 Automatically names downloaded/recorded TV-episode unfortunately I am clueless, the error is (again): Traceback (most recent call last): File "/usr/local/bin/tvnamer", line 33, in sys.exit(load_entry_point('tvnamer=3D=3D3.0.4', 'console_scripts', 'tvnamer')()) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 474, = in main tvnamer(paths =3D sorted(args)) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 370, = in tvnamer processFile(tvdb_instance, episode) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 175, = in processFile episode.populateFromTvdb(tvdb_instance, force_name=3DConfig['force_name= '], series_id=3DConfig['series_id']) File "/usr/local/lib/python3.9/site-packages/tvnamer/utils.py", line 641,= in populateFromTvdb show =3D tvdb_instance[force_name or self.seriesname] File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 1152, in __getitem__ sid =3D self._nameToSid(key) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 1136, in _nameToSid selected_series =3D self._getSeries(name) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 935, in _getSeries all_series =3D self.search(series) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 914, in search series_resp =3D self._getetsrc(self.config['url_getSeries'] % (series)) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 874, in _getetsrc src =3D self._loadUrl(url, language=3Dlanguage) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 811, in _loadUrl self.authorize() File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 859, in authorize r =3D self.session.post( File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line = 635, in post return self.request("POST", url, data=3Ddata, json=3Djson, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests_cache/session.py", = line 115, in request return super().request(method, url, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line = 587, in request resp =3D self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests_cache/session.py", = line 127, in send cache_key =3D self.cache.create_key(request, **kwargs) TypeError: create_key() got an unexpected keyword argument 'timeout' Please help, thank you! --=20 You are receiving this mail because: You are on the CC list for the bug.=