-
Notifications
You must be signed in to change notification settings - Fork 344
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
Remove Unused Dependency: Netaddr #1257
Conversation
Hello @dineshbaburam91, @chidanandpujar I hope this message finds you well. We are currently engaged in a research project focused on optimizing projects by identifying and eliminating unnecessary dependencies. Your insights and expertise as maintainer would greatly contribute to our research efforts. Could you please take a moment to review the changes proposed on this PR? Your input would be highly valuable to us. Thank you for your consideration! |
Hi @gdrosos Thanks . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks to be fine , please run the functional/Unit tests .
Hello @chidanandpujar, thanks for the response! |
Hi @gdrosos Thanks |
Thanks @chidanandpujar, please find bellow first the unit tests:
Regarding the functional tests, should I be in the
With the above command I get:
Moreover, with the command:
|
Hello @chidanandpujar, is there anything else you need from my side in order to move this PR forward? |
Hi @gdrosos Thanks |
Hi @gdrosos
Thanks. |
Summary
This pull request removes the unused dependency
netaddr
from therequirements.txt
configuration file. The removal of this dependency is a finding from ongoing research aimed at identifying and eliminating code bloat within software projects.Rationale
The
netaddr
library was first integrated into the project as per 0b69f39, to support its usage inlib/jnpr/junos/cfg/srx/ab_finder.py
. However, as of 8f4c131, theab_finder.py
file has been removed from the project, rendering the associated dependency redundant. Despite its removal from the source code,netaddr
remained listed as a requirement in the project's configuration file. Removing this unused dependency reduces the overall footprint of the application, mitigating potential security risks, and simplifying the dependency management process.Changes
netaddr
dependency fromrequirements.txt
.Impact