diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index b402008b9..7aa347036 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -95,7 +95,7 @@ jobs: - name: Install pnpm and dependencies uses: apify/actions/pnpm-install@v1.3.1 - - name: Setup Python 3.12 (Windows) + - name: Set up Python (Windows) if: ${{ matrix.os == 'windows-2025' }} uses: actions/setup-python@v6 with: @@ -144,7 +144,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-2025] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] runs-on: ${{ matrix.os }} diff --git a/src/commands/create.ts b/src/commands/create.ts index f551d4dab..c15597887 100644 --- a/src/commands/create.ts +++ b/src/commands/create.ts @@ -278,10 +278,10 @@ export class CreateCommand extends ApifyCommand { case ProjectLanguage.Scrapy: { if (!isPythonVersionSupported(runtime.version)) { warning({ - message: `Python Actors require Python 3.9 or higher, but you have Python ${runtime.version}!`, + message: `Python Actors require Python ${MINIMUM_SUPPORTED_PYTHON_VERSION} or higher, but you have Python ${runtime.version}!`, }); warning({ - message: 'Please install Python 3.9 or higher to be able to run Python Actors locally.', + message: `Please install Python ${MINIMUM_SUPPORTED_PYTHON_VERSION} or higher to be able to run Python Actors locally.`, }); return; } diff --git a/src/commands/run.ts b/src/commands/run.ts index 3548472e4..050e3e3c6 100644 --- a/src/commands/run.ts +++ b/src/commands/run.ts @@ -414,10 +414,10 @@ export class RunCommand extends ApifyCommand { case ProjectLanguage.Scrapy: { if (!isPythonVersionSupported(runtime.version)) { error({ - message: `Python Actors require Python 3.9 or higher, but you have Python ${runtime.version}!`, + message: `Python Actors require Python ${MINIMUM_SUPPORTED_PYTHON_VERSION} or higher, but you have Python ${runtime.version}!`, }); error({ - message: 'Please install Python 3.9 or higher to be able to run Python Actors locally.', + message: `Please install Python ${MINIMUM_SUPPORTED_PYTHON_VERSION} or higher to be able to run Python Actors locally.`, }); return; diff --git a/src/lib/consts.ts b/src/lib/consts.ts index 85d5b1676..9a392f2b6 100644 --- a/src/lib/consts.ts +++ b/src/lib/consts.ts @@ -67,7 +67,7 @@ export const APIFY_CLIENT_DEFAULT_HEADERS: Record = { ...(githubActionsRunUrl && { 'X-Apify-Github-Actions-Run-Url': githubActionsRunUrl }), }; -export const MINIMUM_SUPPORTED_PYTHON_VERSION = '3.9.0'; +export const MINIMUM_SUPPORTED_PYTHON_VERSION = '3.11.0'; export const PYTHON_VENV_PATH = '.venv';