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.
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.