Skip to content

CoW: Enable CoW by default and remove warning build #56633

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

Merged
merged 11 commits into from
Feb 1, 2024

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 27, 2023

I'd prefer to go this way in enabling CoW. Having it on makes it easier to enforce the change step by step rather than doing it all at once.

@phofl phofl requested a review from mroeschke as a code owner December 27, 2023 15:50
@phofl phofl added this to the 3.0 milestone Dec 27, 2023
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Jan 27, 2024
@phofl phofl removed the Stale label Jan 30, 2024
phofl added 2 commits January 30, 2024 00:13
# Conflicts:
#	pandas/tests/copy_view/test_indexing.py
@phofl
Copy link
Member Author

phofl commented Jan 30, 2024

cc @mroeschke

this should be green now and ready to merge hopefully. That allows us to move forward with the deprecations here

@@ -456,8 +454,7 @@ def add3(x, y, z):
ufunc(ser, ser, df)


# TODO(CoW) see https://github.com/pandas-dev/pandas/pull/51082
@td.skip_copy_on_write_not_yet_implemented
@pytest.mark.xfail(reason="see https://github.com/pandas-dev/pandas/pull/51082")
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 way to still test this with cow?

Copy link
Member Author

Choose a reason for hiding this comment

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

no not at the moment

Copy link
Member

Choose a reason for hiding this comment

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

Okay sounds good.

@mroeschke
Copy link
Member

Just a merge conflict post ArrayManager merge. Feel free to merge after that

# Conflicts:
#	pandas/_config/__init__.py
#	pandas/conftest.py
#	pandas/tests/extension/conftest.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants