delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/17/05:24:28

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B05023890417
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1610879025;
bh=uzdawmXKg3FY6qISp8Rv+VZkZJncj8aoW8beQLaZsbM=;
h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=ThIsmJjvn/TxxTKbnZ/ILpXU1E+EcpfXrXjI5OoCEK2gLwVFcT3lj9iWe48d/pvG/
RPIUU7GomafJRJv+nwkf7PiHFdP14O6oUt6MceHHopQ04xBYmJScWeao8IXoIt2iod
OkG7GS3Ua1wcrTzohLsP+ol5AH5Q/n7kwuXiho30=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA524385780D
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Subject: Re: pylint: ImportError: No module named pkg_resources
Date: Sun, 17 Jan 2021 12:23:31 +0200
Organization: Oleksandr Gavenko <gavenkoa AT gmail DOT com>, http://defun.work/
Message-ID: <vriuo8hnlv4s.fsf@gavenkoa.example.com>
References: <vriusg70lbd5 DOT fsf AT gavenkoa DOT example DOT com>
<1f07662a-714a-e1de-3658-04c3e5948dc6 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (cygwin)
Cancel-Lock: sha1:atbMZx4RznBLInFGFUYjCZIJYUM=
X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,
FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_OTHER_BAD_TLD,
NML_ADSP_CUSTOM_MED, PDS_OTHER_BAD_TLD, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: **
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-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: Oleksandr Gavenko via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 2021-01-17, Marco Atzeri via Cygwin wrote:

> 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)

Oh, I see. BTW I noticed in the mentioned link:

>    https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

report on the problem as of Mar 21 '13 (with 5 upvotes for the solution).

So the problem is not recent.

================================================================

Only pylint is available in Cygwin. May be I haven't tried hard but I see no
anything corresponding to Debian's:

  pycodestyle (or pep8)
  python3-pyflakes
  python3-mccabe
  python3-pydocstyle
  bandit

Still pylint was useful (I spotted shadowing built-in function "id" by global
variable).

I'll try to figure out how can I get them in venv, it is not that crucial to
have them bundled in Cygwin.

-- 
http://defun.work/

--
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