Repository navigation
Add support for Python 3.11 - #9708
Conversation
c9fa962 to
5246405
Compare
5246405 to
f8d22c9
Compare
jrbourbeau
left a comment
There was a problem hiding this comment.
Nice detective work @graingert. Sounds like we can safely xfail the unhappy hdf-related tests on Python 3.11
|
we can't xfail them as they segfault - will have to skip them for now |
|
👍 |
|
depends on dask/distributed#7249 |
Co-authored-by: crusaderky <[email protected]>
Co-authored-by: crusaderky <[email protected]>
|
Should this still be a draft? |
|
Hmm pyarrow isn't working due to
|
|
Would just pin to Arrow 9. Likely it will require work to upgrade to a newer version |
|
Isn't it easier to comment it out again for the time being? numba is also unavailable anyway and they have a history of being several months late every time there's a new major python version. |
|
There should be a Python 3.11 package for Arrow 9 already It is just Arrow 10 came out somewhat recently and there are some fairly significant changes in it that should improve things overall. Just will take time to fully adapt to. So that's what we are seeing here |
|
@graingert commented in a previous version of the PR that pyarrow 10 is necessary for python 3.11 |
|
That doesn't sound right. Arrow 9 was definitely built for Python 3.11 (for example). If that doesn't work, would be very interested to know. |
jrbourbeau
left a comment
There was a problem hiding this comment.
Okay, looks like the issue was due to the libprotobuf pin. That's only needed for the pyarrow-nightly build and has since been moved to a different file anyways. After removing the libprotobuf pin, I was able to get a solved Python 3.11 environment locally on my mac. Let's see if it solves in CI.
|
Looks like that did the trick |
jrbourbeau
left a comment
There was a problem hiding this comment.
The Linux 3.11 build stalled for some reason, so I just retriggered CI to see if the stall happens consistently or not. If it doesn't, I think this is good to go
|
I'll be glad to see this get in. Thank you everyone who helped here. I'm excited for Python 3.11. |
|
Okay, looks like the hanging Linux Python 3.11 build passed (🎉 ) but we're seeing |
|
Alright, looks like |
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @graingert @crusaderky @jakirkham!
pre-commit run --all-files