Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.7 #387

Merged
merged 3 commits into from
Apr 10, 2023
Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Apr 7, 2023

Next release is 4.0.0 as we have breaking changes (#388), I figure we should drop support for Python 3.7 as part of it as this PR does.

Adjustments to tests

Previously we tested against jupyter_server 1 in one specific test job, in the one with Python 3.7. When this was removed we no longer tested against it. So I've added jupyter_server-version to the test matrix. Doing so we went from 8 to 16 jobs though which is quite a lot.

I considered how to reduce the large amounts of jobs, and concluded a reasonable strategy was to add another job step and remove the jupyter-app test matrix variable. So, now we have two steps in sequence, running pytest first against a jupyter-notebook server then against a jupyter-lab server. This duplicated step takes ~13 second, so its a small step compared to the job that takes ~3-4 minutes.

@consideRatio consideRatio requested review from bollwyvl and manics April 7, 2023 16:33
@consideRatio consideRatio marked this pull request as draft April 7, 2023 16:42
@consideRatio consideRatio changed the title Require Python 3.8 Drop support for Python 3.7 Apr 8, 2023
@consideRatio consideRatio reopened this Apr 8, 2023
This test was never explicit in the past, but we did it in the Python
3.7 setup as then jupyter_server 2 couldn't be installed.
@consideRatio consideRatio marked this pull request as ready for review April 8, 2023 07:56
Copy link
Member

@manics manics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to modify the dependencies instllation further when notebook 7 (based on JupyterLab) comes out.

@consideRatio consideRatio merged commit 1bb2690 into jupyterhub:main Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants