Skip to content

Remove unused & non-direct declared dependencies for prod - #1187

Merged
wojcikstefan merged 1 commit into
masterfrom
depend-audit-prod
Sep 21, 2026
Merged

wojcikstefan merged 1 commit into
masterfrom
depend-audit-prod

Conversation

@marcospri

@marcospri marcospri commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Moved:

more-itertools, declared in test only, but its imported in prod, moved here.

Removed:

asn1crypto - it was a dependency of cryptography, but not anymore
colorlog - not sure, not used
importlib_metadata - no longer needed, we are in python 3.12, nothing uses them anyway
importlib_resources
zipp - was required by importlib_metadata
psutil - Not imported, not used

Transitive dependencies:

request-file - Via tldextract
s3transfer - Via boto3
six - via a bunch of things

Moved:
more-itertools, declared in test only, but its imported in prod, moved here.

Removed:
asn1crypto - it was a dependency of cryptography, but not anymore
colorlog - not sure, not used
importlib_metadata  - no longer needed, we are in python 3.12, nothing uses them anyway
importlib_resources
zipp - was required by importlib_metadata
psutil - Not imported, not used

Transitive dependencies:

request-file - Via tldextract
s3transfer - Via boto3
six - via a bunch of things
@marcospri marcospri changed the title Depend audit prod Remove unused & non-direct declared dependencies for prod Sep 18, 2026
@marcospri

Copy link
Copy Markdown
Contributor Author

gdata is still declared and un-imported but technically is being used (?!) see #316

@marcospri
marcospri marked this pull request as ready for review September 21, 2026 08:21
@wojcikstefan
wojcikstefan merged commit ebae707 into master Sep 21, 2026
3 of 4 checks passed
@wojcikstefan
wojcikstefan deleted the depend-audit-prod branch September 21, 2026 08:56
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.

2 participants