I want to integrate the above function where s can take any value (positive or negative). Also, I would like to integrate this without limits, so I won't be able to use Gamma function as per my understanding.
For this specific problem, $0 < y < 1$, hence I tried expanding $(1-y)$ as $$ 1 + y + y^2 + y^3 + \cdots = \frac{1}{1-y} $$
Multiplying this with $\frac{1}{y^s}$ and integrating gave $$ \int \frac{1}{y^s (1-y)} dy = \frac{-1}{y^s} \left(\frac{y}{-s+1} + \frac{y^2}{-s+2} + \cdots \right) $$
For $s = 0$, the expression comes out to be $\ln(1-y)$ which is expected, however, I would like to obtain a closed-form solution for any general s. Any hints are greatly appreciated.
the upper/lower incomplete gamma function will likely give a result for this. You can easily define your function in terms of the incomplete beta function which can be defined in terms of the hypergeometric function: $$B(z;a,b)=\int_0^zx^{a-1}(1-x)^{b-1}\,dx$$ also note the Chebyshev integral is defined as: $$\operatorname{Ch}(a,b)=\int x^p(1-x)^q\,dx=B(x;1+p,1+q)$$ in your case you get: $$\int y^{-s}(1-y)^{-1}\,dy=B(y;1-s,0)$$ now using the relationship: $$B(z;a,b)=\frac{z^a}{a}\,_2F_1(a,1-b;a+1;z)$$ you can get your integral in terms of the hypergeometric function, which can be accurately calculated by most softwares