From owner-freebsd-ports-bugs@freebsd.org Sun Feb 19 20:29:16 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DBF9CE593C for ; Sun, 19 Feb 2017 20:29:16 +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 mx1.freebsd.org (Postfix) with ESMTPS id 13B95182F for ; Sun, 19 Feb 2017 20:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1JKTFGg086686 for ; Sun, 19 Feb 2017 20:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217238] devel/py-pathlib2 is missing a dependency on sysutils/py-scandir Date: Sun, 19 Feb 2017 20:29:15 +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 Some People X-Bugzilla-Who: Andrew@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 20:29:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217238 Bug ID: 217238 Summary: devel/py-pathlib2 is missing a dependency on sysutils/py-scandir Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: Andrew@FreeBSD.org CC: rene@FreeBSD.org, yuri@rawbw.com CC: rene@FreeBSD.org, yuri@rawbw.com Python earlier than 3.5 is unable to use pathlib2 due to a missing dependen= cy. I'm getting the following error when I try to import it. % python2 Python 2.7.13 (default, Jan 5 2017, 01:52:49)=20 [GCC 4.2.1 Compatible FreeBSD Clang 3.9.1 (tags/RELEASE_391/final 289601)] = on freebsd12 Type "help", "copyright", "credits" or "license" for more information. >>> import pathlib2 Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/site-packages/pathlib2.py", line 46, in from scandir import scandir as os_scandir ImportError: No module named scandir >>>=20 It seems pathlib2 2.2.1 added a dependency in https://github.com/mcmtroffaes/pathlib2/commit/ebc97b37d4f3441624eaef0a17b9= 7470c7264d06#diff-26e76055fe3b754cfe171b269e04d00c. It tries to use the new python 3.5 os.scandir, then if that fails uses scandir.scandir. --=20 You are receiving this mail because: You are the assignee for the bug.=