Skip to content
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

Dependencies: Permit NumPy up to 1.26. CI: Run Python 3.11 on test_linux workflow. #3813

Merged
merged 2 commits into from Nov 5, 2023

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Nov 5, 2023

Hi again,

in order to support GH-3756, this patch demonstrates that running the test suite succeeds on Python 3.11 without much ado, by permitting an installation of a more recent version of NumPy. This will probably also open the door for eventually thinking about upgrading pandas.

We exercised it at 1 already, where Python 3.11/Linux succeeded, and we think the test suite failing on Windows 3.8 might be unrelated. Maybe you can have a closer look?

image

With kind regards,
Andreas.

Footnotes

  1. https://github.com/crate-workbench/pycaret/actions/runs/6762683108

@amotl amotl mentioned this pull request Nov 5, 2023
5 tasks
numpy>=1.21, <1.24 # Can't >=1.24 because of np.float deprecation
numpy>=1.21, <1.27
Copy link
Contributor Author

@amotl amotl Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't see where the code base uses np.float. Only np.float32 and np.float64 have been discovered so far. So, we think it will be good enough to unlock a few modernization opportunities.

@Yard1 Yard1 self-requested a review November 5, 2023 19:45
@Yard1
Copy link
Member

Yard1 commented Nov 5, 2023

Hi, thanks for the PR! Let's see if the CI passes.

@Yard1 Yard1 changed the base branch from master to support-311 November 5, 2023 19:47
@amotl
Copy link
Contributor Author

amotl commented Nov 5, 2023

It looks good so far, but test_windows (3.10) apparently failed again after 14 minutes spending within the "Post Run" actions cleanup task, in the very same way as Python 3.8 on our workflow run 1.

image image

It may indirectly be related to the change, but I am unable to come up with a good correlation why, so I am tending to classify it as "unrelated". What do you think?

Footnotes

  1. https://github.com/crate-workbench/pycaret/actions/runs/6762683108/job/18378941662

@Yard1 Yard1 merged commit b26a35b into pycaret:support-311 Nov 5, 2023
13 checks passed
@Yard1
Copy link
Member

Yard1 commented Nov 5, 2023

Thanks!

@amotl amotl mentioned this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants