Open matthewfeickert opened 2 weeks ago
cgi is used in
cgi
https://github.com/reanahub/reana-client/blob/9a4dfc2d5dccf6d3bc0290719f0ad6bb3dc3735a/reana_client/api/client.py#L10
but in the recast-atlas tests reana-client is raising
recast-atlas
reana-client
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
as cgi is
Deprecated since version 3.11, will be removed in version 3.13: The cgi module is deprecated (see PEP 594 for details and alternatives). The FieldStorage class can typically be replaced with urllib.parse.parse_qsl() for GET and HEAD requests, and the email.message module or multipart for POST and PUT. Most utility functions have replacements.
Deprecated since version 3.11, will be removed in version 3.13: The cgi module is deprecated (see PEP 594 for details and alternatives).
The FieldStorage class can typically be replaced with urllib.parse.parse_qsl() for GET and HEAD requests, and the email.message module or multipart for POST and PUT. Most utility functions have replacements.
As cgi was added in PR https://github.com/reanahub/reana-client/pull/490 could @mvidalgarcia and @audrium take a look at this?
cgi
is used inhttps://github.com/reanahub/reana-client/blob/9a4dfc2d5dccf6d3bc0290719f0ad6bb3dc3735a/reana_client/api/client.py#L10
but in the
recast-atlas
testsreana-client
is raisingas
cgi
is