You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iter_metadata() scans metadata that ends with given pattern inside a path recursively, which would return unexpected results in some cases, here is the directory tree of one:
├───.venv # We have a .venv folder here
│ ├───Include
│ ├───Lib
│ │ └───site-packages
│ │ ├───pip
│ │ ├───pip-19.0.3.dist-info # pip metadata will be returned
├───src
│ ├───requirementslib
...
requirementslib/src/requirementslib/models/setup_info.py
Lines 455 to 473 in d252fd0
iter_metadata()
scans metadata that ends with given pattern inside a path recursively, which would return unexpected results in some cases, here is the directory tree of one:Testing:
The possible solution is to change the DFS method to BFS.
The text was updated successfully, but these errors were encountered: