Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Apr 11, 2024
1 parent d20e69b commit 29214b0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
git+https://github.com/jupyterhub/[email protected]
git+https://github.com/jupyterhub/binderhub.git@main
jupyterhub>=4,<5
alembic>=1.13.0,<1.14
aiosqlite~=0.19.0
pytest
pytest-aiohttp
pytest-asyncio
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies = [
"jupyter_client>=6.1,<8",
"httpx",
"sqlalchemy>=2",
"pydantic>=2,<3"
"pydantic>=2,<3",
"alembic>=1.13,<2"
]
dynamic = ["version"]
license = {file = "LICENSE"}
Expand Down
1 change: 0 additions & 1 deletion tljh_repo2docker/database/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ class DockerImageOutSchema(DockerImageCreateSchema):
class Config:
use_enum_values = True
from_attributes = True
orm_mode = True
13 changes: 9 additions & 4 deletions ui-tests/binderhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@
c.BinderHub.debug = True
c.BinderHub.auth_enabled = True
c.BinderHub.enable_api_only_mode = True
c.BinderHub.use_registry = False

c.BinderHub.use_registry = os.getenv("BINDERHUB_USE_REGISTRY", False)
c.BinderHub.image_prefix = os.getenv(
"BINDERHUB_IMAGE_PREFIX", ""
) # https://binderhub.readthedocs.io/en/latest/zero-to-binderhub/setup-binderhub.html#id2
c.DockerRegistry.auth_config_url = "https://index.docker.io/v1/"
c.BuildExecutor.push_secret = "*" #

c.BinderHub.builder_required = False

c.BinderHub.build_class = LocalRepo2dockerBuild
Expand All @@ -33,6 +40,4 @@
assert os.getenv("JUPYTERHUB_API_TOKEN")

c.BinderHub.base_url = os.getenv("JUPYTERHUB_SERVICE_PREFIX")
# JUPYTERHUB_BASE_URL may not include the host
c.BinderHub.hub_url = os.getenv('JUPYTERHUB_BASE_URL')
# c.BinderHub.hub_url = os.getenv("JUPYTERHUB_EXTERNAL_URL")
c.BinderHub.hub_url = os.getenv("JUPYTERHUB_BASE_URL")

0 comments on commit 29214b0

Please sign in to comment.