From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin-apps@cygwin.com
Subject: python pylint missing dependencies
Date: Thu, 16 Mar 2023 10:44:44 -0600 [thread overview]
Message-ID: <5bb9a447-9ac9-0d01-bee6-ab2cd4a21e70@Shaw.ca> (raw)
Hi Marco,
Trying to run python pylint3.6/7/8/9 pylint3.6/7/8 need typing_extensions (see
at bottom):
$ pip3.6/7/8 install typing_extensions
as python typing is only available as python{,2,27}-typing, and appears not to
have been updated to python3:
python-typing ORPHANED (Yaakov Selkowitz)
All plus pylint3.9 also need python platformdirs (3.6 not available) (see at
bottom):
DEPEND/BUILD_/REQUIRES=python3?-platformdirs
although if defined in DEPEND/BUILD_REQUIRES should be detected by cygport
python dependency checker IIRC?
Anything I could do to help diagnose or fix this while your system is U/S?
Maybe a dependency no longer required another expected dependency:
$ cygcheck-dep -qcr python39-pylint python39-astroid python39-isort
python39-mccabe python39-pytest python39-toml
python39-pylint: requires ( python39-astroid python39-isort python39-mccabe
python39-pytest python39-toml )
python39-astroid: requires ( python39-lazy-object-proxy python39-pytest
python39-wrapt )
python39-isort: requires ( python39-setuptools )
python39-mccabe: requires ( python39 )
python39-pytest: requires ( python39-attrs python39-iniconfig
python39-packaging python39-pluggy python39-py python39-toml )
python39-toml: requires ( python39 )
$ cygcheck-dep -qcR python39-pylint
python39-pylint: recursively requires ( <base packages and libs>
python39-astroid python39-attrs python39-babel python39-chardet
python39-docutils python39-idna python39-imagesize python39-imaging
python39-iniconfig python39-isort python39-jinja2 python39-lazy-object-proxy
python39-markupsafe python39-mccabe python39-packaging python39-pip
python39-pluggy python39-py python39-pygments python39-pyparsing python39-pytest
python39-pytz python39-requests python39-setuptools python39-six
python39-snowballstemmer python39-sphinx python39-sphinxcontrib-serializinghtml
python39-toml python39-urllib3 python39-wrapt )
$ cygcheck-dep -qcr python36-pylint python36-astroid python36-isort
python36-mccabe python36-pytest python36-toml
python36-pylint: requires ( python36-astroid python36-isort python36-mccabe
python36-pytest python36-toml )
python36-astroid: requires ( python36-lazy-object-proxy python36-wrapt )
python36-isort: requires ( python36-setuptools )
python36-mccabe: requires ( python36 )
python36-pytest: requires ( python36-attrs python36-iniconfig
python36-packaging python36-pluggy python36-py python36-toml )
python36-toml: requires ( python36 )
$ cygcheck-dep -qcR python36-pylint
python36-pylint: recursively requires ( <base packages and libs>
python36-astroid python36-attrs python36-importlib-metadata python36-iniconfig
python36-isort python36-jinja2 python36-lazy-object-proxy python36-markupsafe
python36-mccabe python36-packaging python36-pip python36-pluggy python36-py
python36-pyparsing python36-pytest python36-setuptools python36-toml
python36-wrapt python36-zipp )
$ pylint3.6/7/8 - already pip installed in 3.6 here:
Traceback (most recent call last):
File "/usr/bin/pylint3.7", line 8, in <module>
sys.exit(run_pylint())
File "/usr/lib/python3.7/site-packages/pylint/__init__.py", line 21, in
run_pylint
from pylint.lint import Run as PylintRun
File "/usr/lib/python3.7/site-packages/pylint/lint/__init__.py", line 76, in
<module>
from pylint.lint.parallel import check_parallel
File "/usr/lib/python3.7/site-packages/pylint/lint/parallel.py", line 8, in
<module>
from pylint import reporters
File "/usr/lib/python3.7/site-packages/pylint/reporters/__init__.py", line
27, in <module>
from pylint import utils
File "/usr/lib/python3.7/site-packages/pylint/utils/__init__.py", line 47, in
<module>
from pylint.utils.ast_walker import ASTWalker
File "/usr/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 7,
in <module>
from astroid import nodes
File "/usr/lib/python3.7/site-packages/astroid/__init__.py", line 51, in <module>
from astroid.nodes import node_classes, scoped_nodes
File "/usr/lib/python3.7/site-packages/astroid/nodes/__init__.py", line 27,
in <module>
from astroid.nodes.node_classes import ( # pylint:
disable=redefined-builtin (Ellipsis)
File "/usr/lib/python3.7/site-packages/astroid/nodes/node_classes.py", line
47, in <module>
from astroid import decorators, mixins, util
File "/usr/lib/python3.7/site-packages/astroid/decorators.py", line 36, in
<module>
from typing_extensions import ParamSpec
ModuleNotFoundError: No module named 'typing_extensions'
$ pylint3.6/7/8/9
Traceback (most recent call last):
File "/usr/bin/pylint3.6", line 8, in <module>
sys.exit(run_pylint())
File "/usr/lib/python3.6/site-packages/pylint/__init__.py", line 21, in
run_pylint
from pylint.lint import Run as PylintRun
File "/usr/lib/python3.6/site-packages/pylint/lint/__init__.py", line 76, in
<module>
from pylint.lint.parallel import check_parallel
File "/usr/lib/python3.6/site-packages/pylint/lint/parallel.py", line 8, in
<module>
from pylint import reporters
File "/usr/lib/python3.6/site-packages/pylint/reporters/__init__.py", line
27, in <module>
from pylint import utils
File "/usr/lib/python3.6/site-packages/pylint/utils/__init__.py", line 48, in
<module>
from pylint.utils.docs import print_full_documentation
File "/usr/lib/python3.6/site-packages/pylint/utils/docs.py", line 8, in <module>
from pylint.constants import MAIN_CHECKER_NAME
File "/usr/lib/python3.6/site-packages/pylint/constants.py", line 7, in <module>
import platformdirs
ModuleNotFoundError: No module named 'platformdirs'
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
next reply other threads:[~2023-03-16 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 16:44 Brian Inglis [this message]
2023-04-10 7:48 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bb9a447-9ac9-0d01-bee6-ab2cd4a21e70@Shaw.ca \
--to=brian.inglis@shaw.ca \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).