Skip to content

Commit

Permalink
Require python >=3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Feb 23, 2023
1 parent 5f1e52b commit b0251c3
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion plugins/auth/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "fps_auth"
description = "An FPS plugin for the authentication API"
keywords = ["jupyter", "server", "fastapi", "pluggy", "plugins"]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"fps[uvicorn] >=0.0.17",
"fps-lab",
Expand Down
2 changes: 1 addition & 1 deletion plugins/auth_base/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_auth_base"
description = "An FPS plugin for the authentication API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = ["fps >=0.0.17"]
dynamic = [ "version",]

Expand Down
2 changes: 1 addition & 1 deletion plugins/auth_fief/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "fps_auth_fief"
description = "An FPS plugin for the authentication API, using Fief"
keywords = ["jupyter", "server", "fastapi", "pluggy", "plugins"]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"fief-client[fastapi]",
"fps >=0.0.8"
Expand Down
2 changes: 1 addition & 1 deletion plugins/contents/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_contents"
description = "An FPS plugin for the contents API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "anyio", "watchfiles >=0.16.1,<1", "aiosqlite >=0.17.0,<1", "anyio>=3.6.2,<4"]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/frontend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_frontend"
description = "An FPS plugin for the frontend related configuration"
keywords = ["fastapi", "pluggy", "plugins", "fps"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = ["fps>=0.0.8"]
dynamic = ["version"]

Expand Down
2 changes: 1 addition & 1 deletion plugins/jupyterlab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_jupyterlab"
description = "An FPS plugin for the JupyterLab API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "fps-frontend", "fps-lab", "jupyterlab >=4.0.0a27",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/kernels/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_kernels"
description = "An FPS plugin for the kernels API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "fps-frontend", "fps-yjs", "pyzmq", "websockets", "python-dateutil", "watchfiles >=0.16.1,<1"]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/lab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_lab"
description = "An FPS plugin for the JupyterLab/RetroLab API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "fps-frontend", "babel", "json5",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/login/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_login"
description = "An FPS plugin for the login API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/nbconvert/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_nbconvert"
description = "An FPS plugin for the nbconvert API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "nbconvert",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/noauth/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "fps_noauth"
description = "An FPS plugin for an unprotected API"
keywords = ["jupyter", "server", "fastapi", "pluggy", "plugins"]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"

[[project.authors]]
name = "Jupyter Development Team"
Expand Down
2 changes: 1 addition & 1 deletion plugins/resource_usage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_resource_usage"
description = "An FPS plugin for the resource usage API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "psutil >=5.9.4", "anyio >=3.6.2", ]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/retrolab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_retrolab"
description = "An FPS plugin for the RetroLab API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "fps-frontend", "fps-lab", "retrolab",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/terminals/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_terminals"
description = "An FPS plugin for the terminals API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [ "fps >=0.0.8", "fps-auth-base", "websockets", "pywinpty;platform_system=='Windows'",]
dynamic = [ "version",]
[[project.authors]]
Expand Down
2 changes: 1 addition & 1 deletion plugins/yjs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "fps_yjs"
description = "An FPS plugin for the Yjs API"
keywords = [ "jupyter", "server", "fastapi", "pluggy", "plugins",]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"fps >=0.0.8",
"fps-auth-base",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "jupyverse"
description = "A set of FPS plugins implementing a Jupyter server"
keywords = ["jupyter", "server", "fastapi", "pluggy", "plugins"]
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"fastapi>=0.87.0",
"fps>=0.0.21",
Expand Down
4 changes: 0 additions & 4 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@


@pytest.mark.parametrize("auth_mode", ("noauth",))
@pytest.mark.skipif(
sys.platform.startswith(("linux", "darwin")) and sys.version_info < (3, 8),
reason="pytest-asyncio issue",
)
def test_settings(client):
# get previous theme
response = client.get("/lab/api/settings/@jupyterlab/apputils-extension:themes")
Expand Down

0 comments on commit b0251c3

Please sign in to comment.