Bjorn
Bjorn
Is this just convenience functionality to not need to find the location of a module, or is there something special about modules found with `find_spec`?
Python seems to think that `a/c.py` is correct, ie.: ``` \tmp\pydeps199\src> yamldirs . .: __init__.py: '' a: __init__.py: '' b.py: | print('a/b.py') import c c.py: print('a/c.py') c.py: print('/c.py') ``` Python:...
Hi @ArturLew and thank you for your interest in pydeps. The problem you're seeing might be because the graph is pruned too much before cycle analysis is run..? Could you...
See my previous comment. Without being able to reproduce the problem it is unlikely that I'll be able to fix it.
Hi @hartwork and thank you for the test case. Very useful :-) Adding sorted in a few places improves things, at least to the point where I'm convinced the `find_import_cycles`...
With Py3.11.3 on windows it "works-for-me" :-) ``` (dev311) go|c:\srv> python -V Python 3.11.3 (dev311) go|c:\srv> cd tmp (dev311) go|c:\srv\tmp> mkdir pydeps191 (dev311) go|c:\srv\tmp> cd pydeps191 (dev311) go|c:\srv\tmp\pydeps191> git clone...
It should be the Python "magic number": ``` Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more...
Yes, that sounds like a packaging issue, the topics.py file should definitely be present: ``` (dev311) go|C:\Program Files\Python311\Lib\pydoc_data> ll total 764 -rw-rw-rw- 1 bjorn 0 0 2023-04-05 00:04 __init__.py drw-rw-rw-...
@hroncok The problem seems to be that the `.pyc` file is not in the correct format (and also not in the expected `__pycache__` folder). The code here is trying to...
@hroncok No worries, I'm on summer vacation myself :-)