-
Notifications
You must be signed in to change notification settings - Fork 517
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
[FR] Updated typing-extensions dependency #3204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, note your dockerfiles in the summary are duplicates.
They are close to duplicates: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
* Updated typing-extensions * Added entries for <=3.11 and >=3.12 --------- Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 36b0a49)
Related Issues
Summary
This PR is to address python dependency issues with typing-extensions. It appears that this issue is specific to Python 3.12. This was discovered by @ajurjevi in: #3164.
Python 3.12 Test Dockerfiles
The following Dockerfile will replicate the issue.
The following Dockerfile uses the fix from this PR to address the issue.
NOTE: Known issue with typing-extensions on Python 3.12 and that upgrading breaks building packages on Python 3.8 and Python 3.9. It appears to work correctly in 3.10 and 3.11, but as the original error does not occur in those versions this PR only updates the dependency for 3.12.
Python 3.8 Error
Testing
Use either the above Dockerfiles or your local Python 3.12 environment to duplicate the error and check the fix.