community.general/plugins
patchback[bot] e8ff74f077
Some checks failed
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
[PR #10223/bc99432f backport][stable-10] zypper_repository: fix usage of removed method ConfigParser.readfp() (#10236)
zypper_repository: fix usage of removed method ConfigParser.readfp() (#10223)

* zypper_repository: fix usage of removed method ConfigParser.readfp()

ConfigParser.readfp() has been removed in python 3.12.
See similar fix e.g. in https://github.com/ansible/ansible/pull/81657

This fixes the error message:
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

* Update changelogs/fragments/10222-zypper_repository-readfp.yml



---------


(cherry picked from commit bc99432f89)

Co-authored-by: Martin Wilck <mwilck@suse.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-12 22:23:03 +02:00
..
action [PR #9583/81e22180 backport][stable-10] action/become/cache/callback: adjust import __future__ for Python3 (#9586) 2025-01-20 20:15:52 +01:00
become [PR #9583/81e22180 backport][stable-10] action/become/cache/callback: adjust import __future__ for Python3 (#9586) 2025-01-20 20:15:52 +01:00
cache [PR #10136/937d92ee backport][stable-10] pickle cache plugin, avoid extra steps in DT (#10144) 2025-05-16 22:37:55 +02:00
callback [PR #10213/c9cd54a8 backport][stable-10] YAML callback: remove 12.0.0 already (#10219) 2025-06-07 09:35:51 +02:00
connection [PR #9795/96b49300 backport][stable-10] add the wsl connection plugin (#10019) 2025-04-19 09:34:11 +02:00
doc_fragments [PR #9964/1375cb65 backport][stable-10] Unify TLS/SSL config for Redfish modules with new common argument spec and docs fragment; add validate_certs and ca_path options (#9982) 2025-04-10 07:26:48 +02:00
filter [PR #9954/7e4d6aa5 backport][stable-10] Add new filter plugin: 'to_prettytable' (#10094) 2025-05-02 10:34:06 +02:00
inventory [PR #10027/299172d2 backport][stable-10] fixed hidden warnings from extra tests - batch 2 (#10101) 2025-05-04 21:40:28 +02:00
lookup [PR #10027/299172d2 backport][stable-10] fixed hidden warnings from extra tests - batch 2 (#10101) 2025-05-04 21:40:28 +02:00
module_utils [PR #10031/2b4cb6da backport][stable-10] pipx: accept python version specs in parameter name (#10149) 2025-05-17 08:24:12 +02:00
modules [PR #10223/bc99432f backport][stable-10] zypper_repository: fix usage of removed method ConfigParser.readfp() (#10236) 2025-06-12 22:23:03 +02:00
plugin_utils [PR #9833/04cfce78 backport][stable-10] Make ready for data tagging (#9990) 2025-04-14 21:23:00 +02:00
test [PR #9833/04cfce78 backport][stable-10] Make ready for data tagging (#9990) 2025-04-14 21:23:00 +02:00