X-Original-To: alpine-devel@lists.alpinelinux.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 1B99A5C563F for ; Sat, 15 Sep 2018 13:54:48 +0000 (GMT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id ABED821B10 for ; Sat, 15 Sep 2018 09:54:45 -0400 (EDT) Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Sat, 15 Sep 2018 09:54:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fangorn.ch; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=DGoaRH7bQrgUJKCxIpM+lJFvAio0U5xU60iCKoExkBc=; b=HQhlv3vm 8VqH/9cZyaC6VX7IXD2R6/ciR0jZFJ5KLpxLawea1MaPpmmE3CnPks1RYpmMELWH lu8a6U6Dosr8s/hmXzGjxxtO2aCHAZUIgkP92eJTaHjIrEftpmxOo9fEt+RgSaTM +lGi24S/iYUdNib/azQ8C8CgrxH7plWdUIefC7UQZL+wJxVqpeCke7xZLqbZxaVc 4nuEBHuWjcOwoWgJjhtLObBSL7u869OHwX0WAonCeSBY8mmupPmpVdHgYWeDkLlN hIGtb1ajOO7nUoqVsptFArKgmDD27xl/rMxG+LHteHMgVnFAeWX/FhOzGDKY8yab hLieeZBhN8clVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=DGoaRH7bQrgUJKCxIpM+lJFvAio0U 5xU60iCKoExkBc=; b=KFOYDNGPlqZyEcpzxA5lIz2obRc4rUVLd8XN1SppiBVEc e6s3hjKX9J0I4SIHPKfctVqwRVGXkSsXtN3YTvsUASZaJtcjUHJsSzR0SRGYUdZ6 +soQAowR7Lc4cgxAVbizmaIHEBLuZiKeusBo7Mmz3uwceL63su5xEx5ToFUzIfpV PzXTtbcIN8ai+0ekhzfnHbPhE0hCTa2krhtxvYMEpWl92M3pqseUeSWgpruZN79M EATclLY+Emw47LW0k6Qbo2A58p51ggxFIJ61//MY0f5wdrEOCsrE6r34R4NfDSp5 xMEJUDrVT2aBA4VBCHWOUAbss/IWCXjINh9hSkn6A== X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 135F59E110; Sat, 15 Sep 2018 09:54:44 -0400 (EDT) Message-Id: <1537019684.3813859.1509094960.3B8B1D90@webmail.messagingengine.com> From: "Jean-Louis Fuchs" To: ";alpine-devel@lists.alpinelinux.org;;;" X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-e556cd15 Subject: [alpine-devel] Python Dependency Check Annoyance Date: Sat, 15 Sep 2018 15:54:44 +0200 Hi Noticed that certbot on 3.8. does not run: Traceback (most recent call last): File "/usr/bin/certbot", line 6, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3086, in @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3099, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 783, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (idna 2.7 (/usr/lib/python2.7/site-packages), Requirement.parse('idna<2.7,>=2.5'), set(['requests'])) Then I wanted to implement a test in certbot to check for this problem. but it is not possible, because actually idna, requets and certbot just work fine. The only thing that fails is this _build_from_requirements() in the certbox shim generated by setuptools (or whatever is doing it). So the error can only be detected once the package is installed. Since requests has started to lock-down their dependencies more strict and everybody is using requests, I encounter this problem more often. This post is not about how to fix dependencies (usually there is a workaround be upgrading or downgrading this or that package): I want to find out how to detect this early. I actually often wished I had the pkgdir during check. But that seems like a bad idea too. Best, Jean-Louis --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---