Conversation
…on < 3.3 fall back to 'collections'.
746701d to
149941a
Compare
|
@gsakkis @movermeyer it seems like you are past contributor to there are a few open issues & pr's from people requesting newer versions of python to be supported and this seems quite trivial to introduce to allow |
|
@bmrobin I'm afraid I don't have write access to this repo anymore. I had contacted Citrix tech support about a year ago to request access and although somebody eventually replied, nothing came out of it 🤷♂️ |
ok thanks for replying. i forked it and have made the necessary changes to get my organization unblocked. |
Running tests with all warnings filters disabled, following warnings appear:
which indicates that
valideerwill stop working on Python 3.9.This PR adds support for Python 3.9 by using ABCs from 'collections.abc' instead of 'collections'. On Python versions greater or equal to 3.3 'collections.abc' will be used and on lower versions, it will fall back to 'collections'.
The decision to use an appropriate version of ABCs is done in
compat.pyand implemented bytry/exceptfor code cleanliness.