Skip to content

Commit

Permalink
chore: bump required python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Sep 19, 2024
1 parent d0b6844 commit 9a517db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}

steps:
Expand Down
6 changes: 3 additions & 3 deletions src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,16 +235,16 @@ export class CreateCommand extends ApifyCommand<typeof CreateCommand> {
dependenciesInstalled = true;
} else {
warning({
message: `Python Actors require Python 3.8 or higher, but you have Python ${pythonVersion}!`,
message: `Python Actors require Python 3.9 or higher, but you have Python ${pythonVersion}!`,
});
warning({
message: 'Please install Python 3.8 or higher to be able to run Python Actors locally.',
message: 'Please install Python 3.9 or higher to be able to run Python Actors locally.',
});
}
} else {
warning({
message:
'No Python detected! Please install Python 3.8 or higher to be able to run Python Actors locally.',
'No Python detected! Please install Python 3.9 or higher to be able to run Python Actors locally.',
});
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,16 +341,16 @@ export class RunCommand extends ApifyCommand<typeof RunCommand> {
}
} else {
error({
message: `Python Actors require Python 3.8 or higher, but you have Python ${pythonVersion}!`,
message: `Python Actors require Python 3.9 or higher, but you have Python ${pythonVersion}!`,
});
error({
message: 'Please install Python 3.8 or higher to be able to run Python Actors locally.',
message: 'Please install Python 3.9 or higher to be able to run Python Actors locally.',
});
}
} else {
error({
message:
'No Python detected! Please install Python 3.8 or higher to be able to run Python Actors locally.',
'No Python detected! Please install Python 3.9 or higher to be able to run Python Actors locally.',
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const CURRENT_APIFY_CLI_VERSION = pkg.version;

export const APIFY_CLIENT_DEFAULT_HEADERS = { 'X-Apify-Request-Origin': META_ORIGINS.CLI };

export const MINIMUM_SUPPORTED_PYTHON_VERSION = '3.8.0';
export const MINIMUM_SUPPORTED_PYTHON_VERSION = '3.9.0';

export const PYTHON_VENV_PATH = '.venv';

Expand Down

0 comments on commit 9a517db

Please sign in to comment.