TST: Bump the python 3.10 test version from beta4 to rc1#19612
TST: Bump the python 3.10 test version from beta4 to rc1#19612charris merged 4 commits intonumpy:mainfrom
Conversation
The class got renamed in the 3.10rc1 release
|
Well, that's unfortunate. I wouldn't have expected much change between b4 and rc1. |
|
Honestly, the complex thing looks like a python bug when fixing something that was mostly fine probably: https://bugs.python.org/issue44698 I will comment, there. |
|
Hmmm, first thought the "overflow" error came directly from the Python change. But it may be that the error is just the right thing to do, and the subtle change causes it to show up now. |
|
I guess we should just hard-code the expected values there. @BvB93 do you think typing |
It isn't; EDIT: scratch that, a |
|
It seems there is a bug with the In [1]: from typing import Union
In [2]: print(Union.__name__)
Union
In [3]: print(Union[int].__name__)
int
In [4]: print(Union[int, float].__name__)
None |
|
@BvB93 can you make sure the |
|
After some discussion in https://bugs.python.org/issue44524 there seems to be an agreement that the whole @seberg what's the best course of action here for the |
|
@BvB93 it sounds like Python will revert this for 3.10 (and actually apparently also 3.9). If we want to make CI pass, I think we can just hardcode the expected values and trust Python to add a regression test when they fix it. |
Broken in rc1 as of bpo-44524
Complex exponentiation is broken for `builtins.complex` as of bpo-44698
|
Thanks Bas. I'm a bit concerned that we make sure to enable the lookfor test when (probably) rc2 comes out. |
The |
Use the new python 3.10rc1 release for testing.