internetarchive / openlibrary-client

Python Client Library for the Archive.org OpenLibrary API
GNU Affero General Public License v3.0
371 stars 81 forks source link

New release to PyPI for Py3.11 compatibility #374

Open cclauss opened 1 year ago

cclauss commented 1 year ago

Please publish a new release to PyPI because https://pypi.org/project/openlibrary-client currently raises an ImportError on Python 3.11 and higher but the code on the master branch does not.

% pipx run openlibrary-client -v

ImportError: cannot import name 'Mapping' from 'collections' (/opt/homebrew/Cellar/python@3.11/...

% pipx run --spec git+https://github.com/internetarchive/openlibrary-client.git ol -v

olclient v0.0.31
hornc commented 12 months ago

@mekarpeles I think you are the only person with access to create a new release to PyPI. Are you able to take action on this?

cclauss commented 12 months ago

Yes. @mekarpeles and I discussed this today and help will attempt a new release to PyPI when he gets a chance.