Note that the "perhaps compiled in the 8th to 6th centuries BCE", while still older than Pythagoras, comes from dating of Indian texts by European indologists. These indologists were funded by then-colonial governments in a then-colonized India with a view to advance the biblical worldview that the universe is about 6000 years old [2], which any reasonable thinker now knows is pure hogwash [3]. So Indian texts are, in fact, probably a lot older. I believe that a now-decolonized India needs to pay closer attention to its history.
[1] https://en.wikipedia.org/wiki/Baudhayana_sutras#Pythagorean_... [2] https://www.letu.edu/academics/arts-and-sciences/files/age-o... [3] https://www.nationalgeographic.org/topics/resource-library-a...