From owner-freebsd-python@freebsd.org Wed May 24 03:28:46 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 80930D7B484 for ; Wed, 24 May 2017 03:28:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF94126C for ; Wed, 24 May 2017 03:28:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 576BFD7B482; Wed, 24 May 2017 03:28:46 +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 531E4D7B481; Wed, 24 May 2017 03:28:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B640126A; Wed, 24 May 2017 03:28:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg0-x242.google.com with SMTP id h64so15456208pge.3; Tue, 23 May 2017 20:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1kaoy+MfjG2Yr1gXg4cR7ZrBP4xvtWlHQM1RtDofxTc=; b=KprymEIdG/7fLMKA7tf560RQ+zRbK8qTn0ayY4IMlyg+Nyrfg4zzxTncqlApmt+PGy oNJ7pbGA680IuG2iGfRPClPcY8Csw86Q5fDoH0mNUUz3JnO9HkuOqpLM450gtO4ojdar Uhzt2R2A48/j89BhM7ed6s2Tas3b9agqf8SAR6AVc2NHjjkIjTUf5nL2Vh2oPfYYiBqT 1s4pw/+fddYpbeO/wmeZofAr6/0bYWpcY/8aDr3PVrOmuWbmJdDNaqjeuPydEuf+2m9e tRyFdUo1wuxqikzMvMPd7ePxr29kLAz8eP5NSvSwV3Le6CcU/+UWKs+7KOLv0805ApbO 3WHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=1kaoy+MfjG2Yr1gXg4cR7ZrBP4xvtWlHQM1RtDofxTc=; b=PLUXBg/P0Cxlt5F3n9W55jXcNac9wpP67Ufw3A3Ie6lJEFmqOGdykYPb5EW0rQK117 yNmYharfsEusKCS12JO25uMtRj+CAD+5+dQOI59R+ZDF3YoxMx7G2D6TX5k9ZnBmwAxa ULUsSy5G+uvZUri544WjBqwYwS0R1KLN8++R/f+y8S/7i4fKL411g7Ns43R1BrAC4mCK abOXEdSJsxuH69OXTvO1NpvFSgf6C5CjWuVPrNztXlljqH0LD8O1Jrr64VS+gFGIT8kL sQfqWkfNxJe2LrxOrAYaKseX8ScCSmdJF+pRaWXIoeaGd5RUnS2W+F0kzNEfXbIVemdx 0New== X-Gm-Message-State: AODbwcB9Vel2/hyAh1s4ym7IuCn1QXFS+gMlENYl7GxbLlNxfSOFKbT7 QRqOgURngO+RO4z02iY= X-Received: by 10.98.159.135 with SMTP id v7mr35475518pfk.57.1495596525436; Tue, 23 May 2017 20:28:45 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c? (2001-44b8-31ae-7b01-2042-03e8-d7ce-9b9c.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c]) by smtp.gmail.com with ESMTPSA id u9sm3820602pgn.55.2017.05.23.20.28.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2017 20:28:45 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: py-backports.* conflict To: Andriy Gapon , sunpoet@FreeBSD.org, freebsd-ports@FreeBSD.org, Josh Paetzel Cc: python@FreeBSD.org References: <6ce74130-56f9-bed3-f5e5-c037c773cfc9@FreeBSD.org> <0fca8805-56b1-09d5-0237-ef76c0d3b47a@FreeBSD.org> From: Kubilay Kocak Message-ID: <0b8a6abb-7aa4-e3fb-adeb-30aa66743bc6@FreeBSD.org> Date: Wed, 24 May 2017 13:24:19 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: <0fca8805-56b1-09d5-0237-ef76c0d3b47a@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit 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: Wed, 24 May 2017 03:28:46 -0000 On 5/24/17 6:47 AM, Andriy Gapon wrote: > > [ping] > > On 18/05/2017 15:40, Andriy Gapon wrote: >> >> After the update of devel/py-backports.functools_lru_cache to 1.4 it started to >> conflict with devel/py-backports.shutil_get_terminal_size: >> >> py27-backports.functools_lru_cache-1.4 [FreeBSD] conflicts with >> py27-backports.shutil_get_terminal_size-1.0.0 [installed] on >> /usr/local/lib/python2.7/site-packages/backports/__init__.py >> >> It would be very inconvenient if only a single of py-backports.* ports could be >> installed at a time. >> >> Is it possible to fix the problem? >> > > These appear to be namespaced packages and all else being equal (bugs or other causes aside), the only way I can think of is to have a py-backports port, with subpackages for each py-backports.*, with py-backports owning the __init__.py (and other shared files, if any) and each sub-module (package) depending on py-backports for the shared bits. Having said that it could also be (at least partially) related to namespace package fixes that are in an unreleased version of shutil_get_terminal_size: https://github.com/chrippa/backports.shutil_get_terminal_size/pull/10 See Also: https://bbs.archlinux.org/viewtopic.php?id=226193 https://github.com/garbas/pypi2nix/issues/80