From a6045e87df8673cc917971b8f288a027f4c014d8 Mon Sep 17 00:00:00 2001 From: monosans Date: Fri, 10 Jan 2025 12:38:25 +0300 Subject: [PATCH] python 3.13 is now supported --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d2f22e46..34a3582d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: astral-sh/setup-uv@v5 with: enable-cache: false - - run: uv tool run --from pre-commit@latest --with pre-commit-uv --no-cache --python 3.12 pre-commit run --all-files + - run: uv tool run --from pre-commit@latest --with pre-commit-uv --no-cache --python 3.13 pre-commit run --all-files build: strategy: matrix: @@ -43,7 +43,7 @@ jobs: - uses: astral-sh/setup-uv@v5 with: enable-cache: true - - run: uv run --no-dev --group nuitka --frozen --python 3.12 python -m nuitka --mode=standalone --python-flag='-m' --assume-yes-for-downloads --deployment --lto=yes proxy_scraper_checker + - run: uv run --no-dev --group nuitka --frozen --python 3.13 python -m nuitka --mode=standalone --python-flag='-m' --assume-yes-for-downloads --deployment --lto=yes proxy_scraper_checker - run: mv config.toml proxy_scraper_checker.dist/ - if: ${{ github.event_name != 'pull_request' }} uses: actions/attest-build-provenance@v2 diff --git a/Dockerfile b/Dockerfile index acb11d2b9..0b9a87a08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM docker.io/python:3.12-slim-bookworm AS python-base-stage +FROM docker.io/python:3.13-slim-bookworm AS python-base-stage ENV \ PYTHONDONTWRITEBYTECODE=1 \ diff --git a/README.md b/README.md index d469c12f0..52d29a1f4 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ If Windows antivirus detects the executable file as a virus, please read [this]( #### Desktop -- Install [Python](https://python.org/downloads). Supported versions are 3.9 to 3.12. The recommended version is 3.12. +- Install [Python](https://python.org/downloads). Supported versions are 3.9 to 3.13. - Download and unpack [the archive with the program](https://github.com/monosans/proxy-scraper-checker/archive/refs/heads/main.zip). - Edit `config.toml` to your preference. - Run the script that installs dependencies and starts `proxy-scraper-checker`: