Open hartwork opened 1 year ago
Cool, thanks for the tip, will have a look.
Looks like cgi is deprecated and FieldStorage
has no proper replacement in the standard library. See https://peps.python.org/pep-0594/#cgi
The proper replacement would apparently be multipart
as an external dependency. Originally I intended to keep servefile with minimal dependencies. So my options are:
FieldStorage
/usr/local/bin/
solution, at least for uploads.As a first step I'll silence the deprecation warning so servefile works with python3.11.
Inline with Python 3.10 and earlier, when running the tests with Python 3.11, I get this error:
It seems that the output from the
DeprecationWarning
warning is breaking the test.Would be cool to have that fixed before the next release. Thanks in advance! :pray: