Skip to content
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

[PR #6180/f66cc7c9 backport][stable-5] Replace deprecated error with BadZipFile #6215

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Mar 22, 2023

This is a backport of PR #6180 as merged into main (f66cc7c).

SUMMARY

BadZipfile (with a small f) has been deprecated since Python 3.2, use BadZipFile (big F) instead, added in 3.2.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

archive

ADDITIONAL INFORMATION

See also ansible/ansible#80198.

* 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)
@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Mar 22, 2023
@felixfontein felixfontein merged commit 3e74011 into stable-5 Mar 22, 2023
@felixfontein felixfontein deleted the patchback/backports/stable-5/f66cc7c933316c9c0094564d4b143df58375c2f8/pr-6180 branch March 22, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants