From 55742ea53c5452ed71fa34852111bce98a7a0471 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sat, 25 Jan 2025 00:47:57 +0000 Subject: [PATCH] Test Python 3.10 BinderHub is broken on Python 3.9: ``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/runner/work/binderhub/binderhub/binderhub/__main__.py", line 2, in from binderhub.app import main File "/home/runner/work/binderhub/binderhub/binderhub/app.py", line 45, in from .base import VersionHandler File "/home/runner/work/binderhub/binderhub/binderhub/base.py", line 13, in from .utils import ip_in_networks File "/home/runner/work/binderhub/binderhub/binderhub/utils.py", line 172, in ip_addr: str, networks: Iterable[ipaddress.IPv4Network | ipaddress.IPv6Network] ``` --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 614cc5d2d..e4ea4c5a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -412,7 +412,7 @@ jobs: id: setup-python with: # Set this to the oldest Python version supported by BinderHub - python-version: "3.9" + python-version: "3.10" - name: Cache pip uses: actions/cache@v4