From 749d0a02a33cbb369c2790cc8998829737c067eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 22 Mar 2022 12:46:53 +0100 Subject: [PATCH] Do funky aioquic pinning --- tools/webtransport/requirements.txt | 5 ++++- tools/wptrunner/requirements_chromium.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/webtransport/requirements.txt b/tools/webtransport/requirements.txt index 8743e0317d39a9..4e347c647cc662 100644 --- a/tools/webtransport/requirements.txt +++ b/tools/webtransport/requirements.txt @@ -1 +1,4 @@ -aioquic==0.9.19 +# aioquic 0.9.15 is the last to support Python 3.6, but doesn't have prebuilt +# wheels for Python 3.10, so use a different version depending on Python. +aioquic==0.9.15; python_version == '3.6' +aioquic==0.9.19; python_version != '3.6' diff --git a/tools/wptrunner/requirements_chromium.txt b/tools/wptrunner/requirements_chromium.txt index 8743e0317d39a9..4e347c647cc662 100644 --- a/tools/wptrunner/requirements_chromium.txt +++ b/tools/wptrunner/requirements_chromium.txt @@ -1 +1,4 @@ -aioquic==0.9.19 +# aioquic 0.9.15 is the last to support Python 3.6, but doesn't have prebuilt +# wheels for Python 3.10, so use a different version depending on Python. +aioquic==0.9.15; python_version == '3.6' +aioquic==0.9.19; python_version != '3.6'