finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.95k stars 1.06k forks source link

Re-drop python 3.7 #2415

Closed timkpaine closed 7 months ago

timkpaine commented 8 months ago

Python 3.7 was deprecated 27 Jun 2020. We dropped in https://github.com/finos/perspective/issues/2073 / https://github.com/finos/perspective/pull/2065 and then restored in https://github.com/finos/perspective/pull/2223. We will need to re-drop in order to support JupyterLab 4 builder https://github.com/jupyterlab/jupyterlab/pull/13745

tomjakubowski commented 8 months ago

If we're supporting both jl3 and jl4 on modern Python versions, could we just say that on 3.7 we only support jl3? Somehow?

timkpaine commented 8 months ago

"somehow". perspective does not have a (direct) dependency on JupyterLab, so if you pip install perspective-python you won't be forced to upgrade JupyterLab to 4 (only if you do persective-python[jupyterlab]), and we can try to not explicitly break compatibility (no walrus operator). But we should support python 3.7 as an exception and jupyerlab 4 as a primary, as opposed to current where we support python 3.7 as a primary and jupyerlab 4 as an exception.

dhirschfeld commented 7 months ago

Python 3.7 was deprecated 27 Jun 2020

...and has been EOL now for going on 5 months. It's not receiving even security fixes anymore. Does anyone on py37 really need to be running the latest and greatest perspective? Most modern libraries in the pydata stack no longer support py37 so perspective would definitely be the exception there.

image

texodus commented 7 months ago

We support the Python versions our clients use. I can't discuss particulars beyond this but I'll point out that 3.7 is installed more frequently than 3.11 despite scheduled demolition.

@timkpaine How can we continue to support Jlab3. My understanding is that we'd need separate labextension builds?

texodus commented 7 months ago

Closing this as it's not an issue in itself - the issue is captured in #2307.

We may (or may not) soon drop Python 3.7, but if we do it will be to support JupyterLab.