-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[NOMRG] MNT Check travis CRON job #18644
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
Conversation
The problem is related with downcasting for For instance, the following line:
throws this error:
The data type of
and changing I have not found anything related in the issue tracker of Pinging @thomasjpfan that previously investigated the |
The error is unrelated with the Edit: The travis CRON job works for |
The breaking change is numpy/numpy#16986. |
Hey @mattip, Sorry to bother you, do you know why this is happening? I identified that numpy/numpy#16986 introduces the incompatibility, but, sincerely, I am not familiar with the I would like your opinion in this regard. Thank you so much! |
The offending operation |
Did the python version get upgraded to 3.9? |
Thank you @mattip for the quick reply, I really appreciate it.
No, I am using the following Python environment: >>> sklearn.show_versions()
System:
python: 3.6.12 (default, Sep 10 2020, 18:03:29) [GCC 8.3.0]
executable: /usr/local/bin/python
machine: Linux-4.19.76-linuxkit-x86_64-with-debian-10.5
Python dependencies:
pip: 20.2.3
setuptools: 50.3.0
sklearn: 0.24.dev0
numpy: 1.19.2
scipy: 1.4.1
Cython: 3.0a6
pandas: 1.0.3
matplotlib: 3.2.1
joblib: 0.15.1
threadpoolctl: 2.0.0
Built with OpenMP: True However, note that with the following one (only >>> sklearn.show_versions()
System:
python: 3.6.12 (default, Sep 10 2020, 18:03:29) [GCC 8.3.0]
executable: /usr/local/bin/python
machine: Linux-4.19.76-linuxkit-x86_64-with-debian-10.5
Python dependencies:
pip: 20.2.3
setuptools: 50.3.0
sklearn: 0.24.dev0
numpy: 1.19.1
scipy: 1.4.1
Cython: 3.0a6
pandas: 1.0.3
matplotlib: 3.2.1
joblib: 0.15.1
threadpoolctl: 2.0.0
Built with OpenMP: True The following code snippet works (the data type of
I have compared WDYT? |
Something else is going on. The numpy declarations in #16986 are identical to the cython ones: I don't understand the comment, what is the intent of the word "downcasting"? All the values involved in |
For instance, The values of
The intent of the word downcasting is casting from
Yes, the data type of My main concern is that although
is raised. |
These statements seem to contradict each other. |
I have edited the reply. I wanted to say:
|
FYI, I have run two workflows. One with |
We have decided to apply an explicit casting of Thank you @mattip for your patience and support, I really appreciate your help with this issue! |
Trying to see why the
travis
CRON job is failing.