codeocean / codeocean-sdk-python

Code Ocean Python SDK
MIT License
3 stars 3 forks source link

Support for Python>=3.9 #1

Closed bjhardcastle closed 2 months ago

bjhardcastle commented 6 months ago

Hi @zvikagart!

The current requirement for 3.11 or higher is quite limiting: I'd like to use this as a dependency in another package, but need to support lower versions too. In fact, the highest version in a starter environment on our CodeOcean instance is 3.10.

I can't see anything in the dependencies that would require 3.11. And any of the newer typing features are also available via the official backport: https://pypi.org/project/typing-extensions/

Would you be willing to lower this requirement?

I'm happy to test and submit a PR.

zvikagart commented 6 months ago

Hi @bjhardcastle,

The package uses enum.StrEnum that was added in python 3.11. We'd be happy to accept PRs to support lower versions. Thanks!