-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Abuse Whois Analyzer (Closes #2308) #2686
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
docker/Dockerfile
Outdated
&& pip3 install --no-cache-dir --compile -r certego-requirements.txt | ||
&& pip3 install --no-cache-dir --compile -r certego-requirements.txt | ||
|
||
RUN pip3 install abuse_whois==0.10.1 |
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.
@fgibertoni, I am trying to install the abuse_whois package through project-requirements.txt
, but it always fails, so I have installed it through Dockerfile. Please suggest what can be done here.
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.
Please post also the error you're getting while installing the package so I can help you better
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.
One of the abuse_whois dependency is causing conflicts
571.0 The conflict is caused by:
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 3.0.4 depends on pyparsing>=3.0.9
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 3.0.3 depends on pyparsing>=3.0.9
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 3.0.2 depends on pyparsing>=3.0.9
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 3.0.1 depends on pyparsing>=3.0.9
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 3.0.0 depends on pyparsing>=3.0.9
571.0 oletools 0.60.2 depends on pyparsing<4 and >=2.1.0
571.0 ioc-finder 7.0.0 depends on pyparsing<3.0 and >=2.4.7
571.0 matplotlib 3.0.2 depends on pyparsing!=2.0.4, !=2.1.2, !=2.1.6 and >=2.0.1
571.0 pydot 2.0.0 depends on pyparsing>=3
571.0
571.0 To fix this you could try to:
571.0 1. loosen the range of package versions you've specified
571.0 2. remove package versions to allow pip to attempt to solve the dependency conflict
571.0
[+] Building 0/1olutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
⠇ Service uwsgi Building 575.8s
failed to solve: process "/bin/sh -c pip3 install --no-cache-dir --compile -r project-requirements.txt && pip3 install --no-cache-dir pycti==${PYCTI_VERSION} && pip3 install --no-cache-dir --compile -r certego-requirements.txt" did not complete successfully: exit code: 1
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.
@fgibertoni Creating a separate requirements file for abuse_whois does not give any error.
Signed-off-by: pranjalg1331 <[email protected]>
Also please remember to update your migration number as they're now outdated 😉 |
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
Signed-off-by: pranjalg1331 <[email protected]>
(Please add to the PR name the issue/s that this PR would close if merged by using a Github keyword. Example:
<feature name>. Closes #999
. If your PR is made by a single commit, please add that clause in the commit too. This is all required to automate the closure of related issues.)Description
Closes #2308
Please include a summary of the change and link to the related issue.
Type of change
Please delete options that are not relevant.
Checklist
develop
dumpplugin
command and added it in the project as a data migration. ("How to share a plugin with the community")test_files.zip
and you added the default tests for that mimetype in test_classes.py.FREE_TO_USE_ANALYZERS
playbook by following this guide.url
that contains this information. This is required for Health Checks._monkeypatch()
was used in its class to apply the necessary decorators.MockUpResponse
of the_monkeypatch()
method. This serves us to provide a valid sample for testing.Black
,Flake
,Isort
) gave 0 errors. If you have correctly installed pre-commit, it does these checks and adjustments on your behalf.tests
folder). All the tests (new and old ones) gave 0 errors.DeepSource
,Django Doctors
or other third-party linters have triggered any alerts during the CI checks, I have solved those alerts.Important Rules