dispatchrun / dispatch-py

Python package to develop applications with Dispatch.
https://pypi.org/project/dispatch-py/
Apache License 2.0
56 stars 3 forks source link

Document that the package depends on Python 3.8-3.13 #113

Open achille-roussel opened 8 months ago

achille-roussel commented 8 months ago

We don't inform users in advance that they need Python 3.11+ to use dispatch-py, it would help smooth the onboarding process if we did.

kevburnsjr commented 8 months ago

fwiw, I also ran into this problem while following the tutorial. My WSL2 Ubuntu 22.04 only supports Python 3.10 by default and while I did manage to install Python 3.11, I spent a lot of time wrestling with my environment and never got it to work correctly.

I am much more familiar with Go and I think I would have had a better experience following a tutorial in Go.

achille-roussel commented 8 months ago

Hi @kevburnsjr, I know how you feel about setting up Python when you come from Go... we're so spoiled in the Go world, the simplicity of the toolchain is such a pleasure to work with.

Did you end up using pyenv to get Python setup on Ubuntu 22.04? Or did you take a different approach?

kevburnsjr commented 8 months ago

I gave up trying to get Python to work and moved on to the Golang examples. I have to deal with Python in my day job, so unless I'm being paid to deal with it I'd rather not. I probably would never use for the Python SDK anyways knowing that Go is available. I only followed the Python guide because I didn't see a Getting Started guide for Go.

achille-roussel commented 8 months ago

Thanks for sharing those details!

Note that our progress on the Python side isn't as advanced as what we can do with Python yet, but a complete Go SDK is definitely on our roadmap.

I'll keep you posted on the advancement here, let's keep in touch!

chriso commented 7 months ago

We support 3.9 and 3.10 now (#136, #140).

achille-roussel commented 7 months ago

These changes have been shipped in v0.4.1.

@kevburnsjr, if you get a chance to try it out again, let us know if you run into any other blockers!

chriso commented 7 months ago

We support 3.8 now (#143).

We may not need to explicitly document the supported versions now that we support all Python versions that haven't officially been EOL'd (https://devguide.python.org/versions/#supported-versions).