-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Dnsrecon fix #3940
Dnsrecon fix #3940
Conversation
@PardesiCat Thanks for the PR. However, I don't think this is the right way to fix it. pytest and flake8 are dev dependencies (for test and linting) so they are not required at runtime. This dependency error is happening because they are set as required in the package. setup.cfg load the whole requirements.txt https://github.com/darkoperator/dnsrecon/blob/38b705febfe37490cc9bbee10640d41553635fe6/setup.cfg#L2 requirements.txt mixes runtime and dev dependencies: https://github.com/darkoperator/dnsrecon/blob/master/requirements.txt So the solution is better packaging upstream. Eg. a separate requirements.txt and requirements-dev.txt (cf link). There more options like |
@PardesiCat Could you PR the changes upstream please? |
well here also i tested in for now adding in makedepends=('git' 'python-setuptools' 'pytest' 'flake8' ) also doing the job so for now should we in BA USe in makedepends ? |
Long term: No, because it's not a makedepends either. As a temporary workaround, I suggest doing all the following:
|
@D3vil0p3r We could close #3941 as it was fixed in darkoperator/dnsrecon@d0507ef. However we need to bump pkgrel to fetch the fix. |
At this point should I keep the PR opened and bump only pkgrel? Or should I close it and @noptrix will bump pkgrel directly? |
Done ✅ |
dnsrecon not working throwing errors
but fixed ( you can check the fixed pkg + build log here )
https://git.pardesicat.xyz/pardesicat/dnsrecon-fix
problem missing depends in PKGBUILD
depends name on arch repo python-pytest flake8