-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: NumPy 1.23.2 may not yet support Python 3.11 #50945
Comments
Thanks for the report! I'm seeing 3.11 support for NumPy in 1.23.3: https://github.com/numpy/numpy/blob/e47cbb69bebf36007c3ea009aee03e4bfe3b3f3d/setup.py#L115 I'm thinking we should update our setup.cfg to reflect this. |
oldest-supported-numpy is saying that the min supported version is 1.23.2 cc @rgommers from numpy for clarification |
There are |
@carlos-rian - as noted by @rgommers above, the warning you've highlighted isn't an error. Does the log show the error the caused the failure? |
@rhshadrach I believe this error is caused when python tries to build the binary for alpine musllinux. I tried to compile; I added the below lines in the dockefile, and it worked for me. RUN apk update
RUN apk add \
build-base \
freetds-dev \
g++ \
gcc \
tar \
gfortran \
gnupg \
libffi-dev \
libpng-dev \
libsasl \
openblas-dev \
openssl-dev It would be interesting to create the binaries for Alpine; it would be good because the compilations take about 30 minutes. After all, when they fail, the error could be more intuitive. I created this in a lib that I compiled from rust to python; It's a good idea to use GitHub Actions. https://github.com/carlos-rian/pysqlx-engine/blob/main/.github/workflows/ci.yml |
#50511 is the issue tracking this. |
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
# use python3.11 on the Alpine Docker Image
Issue Description
Description
I get this error when trying to install Pandas using Python3.11 on the Alpine docker image.
Numpy is supported using version 1.24.1 for Python3.11.
Reproducible example:
requirements.txt
dockerfile
Run docker command
docker build --tag=test .
Expected Behavior
See Issue Description
Installed Versions
pandas==1.5.3
The text was updated successfully, but these errors were encountered: