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

BUG: Fix bug in putmask for CoW #50630

Merged
merged 5 commits into from
Jan 13, 2023
Merged

BUG: Fix bug in putmask for CoW #50630

merged 5 commits into from
Jan 13, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Jan 8, 2023

  • 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.

cc @jorisvandenbossche this did not work an 1.5.2

@phofl phofl added this to the 1.5.3 milestone Jan 8, 2023
@phofl
Copy link
Member Author

phofl commented Jan 11, 2023

cc @jorisvandenbossche Could you have a quick look? Ideally this would go into 1.5.3

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

LGTM

@phofl phofl merged commit 954cf55 into pandas-dev:main Jan 13, 2023
@phofl phofl deleted the cow_putmask branch January 13, 2023 08:21
@lumberbot-app
Copy link

lumberbot-app bot commented Jan 13, 2023

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 1.5.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 954cf55938c50e34ddeced408d04bd04651eb96a
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #50630: BUG: Fix bug in putmask for CoW'
  1. Push to a named branch:
git push YOURFORK 1.5.x:auto-backport-of-pr-50630-on-1.5.x
  1. Create a PR against branch 1.5.x, I would have named this PR:

"Backport PR #50630 on branch 1.5.x (BUG: Fix bug in putmask for CoW)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@jorisvandenbossche
Copy link
Member

Should we backport #50675 as well?

@jorisvandenbossche
Copy link
Member

Ah, forget what I said, the usage of using_copy_on_write is in the internals itself, so there it is fine as is.

@phofl
Copy link
Member Author

phofl commented Jan 13, 2023

Puuuuh, is there anything else that is scheduled for 1.5.3 regarding CoW? If not, I wouldn't backport I think

@phofl
Copy link
Member Author

phofl commented Jan 13, 2023

Good :)

phofl added a commit that referenced this pull request Jan 13, 2023
phofl added a commit to phofl/pandas that referenced this pull request Jan 13, 2023
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.

None yet

3 participants