Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Broken on Python 3.10, uses deprecated collections.Callable #15

Open
nylanderdev opened this issue Feb 4, 2022 · 1 comment
Open

Broken on Python 3.10, uses deprecated collections.Callable #15

nylanderdev opened this issue Feb 4, 2022 · 1 comment

Comments

@nylanderdev
Copy link

nylanderdev commented Feb 4, 2022

The alias collections.Callable for collections.abc.Callable has been deprecated. The alias is used in __init__.py, and therefore httplib2shim (and dependants like GEE) do not work on Python 3.10. See python/cpython#23754

Proposed change: Change the single occuring instance of collections.Callable to collections.abc.Callable.
Problem: This might break the library for anyone using Python <3.3, so it is potentially both a patch and a breaking change, making it unclear what the SEMVER should be.

See nylanderdev@7344d5d

@nylanderdev
Copy link
Author

Could always check version manually and create alias for python versions >=3.10

flebel added a commit to AtomicConductor/httplib2shim that referenced this issue Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant