From owner-freebsd-python@freebsd.org Tue Apr 13 20:40:24 2021 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FA025EB377 for ; Tue, 13 Apr 2021 20:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FKctc09rzz3LhR for ; Tue, 13 Apr 2021 20:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 05FEE5EB4B8; Tue, 13 Apr 2021 20:40:24 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05BFF5EB54D for ; Tue, 13 Apr 2021 20:40:24 +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 4FKctb6hmjz3LhQ for ; Tue, 13 Apr 2021 20:40:23 +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 D93EE112EB for ; Tue, 13 Apr 2021 20:40:23 +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 13DKeNpE062107 for ; Tue, 13 Apr 2021 20:40:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13DKeN2m062106 for python@FreeBSD.org; Tue, 13 Apr 2021 20:40:23 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 250380] textproc/py-feedparser: fails to import with lang/python39 Date: Tue, 13 Apr 2021 20:40:24 +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-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: adamw@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 20:40:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250380 Sofian Brabez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #18 from Sofian Brabez --- Hi,=20 This bug is now on my radar, somehow it never reached me. Where we at now? Would an new update to the new release 6.0.2 available on GitHub here will solved the issue and unblock? I'm attaching a new up-to-date patch against `main` with all the changes fr= om James, does it looks good for you? So far it looks good with my tests with = py37 and py39 flavor below: - with python3.7 $ sudo make install clean FLAVOR=3Dpy37 $ python3.7 Python 3.7.10 (default, Mar 2 2021, 01:19:31)=20 [Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c= 611a on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> import feedparser >>> print(feedparser.__file__) /usr/local/lib/python3.7/site-packages/feedparser/__init__.py >>> dir(feedparser) ['CharacterEncodingOverride', 'CharacterEncodingUnknown', 'FeedParserDict', 'NonXMLContentType', 'RESOLVE_RELATIVE_URIS', 'SANITIZE_HTML', 'ThingsNobodyCaresAboutButMe', 'USER_AGENT', 'UndeclaredNamespace', '__author__', '__builtins__', '__cached__', '__doc__', '__file__', '__license__', '__loader__', '__name__', '__package__', '__path__', '__spec= __', '__version__', 'api', 'datetimes', 'encodings', 'exceptions', 'html', 'http= ', 'mixin', 'namespaces', 'parse', 'parsers', 'registerDateHandler', 'sanitize= r', 'sgml', 'urls', 'util'] >>> feedparser.parse('http://feedparser.org/docs/examples/atom10.xml')['fee= d'] {'html': {'lang': 'en'}, 'meta': {'name': 'viewport', 'content': 'width=3Ddevice-width,initial-scale=3D1'}, 'links': [{'rel': 'shortcut icon= ', 'href': 'data:image/x-icon;,', 'type': 'image/x-icon'}], 'script': {'type': 'application/javascript'}, 'a': {'target': '_blank', 'href': 'https://www.enable-javascript.com/'}, 'summary': '
'} - with python3.9 $ sudo make install FLAVOR=3Dpy39 BUILD_ALL_PYTHON_FLAVORS=3D1 $ python3.9 Python 3.9.2 (default, Feb 25 2021, 13:58:29)=20 [Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c= 611a on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> print(feedparser.__file__) /usr/local/lib/python3.9/site-packages/feedparser/__init__.py >>> feedparser.parse('http://feedparser.org/docs/examples/atom10.xml')['fee= d'] {'html': {'lang': 'en'}, 'meta': {'name': 'viewport', 'content': 'width=3Ddevice-width,initial-scale=3D1'}, 'links': [{'rel': 'shortcut icon= ', 'href': 'data:image/x-icon;,', 'type': 'image/x-icon'}], 'script': {'type': 'application/javascript'}, 'a': {'target': '_blank', 'href': 'https://www.enable-javascript.com/'}, 'summary': '
'} Also I have updated test targets: make test =3D=3D=3D> Testing for py37-feedparser-6.0.2 =3D=3D=3D> py37-feedparser-6.0.2 depends on file: /usr/local/bin/python3.= 7 - found ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ...........................................................................= ........................................................... ---------------------------------------------------------------------- Ran 4334 tests in 4.560s OK [1] https://github.com/kurtmckee/feedparser/releases/tag/6.0.2 --=20 You are receiving this mail because: You are on the CC list for the bug.=