From 18b0110ec2390f9d5563f67d7e7251883e00ccd9 Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:28:00 +0100 Subject: [PATCH] Switchingo to pyduktape2 --- .github/workflows/build.yml | 1 - pdf_game/js.py | 2 +- requirements.txt | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7faa4a6..d00314a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,6 @@ jobs: python-version: 3.8 - name: Install dependencies run: | - pip install Cython==0.29.36 # required for pyduktape: cf. https://github.com/stefano/pyduktape/issues/13 pip install -r requirements.txt -r extra-requirements.txt git clone https://github.com/clintbellanger/heroine-dusk - name: Linter diff --git a/pdf_game/js.py b/pdf_game/js.py index a69c9b2..d42f372 100644 --- a/pdf_game/js.py +++ b/pdf_game/js.py @@ -1,7 +1,7 @@ from functools import lru_cache as cached # pylint: disable=no-name-in-module, redefined-outer-name -from pyduktape import DuktapeContext +from pyduktape2 import DuktapeContext from .mod import Proxy from .mod.hero import patch_avatar, patch_info diff --git a/requirements.txt b/requirements.txt index 28463a4..49466ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ fpdf2 humanfriendly # purely optional pillow -pyduktape +pyduktape2 tqdm # purely optional