From b19528e4437115b4bcc83733f9dd00404c576632 Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Mon, 26 Dec 2022 20:04:10 -0700 Subject: [PATCH 1/2] added --no-sandbox to tox env --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 015f09f..699b662 100644 --- a/tox.ini +++ b/tox.ini @@ -69,6 +69,7 @@ commands = setenv = DISABLE_QT5_COMPAT=1 + QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox !qt{5,6}: AQT=aqt qt5: AQT=aqt[qt5] From e4627a17e5f0b1c93bd1eb066b7c4d804dd37207 Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Mon, 26 Dec 2022 20:11:13 -0700 Subject: [PATCH 2/2] reverted .tox dir removal --- tox-install-command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox-install-command b/tox-install-command index 201fb8c..d75f3f3 100644 --- a/tox-install-command +++ b/tox-install-command @@ -13,7 +13,7 @@ upload_time=$(curl https://pypi.org/pypi/anki/json \ | jq --arg v "$version" -r '.releases[$v][0].upload_time_iso_8601') cutoff_time=$(date --utc -d "$upload_time +1 hour" '+%Y-%m-%dT%H:%M:%S') -coproc SERVER { "$toxworkdir"/bin/python -um pypi_timemachine "$cutoff_time"; } +coproc SERVER { "$toxworkdir"/.tox/bin/python -um pypi_timemachine "$cutoff_time"; } index_url=$(print_first_group '(http\S+)' <&"${SERVER[0]}") python -m pip install --index-url "$index_url" "anki==$version" "$AQT==$version"