This is why “gerry mandered” districts should be made ILLEGAL.
Someone has to draw districts as the are based on changing population. Whatever group draws them is going to do it in a manner that advances their agenda. I see no way out of “jerry mandering”.
Besides, the Republicans in Texas did this one on purpose. It leaves safe republican districts all around Houston, just not in it.