Math skill will definitely help, but is not required.
But (in my opinion) what is more importantly than being good at math is learning to be interested by it. I used to dislike math, but I knew it was important to get a good job, so I worked hard at it. Eventually, I had some good teachers who taught because they love math. 100 years ago we didn't have computer science. 100 years from now we might not have it But there have been many countless applications of math for more than 100 years in the past, and there will likely be many more countless applications of math 100 years in the future. There are many interesting applications of many fields of math. Part of what made me begin to enjoy math was watching YouTube channels like numberphile and conputerphile.
One major predictor of how successful of a job a kid will have, I have heard, is how well they do in algebra in school.
If you enjoy math (the subject, though not necessarily the class), then it's easier to learn it better.
Blessed enough to go to school