Skip to content

Commit

Permalink
Merge branch 'main' into python3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru authored Dec 14, 2024
2 parents 10d4f41 + 87b37b4 commit 2573cf7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ repos:
stages: [manual]

# Autoformat: YAML, JSON, Markdown, etc.
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.4.2
hooks:
- id: prettier

Expand Down
5 changes: 5 additions & 0 deletions images/minimal-notebook/setup-scripts/setup_julia.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ def get_latest_julia_url() -> tuple[str, str]:
triplet = unify_aarch64(platform.machine()) + "-linux-gnu"
file_info = [vf for vf in latest_version_files if vf["triplet"] == triplet][0]
LOGGER.info(f"Latest version: {file_info['version']} url: {file_info['url']}")
if file_info["version"] == "1.11.2":
LOGGER.warning(
"Not using Julia 1.11.2, because it hangs in GitHub self-hosted runners"
)
return file_info["url"].replace("1.11.2", "1.11.1"), "1.11.1"
return file_info["url"], file_info["version"]


Expand Down
9 changes: 6 additions & 3 deletions tests/base-notebook/test_healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ def test_healthy(
"env,cmd,user",
[
(
["HTTPS_PROXY=host.docker.internal", "HTTP_PROXY=host.docker.internal"],
[
"HTTPS_PROXY=https://host.docker.internal",
"HTTP_PROXY=http://host.docker.internal",
],
None,
None,
),
Expand All @@ -91,8 +94,8 @@ def test_healthy(
"NB_USER=testuser",
"CHOWN_HOME=1",
"JUPYTER_PORT=8123",
"HTTPS_PROXY=host.docker.internal",
"HTTP_PROXY=host.docker.internal",
"HTTPS_PROXY=https://host.docker.internal",
"HTTP_PROXY=http://host.docker.internal",
],
["start-notebook.py", "--ServerApp.base_url=/test"],
"root",
Expand Down

0 comments on commit 2573cf7

Please sign in to comment.