jupyter-server / enterprise_gateway

A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
https://jupyter-enterprise-gateway.readthedocs.io/en/latest/
Other
615 stars 220 forks source link

Drop support for python 3.7 and upgrade min version of some dependencies #1334

Closed luong-komorebi closed 9 months ago

luong-komorebi commented 9 months ago

This happens over a discussion at https://github.com/jupyter-server/enterprise_gateway/pull/1328, with the most important information is Python 3.7 reached EOL

82837

Upgrading python 3.7 is crucial to upgrading dependencies like black, which is also included in this PR However, due to some compatability issues, other dependencies are also upgraded:

  1. upgrade pyzmq to include proper python_requires : this include the change to python_requires that complies with newer standard. See the diff from this to this (!=3.0.* is no longer accepted)
  2. jupyter-server min version must also be upgraded due to failure with aio. More information inside e72d3bc59291a27bebb6490796d0c8e9b458d2c8 commit, with ref to https://github.com/jupyter-server/jupyter_server/commit/678878f4585e65d4f3fea74562517b8c914e474c and https://github.com/jupyter-server/jupyter_server/pull/492