-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Replace deprecated error with BadZipFile #6180
Replace deprecated error with BadZipFile #6180
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
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.
Thanks for your contribution! Could you please add a changelog fragment? Thanks!
Co-authored-by: Felix Fontein <[email protected]>
Fragment added! |
Co-authored-by: Felix Fontein <[email protected]>
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.
Looks good to me. If nobody objects, I'll merge in ~a week.
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #6215 🤖 @patchback |
@hugovk thanks for your contribution! |
* Replace deprecated error with BadZipFile * Use imported BadZipFile Co-authored-by: Felix Fontein <[email protected]> * Add news fragment * Update new fragment Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit f66cc7c)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6216 🤖 @patchback |
* Replace deprecated error with BadZipFile * Use imported BadZipFile Co-authored-by: Felix Fontein <[email protected]> * Add news fragment * Update new fragment Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit f66cc7c)
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
…BadZipFile (#6215) Replace deprecated error with BadZipFile (#6180) * Replace deprecated error with BadZipFile * Use imported BadZipFile Co-authored-by: Felix Fontein <[email protected]> * Add news fragment * Update new fragment Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit f66cc7c) Co-authored-by: Hugo van Kemenade <[email protected]>
…BadZipFile (#6216) Replace deprecated error with BadZipFile (#6180) * Replace deprecated error with BadZipFile * Use imported BadZipFile Co-authored-by: Felix Fontein <[email protected]> * Add news fragment * Update new fragment Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit f66cc7c) Co-authored-by: Hugo van Kemenade <[email protected]>
SUMMARY
BadZipfile
(with a smallf
) has been deprecated since Python 3.2, useBadZipFile
(bigF
) instead, added in 3.2.ISSUE TYPE
COMPONENT NAME
archive
ADDITIONAL INFORMATION
See also ansible/ansible#80198.