- Notifications
You must be signed in to change notification settings - Fork749
Python 3.12#2249
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Python 3.12#2249
Uh oh!
There was an error while loading.Please reload this page.
Conversation
filmor commentedSep 27, 2023
- Add type offsets for 3.12 and update interop generation
- Drop unused custom incref/decref
- Add 3.12 to CI and metadata
1c0a525
toaa7426a
Compare### Rationale for this changeThe conda-integration build has recently started failing:https://github.com/apache/arrow/actions/runs/6393852866/job/17353952453Apparently this is because conda-forge is now providing Python 3.12 by default, and pythonnet [does not support it yet](pythonnet/pythonnet#2249).### What changes are included in this PR?Avoid using Python 3.12 for Archery in conda-integration build.### Are these changes tested?Yes, by construction.### Are there any user-facing changes?No.*Closes:#37993Authored-by: Antoine Pitrou <antoine@python.org>Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Please take the commit fromhttps://github.com/losttech/pythonnet/tree/instanceless-explicit to change the test. If it still does not raise in 3.12, keep the version guard and refer topython/cpython#101578 |
53a8341
tof988251
CompareSame result. It actually does raise, but the reference check for |
On Python 3.12 I think it should raise an instance of |
Well, that's not what this one is testing, though. I'll keep it deactivated for now. If the rest is fine with you, I'll merge it and cut a new version (maybe after having another look at#2245). |
lostmsu commentedOct 6, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
👍I can fix the test as I outlined above. My understanding is that 3.12 always normalizes exceptions while 3.11 and before did not. E.g. The decoder is needed in 3.11 and before because otherwise you have no way in C# to catch |
### Rationale for this changeThe conda-integration build has recently started failing:https://github.com/apache/arrow/actions/runs/6393852866/job/17353952453Apparently this is because conda-forge is now providing Python 3.12 by default, and pythonnet [does not support it yet](pythonnet/pythonnet#2249).### What changes are included in this PR?Avoid using Python 3.12 for Archery in conda-integration build.### Are these changes tested?Yes, by construction.### Are there any user-facing changes?No.*Closes:apache#37993Authored-by: Antoine Pitrou <antoine@python.org>Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
### Rationale for this changeThe conda-integration build has recently started failing:https://github.com/apache/arrow/actions/runs/6393852866/job/17353952453Apparently this is because conda-forge is now providing Python 3.12 by default, and pythonnet [does not support it yet](pythonnet/pythonnet#2249).### What changes are included in this PR?Avoid using Python 3.12 for Archery in conda-integration build.### Are these changes tested?Yes, by construction.### Are there any user-facing changes?No.*Closes:apache#37993Authored-by: Antoine Pitrou <antoine@python.org>Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
### Rationale for this changeThe conda-integration build has recently started failing:https://github.com/apache/arrow/actions/runs/6393852866/job/17353952453Apparently this is because conda-forge is now providing Python 3.12 by default, and pythonnet [does not support it yet](pythonnet/pythonnet#2249).### What changes are included in this PR?Avoid using Python 3.12 for Archery in conda-integration build.### Are these changes tested?Yes, by construction.### Are there any user-facing changes?No.*Closes:apache#37993Authored-by: Antoine Pitrou <antoine@python.org>Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>