Fix Docker Install and setup.py dependencies #3349
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
During the installation of the repository version, I encountered several errors that made the installation process:
Some packages installed via apt either no longer existed or had updated names, specifically gcc-aarch64-linux-gnu. Additionally, it was necessary to re-clone the repository once the Docker container was created.
Furthermore, some essential packages like build-essential were missing, causing compilation errors in the script.
Solution: Update the package, automate workspace creation in Docker, add build-essential (babeltrace still needs to be installed from source)
Due to version conflicts between updated and non-updated packages (numpy, dedupe, dedupe-datetime, etc.), it was impossible to run setup.py install. This caused numpy to install a version lacking some methods used in the script.
Solution: Pin versions in setup.py
Solution: Add a base_url parameter to cve_search() (wrapper for CVESearch()) with the default URL https://cvepremium.circl.lu/
Solution: Add a brief tutorial to the README
These improvements should significantly enhance the installation process and usability of the repository.