tklab-tud / ID2T

Official ID2T repository. ID2T creates labeled IT network datasets that contain user defined synthetic attacks.
MIT License
58 stars 23 forks source link

Fix macOS build by forcing homebrew to upgrade packages #79

Closed thrimbor closed 5 years ago

thrimbor commented 5 years ago

Homebrew seems have upgraded readline recently (which we pull in as a requirement for libdnet, which is required for scapy), breaking compatibility with old versions of Python 3. Since homebrew does not automatically upgrade outdated packages when using "brew install", this broke the build for Travis CI, as well as all macOS users that didn't upgrade their Python package manually.

This commit fixes that by running "brew upgrade" for all homebrew packages we require directly after running "brew install", which makes homebrew upgrade the packages that were installed already. Unfortunately, this slows down the macOS Travis CI build even more, but at least it works again.