Open ghost opened 11 years ago
There is some Python 3 stuff here: https://github.com/okfn/ckanclient/blob/master/ckanclient/__init__.py#L25 - does that help? Apart from that, I know of no work in this area. So we'd welcome pull requests.
If it can't be jointly 2.x and 3.x compatible, then a branch for the 3.x version seems appropriate.
I am wondering whether support for Python 3.2 is planned already and what help would be wanted for it.
The 2to3 script doesn't quite cut it, as I am left in a state where urllib2 is still referenced (which is merged into urllib in Python 3) and after importing the proper libraries (changing urllib2 to urllib.request in ckanclient/init.py) there remains some errors with getting the registry from an api.
I haven't tried any further than that currently.
I'd be happy to help out in migrating but would just like to check whether someone else is on this task already.