Skip to content

Fix potential problem with cog script for vendored#4353

Merged
abravalheri merged 5 commits into
pypa:mainfrom
abravalheri:fix-cog-script
May 10, 2024
Merged

Fix potential problem with cog script for vendored#4353
abravalheri merged 5 commits into
pypa:mainfrom
abravalheri:fix-cog-script

Conversation

@abravalheri

@abravalheri abravalheri commented May 10, 2024

Copy link
Copy Markdown
Contributor

Summary of changes

Currently, the cog script may miss packages that are not listed in vendored.txt but get installed by pip (transitive dependencies).

This change simply scans the vendored directories looking for both packages and modules that got installed.

The name was changed because it also consider modules (in opposition to packages).

The alphabetical reordering is a consequence of the way directories are listed in Python/OSs.

Closes

Pull Request Checklist

@abravalheri abravalheri changed the title Fix cog script for vendored Fix potential problem with cog script for vendored May 10, 2024
@abravalheri abravalheri marked this pull request as ready for review May 10, 2024 13:32
@abravalheri abravalheri merged commit d8148cc into pypa:main May 10, 2024
@abravalheri abravalheri deleted the fix-cog-script branch May 10, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant