Python 3.6 support? #215
-
|
I'm just curious if piccolo has a hard dependency on python 3.7 or if 3.6 could be supported? Completely understandable if not, seeing as 3.6 is getting deprecated soon. Hopefully, we'll get around to upgrading our old CentOS 7 environment eventually... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
I think the only things which lock it to Python 3.7 are dataclasses, but it seems like there's a backport available: https://pypi.org/project/dataclasses/ And contextvars, which also seems to have a backport available. https://pypi.org/project/contextvars/ So it might be possible. If it's as simple as adding those packages as optional dependencies, then it might be worth doing. I'll create an issue for it. |
Beta Was this translation helpful? Give feedback.
I think the only things which lock it to Python 3.7 are dataclasses, but it seems like there's a backport available:
https://pypi.org/project/dataclasses/
And contextvars, which also seems to have a backport available.
https://pypi.org/project/contextvars/
So it might be possible. If it's as simple as adding those packages as optional dependencies, then it might be worth doing. I'll create an issue for it.