The currently supported Python versions for pyodk are 3.10 to 3.13 (the primary development version is 3.12). If this is different from the version you use for other projects, consider using pyenv to manage multiple versions of Python.
One last step, not relative to python and I should be odk to move forward on pl-pyodk with entities
We recently relaxed the Python version requirement at @spwoodcock's suggestion and updated the readme to match what was merged but we hadn't released yet.
I just released v1.2.0 which includes support down to Python 3.10. It also now supports sending submission attachments when creating a new submission: docs.
Hopefully this gets things running smoothly for you!
I've upgraded my pyodk 0.3.0 to 1.2.0 on a virtualenv that had urllib3 1.26.20 installed and the client.open() statement crashed in my notebooks.
It didn't automatically upgrade urllib3 together with pyodk.
I'm not sure how dependencies are set but when I upgraded urllib3 to it's latest version (2.3.0 in my virtualenv) everything started working nicely again.
Was it my bad during the upgrade process? How should we upgrade pyodk from old versions to ensure that doesn't happen?
I'm a bit newbie to all this python packages versioning stuff and it's always a great discovery when things get back on track.