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

COMPAT: Update code for latest Cython 3 beta #51640

Merged
merged 14 commits into from
Mar 1, 2023

Conversation

lithomas1
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@lithomas1 lithomas1 added the Compat pandas objects compatability with Numpy or Python functions label Feb 26, 2023
@lithomas1 lithomas1 added this to the 2.0 milestone Feb 26, 2023
@lithomas1 lithomas1 marked this pull request as ready for review February 26, 2023 20:11
@lithomas1
Copy link
Member Author

lithomas1 commented Feb 26, 2023

OK, this is ready, but needs a Cython bump to get the cpow directive added in 0.29.33 (best done separately).

EDIT: All done.

@lithomas1 lithomas1 marked this pull request as draft February 27, 2023 13:18
@lithomas1 lithomas1 marked this pull request as ready for review February 27, 2023 20:59
Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

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

The non-workflows changes LGTM, might be good to get someone whom understands those to sign off on that file (though I think you're the person i usually ping on that)

@lithomas1 lithomas1 requested a review from mroeschke February 27, 2023 21:25
@lithomas1
Copy link
Member Author

Going to put this in for now to get rid of red CI.

If there's any further comments, I can take care of it in a followup.

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Mar 1, 2023
phofl pushed a commit that referenced this pull request Mar 2, 2023
…thon 3 beta) (#51728)

Backport PR #51640: COMPAT: Update code for latest Cython 3 beta

Co-authored-by: Thomas Li <[email protected]>
@@ -77,6 +75,9 @@ jobs:
env_file: actions-310-numpydev.yaml
pattern: "not slow and not network and not single_cpu"
test_args: "-W error::DeprecationWarning -W error::FutureWarning"
# TODO(cython3): Re-enable once next-beta(after beta 1) comes out
# There are some warnings failing the build with -werror
pandas_ci: 0
Copy link
Member

Choose a reason for hiding this comment

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

Is there a commit available to install after beta 1 where the warnings are fixed? Setting this to 0 will affect some tests that are using is_ci_environment()

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll need to file a bug with Cython. If I did this correctly, only the numpy dev build should be affected.

Copy link
Member

Choose a reason for hiding this comment

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

Okay yeah should be okay since it's only affecting one build, but good to have the tests as consistent as possible if cython can be bumped on this build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants