-
Notifications
You must be signed in to change notification settings - Fork 25
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
[python] Try 3.12 again [WIP] #2692
Conversation
Full CI manual run: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2692 +/- ##
=======================================
Coverage 90.19% 90.19%
=======================================
Files 37 37
Lines 4019 4019
=======================================
Hits 3625 3625
Misses 394 394
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Here's the problem: See also
This PR full CI is red across the board for all Python versions on MacOS: And as of today this still reproduces on my Mac:
Same problem on And yet Python 3.12 doesn't have cc @ihnorton |
Yeah, I am seeing this now too. It looks like it is specific to when pyarrow is imported before tiledb, so CI and tests ran fine. |
Needs discussion on whether we:
None of these feels ideal. |
Personally, I think the problems caused by upper bounding the allowed versions of arrow is more of an issue that python=3.12 support specifically. And the macOS support in python 3.12 is more of a symptom. Is there an issue tracking this for tiledb? And is it python specific? It looks like tiledb and arrow are both trying to do something with AWS auth at the C level that's causing the issue. |
I guess in tiledbsoma you have the option of making sure tiledb is imported before pyarrow on Also, if this behavior is good enough for Which ends up meaning, I'd go for
And have |
We had extensive internal discussions a few months ago and determined it wasn't our bug. I'll resuscitate those discussions freshly. cc @ihnorton . If we were mistaken and it is a bug of ours, that will be a learning; if we're not, there may still be mitigation options we can take to work around the pyarrow issue. |
Please see also:
and in particular: |
Ah, sorry, I wasn't making a value judgement about whose fault this is. It's more that My suggested short term mitigation would be:
Has an issue been opened over on the arrow side? It seems like the underlying cause could be an issue with how they do some aws configuration on import, so maybe this could even be patched on their side? |
Good news -- I found "one more import" (#2734) which helps ... |
Some status: Repro
fails with
on MacOS with pyarrow >= 13. Does not fail with pyarrow < 13. 100% reproducible, and immediate. The x86 and arm64 families are equally affected. The above script passes after Workaround on this PRSimply try importing That's the good news. The bad news is that this is now segfaulting in CI: Current experiment: maybe the segfault has to do with today's
I'd love to reproduce this segfault and get a stack trace but sadly this command from the CI run
does not segfault on my Mac. :( Upstream@ihnorton and I believe that this is a problem with
and we'll file a ticket there. |
Cloaing in favor of #3001. |
Issue and/or context: #1849
See also:
main
branch #2734release-1.12
branch #2739release-1.11
branch #2738release-1.10
branch #2737