The commit removes the IPToCC package from the base requirements file. This package was used to get the country code from an IP address, but it is no longer needed and caused 15m Docker image build times due to its dependency on the pandas library, which had to be rebuilt every time.
Additionally, it also removes numpy as a dependency as there were only 4 lines of code in 2 files that were using it and which were very easy to replace with the already built-in python library of random. NB: you can't see numpy removed from base.txt as it was a dependency of IPToCC too.
The commit removes the
IPToCC
package from the base requirements file. This package was used to get the country code from an IP address, but it is no longer needed and caused 15m Docker image build times due to its dependency on thepandas
library, which had to be rebuilt every time.Additionally, it also removes
numpy
as a dependency as there were only 4 lines of code in 2 files that were using it and which were very easy to replace with the already built-in python library ofrandom
. NB: you can't seenumpy
removed frombase.txt
as it was a dependency ofIPToCC
too.