From owner-freebsd-python@freebsd.org Sat Oct 17 02:48:46 2020
Return-Path: <owner-freebsd-python@freebsd.org>
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 C65A3446C17
for <freebsd-python@mailman.nyi.freebsd.org>;
Sat, 17 Oct 2020 02:48:46 +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 4CCnXG2tsXz4Vrq
for <freebsd-python@freebsd.org>; Sat, 17 Oct 2020 02:48:46 +0000 (UTC)
(envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.nyi.freebsd.org (Postfix)
id 1B772446C16; Sat, 17 Oct 2020 02:48:46 +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 0B808446A42
for <python@mailman.nyi.freebsd.org>; Sat, 17 Oct 2020 02:48:46 +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 "Let's Encrypt Authority X3" (verified OK))
by mx1.freebsd.org (Postfix) with ESMTPS id 4CCnXF54lDz4Vtd
for <python@FreeBSD.org>; Sat, 17 Oct 2020 02:48:45 +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 868A71AA0D
for <python@FreeBSD.org>; Sat, 17 Oct 2020 02:48:45 +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 09H2mjGd051001
for <python@FreeBSD.org>; Sat, 17 Oct 2020 02:48:45 GMT
(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09H2mjA5051000
for python@FreeBSD.org; Sat, 17 Oct 2020 02:48:45 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: Sat, 17 Oct 2020 02:48:45 +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:
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: jbeich@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution:
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-250380-21822-gGuokgWAJ9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250380-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-250380-21822@https.bugs.freebsd.org/bugzilla/>
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.33
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>,
<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Oct 2020 02:48:46 -0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250380
--- Comment #3 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 218819
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218819
Patch to 6.0.1
Appears broken: py27 build and py3? runtime.
$ make install FLAVOR=3Dpy37
$ python3.7
Python 3.7.9 (default, Oct 15 2020, 12:55:07)
[Clang 8.0.1 (tags/RELEASE_801/final 366581)] on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> import feedparser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/feedparser/__init__.py", line
28, in <module>
from .api import parse
File "/usr/local/lib/python3.7/site-packages/feedparser/api.py", line 36,=
in
<module>
from .html import _BaseHTMLProcessor
File "/usr/local/lib/python3.7/site-packages/feedparser/html.py", line 31=
, in
<module>
from .sgml import *
File "/usr/local/lib/python3.7/site-packages/feedparser/sgml.py", line 30=
, in
<module>
import sgmllib
ModuleNotFoundError: No module named 'sgmllib'
$ make deinstall FLAVOR=3Dpy37
$ make install FLAVOR=3Dpy39 BUILD_ALL_PYTHON_FLAVORS=3D1
$ python3.9
Python 3.9.0 (default, Oct 13 2020, 06:49:46)
[Clang 8.0.1 (tags/RELEASE_801/final 366581)] on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> import feedparser
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/feedparser/__init__.py", line
28, in <module>
from .api import parse
File "/usr/local/lib/python3.9/site-packages/feedparser/api.py", line 36,=
in
<module>
from .html import _BaseHTMLProcessor
File "/usr/local/lib/python3.9/site-packages/feedparser/html.py", line 31=
, in
<module>
from .sgml import *
File "/usr/local/lib/python3.9/site-packages/feedparser/sgml.py", line 30=
, in
<module>
import sgmllib
ModuleNotFoundError: No module named 'sgmllib'
$ make deinstall FLAVOR=3Dpy39
$ make install FLAVOR=3Dpy27
[...]
=3D=3D=3D> Configuring for py27-feedparser-6.0.1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 40
name =3D f"{name}_{os.getenv('NAME_SUFFIX')}"
^
SyntaxError: invalid syntax
*** Error code 1
--=20
You are receiving this mail because:
You are on the CC list for the bug.=