diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 12ee5dc..e30bb90 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -15,7 +15,7 @@ concurrency: jobs: build-docker-images: if: ${{ !github.event.pull_request.head.repo.fork }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acc6df1..3680941 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: create-release: name: Create release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v6 @@ -36,7 +36,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-22.04, windows-latest] steps: - name: Checkout repository uses: actions/checkout@v6 @@ -46,12 +46,12 @@ jobs: - name: Setup Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.11" - name: Build artifacts run: | python -m pip install -r requirements.txt - python -m pip install pyinstaller==6.17.0 + python -m pip install pyinstaller==6.20.0 cd src python build_package.py diff --git a/Dockerfile b/Dockerfile index 82961da..ce39f39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13-slim-bookworm AS builder +FROM python:3.11-slim-bookworm AS builder # Build dummy packages to skip installing them and their dependencies RUN apt-get update \ @@ -12,7 +12,7 @@ RUN apt-get update \ && equivs-build adwaita-icon-theme \ && mv adwaita-icon-theme_*.deb /adwaita-icon-theme.deb -FROM python:3.13-slim-bookworm +FROM python:3.11-slim-bookworm # Copy dummy packages COPY --from=builder /*.deb / diff --git a/README.md b/README.md index d2b2197..1c1a590 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ This is the recommended way for Windows users. > **Warning** > Installing from source code only works for x64 architecture. For other architectures see Docker images. -- Install [Python 3.13](https://www.python.org/downloads/). +- Install [Python 3.11](https://www.python.org/downloads/). - Install [Chrome](https://www.google.com/intl/en_us/chrome/) (all OS) or [Chromium](https://www.chromium.org/getting-involved/download-chromium/) (just Linux, it doesn't work in Windows) web browser. - (Only in Linux) Install [Xvfb](https://en.wikipedia.org/wiki/Xvfb) package. - (Only in macOS) Install [XQuartz](https://www.xquartz.org/) package. @@ -99,10 +99,10 @@ This is the recommended way for Windows users. ### From source code (FreeBSD/TrueNAS CORE) -- Run `pkg install chromium python313 py313-pip xorg-vfbserver` command to install the required dependencies. +- Run `pkg install chromium python313 py311-pip xorg-vfbserver` command to install the required dependencies. - Clone this repository and open a shell in that path. -- Run `python3.13 -m pip install -r requirements.txt` command to install FlareSolverr dependencies. -- Run `python3.13 src/flaresolverr.py` command to start FlareSolverr. +- Run `python3.11 -m pip install -r requirements.txt` command to install FlareSolverr dependencies. +- Run `python3.11 src/flaresolverr.py` command to start FlareSolverr. ### Systemd service