plotly / Kaleido

Fast static image export for web-based visualization libraries with zero dependencies
MIT License
378 stars 39 forks source link

Use a modern version of python #169

Closed Pandapip1 closed 11 months ago

Pandapip1 commented 11 months ago

The setup.py script seems to indicate that a python version of <3.4 is required. This is horribly out of date, and means that I can't submit it as a package to package managers that don't support python versions that old. Are there any plans to use a more modern python version?

alexcjohnson commented 11 months ago

@Pandapip1 are you referring to this line?

https://github.com/plotly/Kaleido/blob/3b590b563385567f257db8ff27adae1adf77821f/repos/kaleido/py/setup.py#L298

That's just saying "if python <3.4 we need to install pathlib." It doesn't say anything about which Python versions are supported by Kaleido, which is all of them AFAIK. Other Plotly projects currently use >=3.6 so next time we make a Kaleido release it will probably move to that and this line can be removed entirely.

Pandapip1 commented 11 months ago

Yes I am referring to that line. I misinterpreted that syntax. Sorry!