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

CI: start testing Python 3.11 #47442

Merged
merged 41 commits into from
Aug 17, 2022
Merged

CI: start testing Python 3.11 #47442

merged 41 commits into from
Aug 17, 2022

Conversation

fangchenli
Copy link
Member

@fangchenli fangchenli commented Jun 21, 2022

@mroeschke
Copy link
Member

Is this going to supersede #47032?

@fangchenli
Copy link
Member Author

Didn't realize there is an existing PR...

@lithomas1
Copy link
Member

You can just push to my PR directly if you want, or pull the changes here. It's a little farther down the pipeline, but I will not have time to work on it in the near future.

@fangchenli
Copy link
Member Author

FAILED pandas/tests/arrays/categorical/test_api.py::TestCategoricalAPI::test_set_ordered
FAILED pandas/tests/arrays/categorical/test_api.py::TestPrivateCategoricalAPI::test_codes_immutable
FAILED pandas/tests/indexes/multi/test_get_set.py::test_set_levels_codes_directly
FAILED pandas/tests/indexes/period/test_freq_attr.py::TestFreq::test_freq_setter_deprecated
FAILED pandas/tests/io/parser/test_quoting.py::test_null_quote_char[python--0]
FAILED pandas/tests/io/parser/test_quoting.py::test_null_quote_char[python--3]
FAILED pandas/tests/io/parser/common/test_read_errors.py::test_null_byte_char[python]
ERROR pandas/tests/scalar/test_nat.py - TypeError: '<' not supported between ...
ERROR pandas/tests/scalar/test_nat.py - TypeError: '<' not supported between ...

@lithomas1
Copy link
Member

FYI Windows will also fail until #47467 is merged in.

@pep8speaks
Copy link

pep8speaks commented Jun 24, 2022

Hello @fangchenli! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-08-17 19:19:05 UTC

@lithomas1 lithomas1 mentioned this pull request Jul 30, 2022
4 tasks
@lithomas1
Copy link
Member

@fangchenli
Thanks for picking this up. There haven't been commits on this PR in a while, so I was wondering whether you had the time to finish this PR up.

I've merged main into this PR for you just to see where we're at with the failures.

I'm pretty close to finishing off #47467, and am going to try to get it merged this week. I think I have enough time where I'll be able to finish it up, hopefully before 3.11rc1.

@lithomas1
Copy link
Member

lithomas1 commented Aug 11, 2022

I accidentally pushed some commits here(I misconfigured github cli-meant to push to my own branch and pull request to this one), so I decided to go all the way to getting CI green. Sorry about the noise.

At any rate, this is ready now pending #47467 merge.

@@ -1,11 +1,3 @@
# This file is purposely frozen(does not run). DO NOT DELETE IT
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be better to leave the comment in, and just comment out the if: false below.

Copy link
Member

@mroeschke mroeschke Aug 12, 2022

Choose a reason for hiding this comment

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

Agreed. Even better to clarify

  1. "Freeze" if our dependencies don't support the latest python dev version
  2. "Unfreeze" if our dependencies support it, but the python dev version hasn't been officially released

Copy link
Member

Choose a reason for hiding this comment

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

@fangchenli Do you have any objections here?

Copy link
Member Author

Choose a reason for hiding this comment

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

@fangchenli Do you have any objections here?

No, I agree with you and @mroeschke

@lithomas1 lithomas1 marked this pull request as ready for review August 12, 2022 00:45
@lithomas1 lithomas1 added this to the 1.5 milestone Aug 12, 2022
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.

Looks good. Just need to address #47442 (comment)

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 pending green

@fangchenli
Copy link
Member Author

@lithomas1 Thank you very much for finishing this up.

@lithomas1 lithomas1 merged commit b3f8ab4 into pandas-dev:main Aug 17, 2022
@fangchenli fangchenli deleted the test-py311 branch August 17, 2022 22:33
@lithomas1
Copy link
Member

@lithomas1 Thank you very much for finishing this up.

Thanks for picking this up again.

noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* CI: start testing Python 3.11

* fix

* fix

* fix macos

* add error msg compat

* fix error msg in test

* xfail and skip tests

* fix error

* roll back

* revert

* maybe fix errors

* update

* try something

* pin hypothesis

* Don't check parentheses equality

* typo

* pin cython

* correctly pin hypothesis

* adjust test

* remove compiler flag

* typo'ed

* fix tests

* linter

* clarify freeze/unfreeze instructions

* whitespace

* one more

Co-authored-by: Thomas Li <[email protected]>
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.

4 participants