distributable, please
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Security Blocking Checks (push) Successful in 6s
CI / Web Blocking Checks (push) Successful in 53s
CI / Web Advisory Checks (push) Successful in 34s
Publish Images / Resolve Publish Metadata (push) Successful in 1s
CI / Security Advisory Checks (push) Successful in 38s
CI / Clippy (push) Successful in 2m7s
Publish Images / Publish Docker Dist Bundle (push) Failing after 19s
Publish Images / Publish web (amd64) (push) Successful in 49s
Publish Images / Publish web (arm64) (push) Successful in 3m31s
CI / Tests (push) Successful in 8m48s
Publish Images / Build Rust Bundles (amd64) (push) Successful in 12m42s
Publish Images / Build Rust Bundles (arm64) (push) Successful in 12m19s
Publish Images / Publish agent (amd64) (push) Successful in 26s
Publish Images / Publish api (amd64) (push) Successful in 38s
Publish Images / Publish notifier (amd64) (push) Successful in 42s
Publish Images / Publish executor (amd64) (push) Successful in 46s
Publish Images / Publish agent (arm64) (push) Successful in 56s
Publish Images / Publish api (arm64) (push) Successful in 1m52s
Publish Images / Publish executor (arm64) (push) Successful in 2m2s
Publish Images / Publish notifier (arm64) (push) Successful in 2m3s
Publish Images / Publish manifest attune/agent (push) Successful in 6s
Publish Images / Publish manifest attune/api (push) Successful in 11s
Publish Images / Publish manifest attune/executor (push) Successful in 10s
Publish Images / Publish manifest attune/notifier (push) Successful in 8s
Publish Images / Publish manifest attune/web (push) Successful in 8s
This commit is contained in:
191
docker/distributable/packs/core/runtimes/python.yaml
Normal file
191
docker/distributable/packs/core/runtimes/python.yaml
Normal file
@@ -0,0 +1,191 @@
|
||||
ref: core.python
|
||||
pack_ref: core
|
||||
name: Python
|
||||
aliases: [python, python3]
|
||||
description: Python 3 runtime for actions and sensors with automatic environment management
|
||||
|
||||
distributions:
|
||||
verification:
|
||||
commands:
|
||||
- binary: python3
|
||||
args:
|
||||
- "--version"
|
||||
exit_code: 0
|
||||
pattern: "Python 3\\."
|
||||
priority: 1
|
||||
- binary: python
|
||||
args:
|
||||
- "--version"
|
||||
exit_code: 0
|
||||
pattern: "Python 3\\."
|
||||
priority: 2
|
||||
min_version: "3.8"
|
||||
recommended_version: "3.12"
|
||||
|
||||
installation:
|
||||
package_managers:
|
||||
- pip
|
||||
- pipenv
|
||||
- poetry
|
||||
virtual_env_support: true
|
||||
|
||||
execution_config:
|
||||
interpreter:
|
||||
binary: python3
|
||||
args:
|
||||
- "-u"
|
||||
file_extension: ".py"
|
||||
environment:
|
||||
env_type: virtualenv
|
||||
dir_name: ".venv"
|
||||
create_command:
|
||||
- python3
|
||||
- "-m"
|
||||
- venv
|
||||
- "--copies"
|
||||
- "{env_dir}"
|
||||
interpreter_path: "{env_dir}/bin/python3"
|
||||
dependencies:
|
||||
manifest_file: requirements.txt
|
||||
install_command:
|
||||
- "{interpreter}"
|
||||
- "-m"
|
||||
- pip
|
||||
- install
|
||||
- "-r"
|
||||
- "{manifest_path}"
|
||||
env_vars:
|
||||
PYTHONPATH:
|
||||
operation: prepend
|
||||
value: "{pack_dir}/lib"
|
||||
separator: ":"
|
||||
|
||||
# Version-specific execution configurations.
|
||||
# Each entry describes how to invoke a particular Python version.
|
||||
# The worker uses these when an action declares a runtime_version constraint
|
||||
# (e.g., runtime_version: ">=3.12"). The highest available version satisfying
|
||||
# the constraint is selected, and its execution_config replaces the parent's.
|
||||
versions:
|
||||
- version: "3.11"
|
||||
distributions:
|
||||
verification:
|
||||
commands:
|
||||
- binary: python3.11
|
||||
args:
|
||||
- "--version"
|
||||
exit_code: 0
|
||||
pattern: "Python 3\\.11\\."
|
||||
priority: 1
|
||||
execution_config:
|
||||
interpreter:
|
||||
binary: python3.11
|
||||
args:
|
||||
- "-u"
|
||||
file_extension: ".py"
|
||||
environment:
|
||||
env_type: virtualenv
|
||||
dir_name: ".venv"
|
||||
create_command:
|
||||
- python3.11
|
||||
- "-m"
|
||||
- venv
|
||||
- "--copies"
|
||||
- "{env_dir}"
|
||||
interpreter_path: "{env_dir}/bin/python3.11"
|
||||
dependencies:
|
||||
manifest_file: requirements.txt
|
||||
install_command:
|
||||
- "{interpreter}"
|
||||
- "-m"
|
||||
- pip
|
||||
- install
|
||||
- "-r"
|
||||
- "{manifest_path}"
|
||||
env_vars:
|
||||
PYTHONPATH:
|
||||
operation: prepend
|
||||
value: "{pack_dir}/lib"
|
||||
separator: ":"
|
||||
|
||||
- version: "3.12"
|
||||
is_default: true
|
||||
distributions:
|
||||
verification:
|
||||
commands:
|
||||
- binary: python3.12
|
||||
args:
|
||||
- "--version"
|
||||
exit_code: 0
|
||||
pattern: "Python 3\\.12\\."
|
||||
priority: 1
|
||||
execution_config:
|
||||
interpreter:
|
||||
binary: python3.12
|
||||
args:
|
||||
- "-u"
|
||||
file_extension: ".py"
|
||||
environment:
|
||||
env_type: virtualenv
|
||||
dir_name: ".venv"
|
||||
create_command:
|
||||
- python3.12
|
||||
- "-m"
|
||||
- venv
|
||||
- "--copies"
|
||||
- "{env_dir}"
|
||||
interpreter_path: "{env_dir}/bin/python3.12"
|
||||
dependencies:
|
||||
manifest_file: requirements.txt
|
||||
install_command:
|
||||
- "{interpreter}"
|
||||
- "-m"
|
||||
- pip
|
||||
- install
|
||||
- "-r"
|
||||
- "{manifest_path}"
|
||||
env_vars:
|
||||
PYTHONPATH:
|
||||
operation: prepend
|
||||
value: "{pack_dir}/lib"
|
||||
separator: ":"
|
||||
|
||||
- version: "3.13"
|
||||
distributions:
|
||||
verification:
|
||||
commands:
|
||||
- binary: python3.13
|
||||
args:
|
||||
- "--version"
|
||||
exit_code: 0
|
||||
pattern: "Python 3\\.13\\."
|
||||
priority: 1
|
||||
execution_config:
|
||||
interpreter:
|
||||
binary: python3.13
|
||||
args:
|
||||
- "-u"
|
||||
file_extension: ".py"
|
||||
environment:
|
||||
env_type: virtualenv
|
||||
dir_name: ".venv"
|
||||
create_command:
|
||||
- python3.13
|
||||
- "-m"
|
||||
- venv
|
||||
- "--copies"
|
||||
- "{env_dir}"
|
||||
interpreter_path: "{env_dir}/bin/python3.13"
|
||||
dependencies:
|
||||
manifest_file: requirements.txt
|
||||
install_command:
|
||||
- "{interpreter}"
|
||||
- "-m"
|
||||
- pip
|
||||
- install
|
||||
- "-r"
|
||||
- "{manifest_path}"
|
||||
env_vars:
|
||||
PYTHONPATH:
|
||||
operation: prepend
|
||||
value: "{pack_dir}/lib"
|
||||
separator: ":"
|
||||
Reference in New Issue
Block a user