public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* python pylint missing dependencies
@ 2023-03-16 16:44 Brian Inglis
  2023-04-10  7:48 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Inglis @ 2023-03-16 16:44 UTC (permalink / raw)
  To: cygwin-apps

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: python pylint missing dependencies
  2023-03-16 16:44 python pylint missing dependencies Brian Inglis
@ 2023-04-10  7:48 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2023-04-10  7:48 UTC (permalink / raw)
  To: cygwin-apps

On 16.03.2023 17:44, Brian Inglis via Cygwin-apps wrote:
> 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)
> 

Noted. I already built python-typing-extensions
I will upload shortly for 3.8 and 3.9


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


I have already built platformdirs. It replaces appdirs.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-10  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 16:44 python pylint missing dependencies Brian Inglis
2023-04-10  7:48 ` Marco Atzeri

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