delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/17/00:33:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC177398D013
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610861570;
bh=mY+3LWL+pxLxDLCw/ouWjiICuT4Tynm5i3UCavFb4gc=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=mNkKhuUnmQpq26vevuhT975ttiTuvJ7tnImAF967I/8I3809ROpITYh/wDu6Wl3Bz
6zoOQv5wioa3HCJt2Y42v/br9MoFvDUbAxY18ZkkaZ/JYwXqzByrocMSReStauu9hX
o40oNSdnpGKzX34MeKQhsTGAicwiEolaMOK91v1o=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6D20D3844019
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=pk57iu4bnp7QUOD8Wh12lQlP9ILFUCsuyUi91G1CLCw=;
b=uHUJRq92aVhaDwZgiFbcW31Ns4VqdOacyXETXOLI8YGCZNj+ydDD4UmFVPnxbb9iC5
zKZ5/jW5GINLuFYkCszRRvyr0903Sp4BXOIbm5IWugvIyqYIJT9WSFVRNeGXOMfEUFtV
WcMpZdiqnAZWM7QZwl6BdX7ZMHmYV893XuCvqjN2VjVGuPcyZz+mjBEApU9IodKTW6u0
RPMMbY3b4A95a8/kaWyy7aV5LM9Gye73vu0EnZfh8awp//lGTyHDfzAIXdiQ/64S10y9
88v9ZOVCtnOVcQBqs9UKS44pOReUkH+zxaUqQni8IJmRwNybQkuA1Rb3q7suQu6VYa9r
JheA==
X-Gm-Message-State: AOAM533wDEESA+GNf8/30k3de01zGA3jy2IaTsIhCzej1mrqwqCoJao4
ARgtAXNmXi1M4ub+l7hnlq5BLO+2zWE=
X-Google-Smtp-Source: ABdhPJwR52kfSqkrNSmTv1Ivv/EQHbQx4iuv+b8qqFkybVRm497d+TitoENxAKiplWSGToEiL65/zA==
X-Received: by 2002:a7b:c841:: with SMTP id c1mr13555916wml.48.1610861566538;
Sat, 16 Jan 2021 21:32:46 -0800 (PST)
Subject: Re: pylint: ImportError: No module named pkg_resources
To: cygwin AT cygwin DOT com
References: <vriusg70lbd5 DOT fsf AT gavenkoa DOT example DOT com>
Message-ID: <1f07662a-714a-e1de-3658-04c3e5948dc6@gmail.com>
Date: Sun, 17 Jan 2021 06:32:44 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <vriusg70lbd5.fsf@gavenkoa.example.com>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 17.01.2021 00:18, Oleksandr Gavenko via Cygwin wrote:
> After installing pylint:
> 
>    setup.exe -p pylint
> 
> I expected I can use the package:
> 
>    pylint /dev/null
> 
>    Traceback (most recent call last):
>      File "/usr/bin/pylint", line 5, in <module>
>        from pkg_resources import load_entry_point
>    ImportError: No module named pkg_resources
> 
> I tried to add package:
> 
>    python-setuptools
> 
> as suggested by:
> 
>    https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources
> 
> and now it works.

Noted. I will look on it as it was anyway built for python2
that is now EOL

So need to be rebuilt to work with python3


> I believe that x86_64/setup.bz2 is broken:
> 
>    depends2: python, python-logilab-astng, python-logilab-common
> 
> It doesn't mention python-setuptools.
> 
> Or it might be that /usr/bin/pylint should be rewritten to avoid dependency to
> setuptools.
> 

This explain the status problem:

  $ grep -e "pylint" -e "logilab" cygwin-pkg-maint
pylint                                       ORPHANED (Jari Aalto)
python-logilab-astng                         ORPHANED (Jari Aalto)
python-logilab-common                        ORPHANED (Jari Aalto)

I guess one is also dead upstream (or was totally re-shaffled)
but I need to look again .

Thanks for the report
Marco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019