Bug 54893 - Use of deprecated ConfigParser.readfp()
Use of deprecated ConfigParser.readfp()
Status: CLOSED DUPLICATE of bug 55632
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.1
Assigned To: Mika Westphal
Florian Best
: python3-migration
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-23 17:45 CEST by Philipp Hahn
Modified: 2023-07-26 13:50 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2022-06-23 17:45:29 CEST
/usr/lib/python3/dist-packages/univention/appcenter/ini_parser.py:73: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
    parser.readfp(f)
Comment 2 Florian Best univentionstaff 2023-04-13 12:57:31 CEST
  /usr/lib/python3/dist-packages/univention/appcenter/utils.py:89: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
    parser.readfp(f)
  /usr/lib/python3/dist-packages/univention/appcenter/utils.py:279: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    handler(line)
  /usr/lib/python3/dist-packages/univention/appcenter/utils.py:344: DeprecationWarning: ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket()
    self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, cert_reqs=ssl.CERT_REQUIRED, ca_certs="/etc/ssl/certs/ca-certificates.crt")
Comment 3 Florian Best univentionstaff 2023-05-24 11:00:18 CEST

*** This bug has been marked as a duplicate of bug 55632 ***
Comment 4 Florian Best univentionstaff 2023-07-18 11:26:07 CEST
OK: duplicate