From owner-freebsd-python@freebsd.org Wed Nov 28 04:44:47 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 70D8B1147285 for ; Wed, 28 Nov 2018 04:44:47 +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 EFC1B7E1C6 for ; Wed, 28 Nov 2018 04:44:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AD0D21147284; Wed, 28 Nov 2018 04:44:46 +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 88B471147283 for ; Wed, 28 Nov 2018 04:44:46 +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 269DD7E1C4 for ; Wed, 28 Nov 2018 04:44:46 +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 4A33211B45 for ; Wed, 28 Nov 2018 04:44:45 +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 wAS4ijf4004091 for ; Wed, 28 Nov 2018 04:44:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAS4ijnp004090 for python@FreeBSD.org; Wed, 28 Nov 2018 04:44: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 233561] converters/py-rencode: Fails to configure if cython is installed Date: Wed, 28 Nov 2018 04:44:44 +0000 X-Bugzilla-Reason: CC AssignedTo 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 Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc cc assigned_to 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-Rspamd-Queue-Id: EFC1B7E1C6 X-Spamd-Result: default: False [1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.62)[0.618,0]; NEURAL_SPAM_MEDIUM(0.71)[0.707,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.60)[0.603,0] 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: Wed, 28 Nov 2018 04:44:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233561 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|converters/py-rencode: |converters/py-rencode: |configure fails if cython |Fails to configure if |installed |cython is installed CC| |python@FreeBSD.org, | |sunpoet@FreeBSD.org Assignee|python@FreeBSD.org |koobs@FreeBSD.org Status|New |Open --- Comment #1 from Kubilay Kocak --- Investigation summary: 1) ports r482774 removed USE_PYTHON=3Dcython (inadvertently, due to (2), or because the package successfully built without cython) 2) upstream setup.py does not declare cython as a dependency 3) upstream dev-requirements.txt does declare it as a dependency (noop for setuptools/pip based installs as they use setup.py:*_requires) 4) upstream setup.py conditionally (when importable/found) uses Cython (.pyx file) for the build, falling back to a setuptools build_ext (.c file) build 5) The 1.0.6 PyPI sdist (only) ships with a .c file 6) Upstream commit 5c928f14567fabc9efb8bbb8ac5e0eef03c61541 via issue #25 [= 1] adds a pyx file (not yet released). 7) setup.py declares 'sdist requires cython module to generate c' file, appearing to indicate it (cython) is a development dependency, prior to, and for producing, the relevant source distribution (which we use). In my opinion, a cython build (and the dependency on cython) it not necessa= ry (particularly given (5) and (7)), even after #25 is released and the conditional code to build with cython should not be included in setup.py, at least not as a default case, or without an explicit request by the user to = use cython, as an optional build method, for sdist consumers (most downstream packagers, and setuptools/pip users) [1] https://github.com/aresch/rencode/commit/5c928f14567fabc9efb8bbb8ac5e0eef03= c61541 [2] https://github.com/aresch/rencode/pull/25 --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=