Skip to content

PEP 563 postponed to Python 3.11 #803

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

Closed
frenzymadness opened this issue May 5, 2021 · 5 comments
Closed

PEP 563 postponed to Python 3.11 #803

frenzymadness opened this issue May 5, 2021 · 5 comments

Comments

@frenzymadness
Copy link
Contributor

Hello.

Deferred evaluation of type annotations has been postponed to Python 3.11: https://mail.python.org/archives/list/python-dev@python.org/thread/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/

Currently, I see only two test failures with the latest Python 3.10b1 (for the latest attrs release) and they are both already fixed in 03d3fc7 but there are more changes than that so I don't know whether the compatibility with Python 3.10 needs any more work or not.

Could you please add Python 3.10 to CI? It should be pretty stable in the beta phase.

@hynek
Copy link
Member

hynek commented May 5, 2021

What makes you think that 3.10 is not part of the CI? We've just had to pin 3.10 to alpha7 due to the beta1 & pytest breakage but it's been there for a while.

@frenzymadness
Copy link
Contributor Author

I'm sorry, I saw a commit message saying "Disable 3.10 until it stops breaking" and assumed that this part of the CI is disabled now. I should check it.

Do you think that the current master is compatible with the 3.10 beta?

@hynek
Copy link
Member

hynek commented May 5, 2021

Yes, I've re-enabled b1 while responding to you. To circle back to your original message: attrs was passing on 3.10 deferred evaluation; we just had to disable 3.10 for a while it due to breakage with (I think) typed-ast that wasn't our fault.

@hynek
Copy link
Member

hynek commented May 5, 2021

(also 21.1 is going out this week. i'm just tying up loose ends atm)

@hynek
Copy link
Member

hynek commented May 6, 2021

Closing this since I don’t think there is anything to do.

@hynek hynek closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants