Skip to content

Conversation

@foivospro
Copy link

As part of our ongoing research on Python dependency management, we identified that your project explicitly declares the dependencies certifi and idna, which are not directly used by the project codebase but are required transitively by higher-level packages such as requests, httpx, aiohttp, elastic-transport, py2neo, and others.

These packages are pulled in automatically through primary dependencies and do not need to be declared explicitly. Keeping such transitive dependencies locked in dev/tests-requirements.txt introduces unnecessary version constraints and increases maintenance overhead.

We verified that after removing these dependencies, the project continues to install and function properly, and the test suite passes successfully. This confirms that the removed packages are not directly used in the codebase.

For reference, this change aligns with best practices described in the pip documentation, which encourages auditing and pruning transitive or unused requirements to simplify the dependency graph and reduce the risk of version pinning issues.

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