Time for some de-mythologizing. Did you know that several Cardinals funded Copernicus' studies?
Galileo was placed under house arrest for continuing to insist that the Catholic Church teach heliocentrism. Then, as now, the Church's responsibility is to teach regarding faith and morals, not natural science.
However, when natural science reaches beyond its science, such as when evolutionists teach materialistic philosophy, then the Church will teach against fallacious "scientific" (i.e. philosophic) claims. Today, the Church allows a variety of beliefs regarding human origins, but rules out strictly materialistic explanations.