Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential problem with cog script for vendored #4353

Merged
merged 5 commits into from
May 10, 2024

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented May 10, 2024

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
22 checks passed
@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