From owner-freebsd-python@freebsd.org Fri Feb 10 01:03:48 2017 Return-Path: Delivered-To: freebsd-python@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 2AD62CD832E for ; Fri, 10 Feb 2017 01:03:48 +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 149CA799 for ; Fri, 10 Feb 2017 01:03:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 140BBCD832D; Fri, 10 Feb 2017 01:03:48 +0000 (UTC) Delivered-To: python@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 13B4DCD832A for ; Fri, 10 Feb 2017 01:03:48 +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 DE23C796 for ; Fri, 10 Feb 2017 01:03:47 +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 v1A13lEG012537 for ; Fri, 10 Feb 2017 01:03:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 216953] devel/py-setuptools: egg_info fails under python 3.4.6 on nonexistent MANIFEST graft Date: Fri, 10 Feb 2017 01:03:47 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 01:03:48 -0000 John W. O'Brien has reassigned Bugzilla Automation 's request for maintainer-feedback to FreeBSD Python : Bug 216953: devel/py-setuptools: egg_info fails under python 3.4.6 on nonexistent MANIFEST graft https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216953 --- Description --- Created attachment 179814 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179814&action= =3Dedit Terminal capture showing passing and failing examples When the MANIFEST.in file contains a graft statement that refers to a direc= tory that does not exist, the egg_info command will fail when run under python 3.4.6. Expected behavior: setuptools warns on the nonexistent directory Observed behavior: setuptools exits with an error on the nonexistent directory due to an unhandled `FileNotFoundError` exception How to reproduce: export DISTUTILS_DEBUG=3Dyes echo "graft nope" > MANIFEST.in python3.4 \ -c "from setuptools import setup; setup(name=3D'x', version=3D'0.1.0')" \ sdist See the attached sample output comparing output between `distutils.core.set= up` and `setuptools.setup` across all versions of python currently supported on FreeBSD. Only the combination of `setuptools` with python 3.4.6 exhibit this problem. N.B. I believe the underlying problem is where `setuptools.commands.egg_inf= o` uses `distutils.filelist.findall`. I chose to demonstrate the problem with = the sdist command because that is the only `distutils` command that uses `distutils.filelist.findall`. See some background on this bug on the freebsd-python list [0]. [0] https://lists.freebsd.org/pipermail/freebsd-python/2017-January/011524.= html