From owner-freebsd-python@freebsd.org Sat Nov 10 08:13:41 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F545112C860 for ; Sat, 10 Nov 2018 08:13:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD267F2BA for ; Sat, 10 Nov 2018 08:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3EA70112C85D; Sat, 10 Nov 2018 08:13:40 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CAF0112C85C for ; Sat, 10 Nov 2018 08:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 939097F2B1 for ; Sat, 10 Nov 2018 08:13:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8E68D1B18E for ; Sat, 10 Nov 2018 08:13:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAA8DcYx027246 for ; Sat, 10 Nov 2018 08:13:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAA8DcEW027245 for python@FreeBSD.org; Sat, 10 Nov 2018 08:13:38 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 233104] databases/py-pg8000: requires devel/py-six Date: Sat, 10 Nov 2018 08:13:37 +0000 X-Bugzilla-Reason: CC 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 Some People X-Bugzilla-Who: jdc@koitsu.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 MIME-Version: 1.0 X-Rspamd-Queue-Id: 7CD267F2BA X-Spamd-Result: default: False [-105.86 / 200.00]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FORWARDED(0.00)[python@mailman.ysv.freebsd.org]; SPF_FAIL_FORWARDING(0.00)[]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; XAW_SERVICE_ACCT(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.65)[ip: (-9.81), ipnet: 2001:1900:2254::/48(-4.71), asn: 10310(-3.64), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[python@FreeBSD.org,freebsd-python@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_COUNT_SEVEN(0.00)[7] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2018 08:13:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233104 Bug ID: 233104 Summary: databases/py-pg8000: requires devel/py-six Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jdc@koitsu.org CC: python@FreeBSD.org, wen@FreeBSD.org CC: python@FreeBSD.org, wen@FreeBSD.org The databases/py-pg8000 port requires devel/py-six to properly work. I have not tested Python 2.x, but this is definitely the case for Python 3.= 6. Example: $ python3 -V Python 3.6.7 $ python3 Python 3.6.7 (default, Oct 28 2018, 01:11:16) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] = on freebsd11 Type "help", "copyright", "credits" or "license" for more information. >>> import pg8000 Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.6/site-packages/pg8000/__init__.py", line 1,= in from pg8000.core import ( File "/usr/local/lib/python3.6/site-packages/pg8000/core.py", line 10, in from six.moves import map ModuleNotFoundError: No module named 'six' Details: https://github.com/mfenniak/pg8000/blob/1.11.0/pg8000/core.py#L11 Looking through git history shows that the six dependency is *at least* 2 years old (likely longer but I didn't feel like going through all their old commits): https://github.com/mfenniak/pg8000/blame/1.11.0/pg8000/core.py#L11 Maybe maintainer's system already has py-six installed, thus they didn't no= tice this problem? Solution/workaround: $ sudo pkg install -y py36-six Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: py36-six: 1.11.0 Number of packages to be installed: 1 18 KiB to be downloaded. [1/1] Fetching py36-six-1.11.0.txz: 100% 18 KiB 18.2kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing py36-six-1.11.0... [1/1] Extracting py36-six-1.11.0: 100% $ python3 Python 3.6.7 (default, Oct 28 2018, 01:11:16) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] = on freebsd11 Type "help", "copyright", "credits" or "license" for more information. >>> import pg8000 >>> --=20 You are receiving this mail because: You are on the CC list for the bug.=