AuthorizeNet / sdk-python

Python SDK for the Authorize.Net API
Other
53 stars 80 forks source link

Python 3.10 vs pyxb EoL #151

Open rbour opened 2 years ago

rbour commented 2 years ago

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:

  1. Replace pyxb in the authorizenet/sdk-python project
  2. Work with the pyxb author to get that project up to date

Any chance of supporting Python 3.10 in the near future?

rhimmelbauer commented 2 years ago

Or any sort of timeline/road map would be valued.

yashsamit commented 2 years ago

Any plans?

sunsoftdev commented 2 years ago

any update for the support for Python 3.10. is this library still active?

scottie commented 7 months ago

This has been open since 2021..... whats going on guys ??? Pretty disgusting actually.

codeyash commented 7 months ago

At this point using requests lib with direct URL makes more sense!

dvlprb2 commented 4 months ago

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

Screenshot (1)