Skip to content

Fix #567: Fix test_locally_defined_class_with_type_hints()#570

Merged
ogrisel merged 1 commit intocloudpipe:masterfrom
vstinner:annotations
Jul 11, 2025
Merged

Fix #567: Fix test_locally_defined_class_with_type_hints()#570
ogrisel merged 1 commit intocloudpipe:masterfrom
vstinner:annotations

Conversation

@vstinner
Copy link
Contributor

Update the test for Python 3.14 beta 1. What's New in Python 3.14 says:

"In previous releases, it was sometimes possible to access class annotations from an instance of an annotated class. This behavior was undocumented and accidental, and will no longer work in Python 3.14."

https://docs.python.org/3.14/whatsnew/3.14.html#related-changes

Update the test for Python 3.14 beta 1. What's New in Python 3.14
says:

"In previous releases, it was sometimes possible to access class
annotations from an instance of an annotated class. This behavior was
undocumented and accidental, and will no longer work in Python 3.14."

https://docs.python.org/3.14/whatsnew/3.14.html#related-changes
@vstinner
Copy link
Contributor Author

Ping @ogrisel.

@ogrisel ogrisel merged commit f90f78a into cloudpipe:master Jul 11, 2025
25 checks passed
@ogrisel
Copy link
Contributor

ogrisel commented Jul 11, 2025

Thanks for the fix!

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

Successfully merging this pull request may close these issues.

2 participants