Skip to content

Commit cd6c1af

Browse files
thuvhdavidbrochart
andauthored
change auth-fief from component to module (#539)
* change auth-fief from component to module Signed-off-by: Hoai-Thu Vuong <thuvh87@gmail.com> * Update pyproject --------- Signed-off-by: Hoai-Thu Vuong <thuvh87@gmail.com> Co-authored-by: David Brochart <david.brochart@gmail.com>
1 parent db99716 commit cd6c1af

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

plugins/auth_fief/fps_auth_fief/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class AuthFiefModule(Module):
1111
def __init__(self, name: str, **kwargs):
12+
super().__init__(name)
1213
self.config = _AuthFiefConfig(**kwargs)
1314

1415
async def prepare(self) -> None:

plugins/auth_fief/pyproject.toml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "fps_auth_fief"
77
version = "0.9.2"
88
description = "An FPS plugin for the authentication API, using Fief"
99
keywords = ["jupyter", "server", "fastapi", "plugins"]
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
dependencies = [
1212
"fief-client[fastapi]",
1313
"jupyverse-api >=0.12.0,<0.13.0",
@@ -27,15 +27,6 @@ text = "BSD 3-Clause License"
2727
[project.urls]
2828
Homepage = "https://jupyter.org"
2929

30-
[tool.check-manifest]
31-
ignore = [ ".*",]
32-
33-
[tool.jupyter-releaser]
34-
skip = [ "check-links",]
35-
3630
[project.entry-points]
37-
"fps.components" = {auth_fief = "fps_auth_fief.main:AuthFiefComponent"}
38-
"jupyverse.components" = {auth_fief = "fps_auth_fief.main:AuthFiefComponent"}
39-
40-
[tool.hatch.version]
41-
path = "fps_auth_fief/__init__.py"
31+
"fps.modules" = {auth_fief = "fps_auth_fief.main:AuthFiefModule"}
32+
"jupyverse.modules" = {auth_fief = "fps_auth_fief.main:AuthFiefModule"}

0 commit comments

Comments
 (0)