mirror of https://github.com/ansible/ansible.git
tarfile: Handle deprecation warning for extract and extractall (#81545)
* Python 3.11.4 introduces a new parameter 'filter' in extract and extractall in tarfile. Handle deprecation warning message emitted in Python 3.12. * added probing mechanism in ansible-galaxy code to detect broken data filter implementation in tarfile. Fixes: #80832 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Matt Clay <matt@mystile.com>pull/81614/head
parent
5a059b81c8
commit
1cc5efa77b
@ -0,0 +1,4 @@
|
||||
---
|
||||
bugfixes:
|
||||
- tarfile - handle data filter deprecation warning message for extract and extractall (https://github.com/ansible/ansible/issues/80832).
|
||||
- ansible-galaxy - Enabled the ``data`` tarfile filter during role installation for Python versions that support it. A probing mechanism is used to avoid Python versions with a broken implementation.
|
Loading…
Reference in New Issue