From 6993516ccb8b371a0b1c8152a3c672fffffad7dc Mon Sep 17 00:00:00 2001 From: Marco Rodolfi Date: Mon, 24 Jul 2023 04:30:54 +0200 Subject: Bugfix: Unable to load _sqlite3 on main SteamOS (#507) * Update to latest python I have odd behaviour with importing sqlite3, which is failing to do. I have no clue why, so I'm trying to update Python to the latest stable to check if it's a Python bug. * Update aiohttp for python compatibility * Sligtly lower aiohttp version * Update pyinstaller to latest stable version It was failing to build a working executable with the latest python runtime. --- .github/workflows/build.yml | 12 ++++++------ requirements.txt | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 104b1f70..25024b33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,15 +47,15 @@ jobs: with: node-version: 18 - - name: Set up Python 3.10.2 🐍 + - name: Set up Python 3.11.4 🐍 uses: actions/setup-python@v4 with: - python-version: "3.10.2" + python-version: "3.11.4" - name: Install Python dependencies ⬇️ run: | python -m pip install --upgrade pip - pip install pyinstaller==5.5 + pip install pyinstaller==5.13.0 [ -f requirements.txt ] && pip install -r requirements.txt - name: Install JS dependencies ⬇️ @@ -97,15 +97,15 @@ jobs: with: node-version: 18 - - name: Set up Python 3.10.2 🐍 + - name: Set up Python 3.11.4 🐍 uses: actions/setup-python@v4 with: - python-version: "3.10.2" + python-version: "3.11.4" - name: Install Python dependencies ⬇️ run: | python -m pip install --upgrade pip - pip install pyinstaller==5.5 + pip install pyinstaller==5.13.0 pip install -r requirements.txt - name: Install JS dependencies ⬇️ diff --git a/requirements.txt b/requirements.txt index e7db9f1d..166435f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -aiohttp==3.8.1 -aiohttp-jinja2==1.5.0 +aiohttp==3.8.4 +aiohttp-jinja2==1.5.1 aiohttp_cors==0.7.0 watchdog==2.1.7 -certifi==2022.12.7 \ No newline at end of file +certifi==2022.12.7 -- cgit v1.2.3