infrae / pyoai

The oaipmh module is a Python implementation of an "Open Archives$ Initiative Protocol for Metadata Harvesting"
http://pypi.python.org/pypi/pyoai
Other
84 stars 53 forks source link

cqi.parse_qs deprecated #56

Open gilleslandais opened 1 year ago

gilleslandais commented 1 year ago

Hello - thank you for your library - very useful !

I report an issue that I discover recently after an ubuntu migration from bionic to focal which migrates python3.6 to python3.8. I installed pyoai, but there is a problem with oaipmh/server.py that uses cgi.parse_qs:

AttributeError: module 'cgi' has no attribute 'parse_qs'

It seems that the method is deprecated - see https://github.com/eventlet/eventlet/issues/580

Thank for your development, Gilles Landais