sdk-python
sdk-python copied to clipboard
Python 3.10 vs pyxb EoL
Python 3.10 has moved abstract base classes from collections to collections.abc available since Python 3.3. This has broken pyxb and, therefore, imports for authorizenet/sdk-python.
There has been a pyxb pull request pending for nearly 3 years that would likely fix this specific problem, but the pyxb author has indicated that the project is at end-of-life without funding or transfer of ownership.
It seems the path to supporting Python 3.10 would involve either:
- Replace pyxb in the authorizenet/sdk-python project
- Work with the pyxb author to get that project up to date
Any chance of supporting Python 3.10 in the near future?
Or any sort of timeline/road map would be valued.
Any plans?
any update for the support for Python 3.10. is this library still active?
This has been open since 2021..... whats going on guys ??? Pretty disgusting actually.
At this point using requests lib with direct URL makes more sense!
Adding these two lines of code just before importing authorize.net
resolves the error without requiring any modifications to the package's source files.
import collections
collections.MutableSequence = collections.abc.MutableSequence
The Python SDK has been tested successfully on v3.6 to v3.12. We have replaced the offending serialization library with a newer one, which will hopefully not cause more issues like this. Closing this issue based on that.