Registry /
workflow / apache-airflow-providers-standard
Install & Compatibility
Where this runs
tested against v1.18.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 5.580s · 256.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 23.9s · import 5.210s · 255MB
256MB installed
● package 256MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PythonOperator
✓ from airflow.providers.standard.operators.python import PythonOperator
✗ from airflow.operators.python import PythonOperator
Common operators previously in Airflow core moved to `airflow.providers.standard` in Airflow 2+.
BranchDateTimeOperator
✓ from airflow.providers.standard.operators.datetime import BranchDateTimeOperator
✗ from airflow.operators.datetime import BranchDateTimeOperator
Common operators previously in Airflow core moved to `airflow.providers.standard` in Airflow 2+.
LatestOnlyOperator
✓ from airflow.providers.standard.operators.latest_only import LatestOnlyOperator
✗ from airflow.operators.latest_only import LatestOnlyOperator
This operator was moved to the standard provider as part of modularization.
ExternalTaskSensor
✓ from airflow.providers.standard.sensors.external_task import ExternalTaskSensor
✗ from airflow.sensors.external_task import ExternalTaskSensor
This sensor was moved to the standard provider as part of modularization.
This example demonstrates a basic Airflow DAG using the `PythonOperator` provided by the `apache-airflow-providers-standard` package. Ensure you have Apache Airflow installed (`apache-airflow>=2.11.0`) and then install this provider package. The `PythonOperator` allows you to execute an arbitrary Python callable as an Airflow task.
from __future__ import annotations
import pendulum
from airflow.models.dag import DAG
from airflow.providers.standard.operators.python import PythonOperator
def _print_hello():
print("Hello from Apache Airflow Standard Providers!")
with DAG(
dag_id="standard_provider_quickstart",
start_date=pendulum.datetime(2023, 1, 1, tz="UTC"),
schedule=None,
catchup=False,
tags=["example", "standard", "provider"],
) as dag:
greet_task = PythonOperator(
task_id="greet_with_standard_python_operator",
python_callable=_print_hello,
)
airflow --version
Debug
Known issues
breakingWhen upgrading to Airflow 3.x, many core operators and hooks (e.g., `PythonOperator`, `BaseHook`) were moved from `airflow.operators` or `airflow.sensors` directly into specific provider packages, including `apache-airflow-providers-standard`. This requires updating import paths in existing DAGs.fixUpdate import statements to use the `airflow.providers.standard` path, e.g., `from airflow.providers.standard.operators.python import PythonOperator`.
affects: Airflow 3.x and above (for DAGs migrating from Airflow 2.x)
breakingSupport for Python 3.9 was dropped in `apache-airflow-providers-standard` version 1.4.0. Users on Python 3.9 must upgrade their Python environment to `3.10` or newer to use current provider versions.fixUpgrade Python environment to 3.10, 3.11, 3.12, 3.13, or 3.14.
affects: 1.4.0 and above
deprecatedIn Airflow 3.x, custom operators cannot access the Airflow metadata database directly using database sessions. This change improves security and maintainability.fixUse the Airflow Python Client for programmatic interaction with Airflow resources or utilize `DbApiHook` (e.g., `PostgresHook`, `MySqlHook`) if direct database interaction is essential for external systems.
affects: Airflow 3.x and above
gotchaThe minimum Apache Airflow version supported by this provider is 2.11.0. Installing this provider on older Airflow versions may lead to compatibility issues or automatic, potentially breaking, upgrades of the `apache-airflow` package.fixEnsure your Apache Airflow core installation is version 2.11.0 or newer before installing this provider package.
affects: <1.12.2 (for provider), <2.11.0 (for Airflow core)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'airflow.providers'
This error occurs when the 'airflow.providers' module is not found, often due to missing or incompatible provider packages.
fixEnsure that the required provider packages are installed and compatible with your Airflow version. For example, install the standard provider package using 'pip install apache-airflow-providers-standard'.
ImportError: cannot import name 'BaseOperator' from 'airflow.models'
This error occurs when attempting to import 'BaseOperator' directly from 'airflow.models', which is not supported in newer versions of Airflow.
fixImport 'BaseOperator' from 'airflow.operators.base' instead: 'from airflow.operators.base import BaseOperator'.
RuntimeError: The package `apache-airflow-providers-standard:1.12.1` needs Apache Airflow 2.11.0+
This error occurs when the installed version of the 'apache-airflow-providers-standard' package requires a newer version of Apache Airflow than is currently installed.
fixUpgrade Apache Airflow to version 2.11.0 or higher to be compatible with the installed provider package.
AttributeError: module 'airflow.providers.standard' has no attribute 'exceptions'
This error occurs when attempting to access the 'exceptions' module within 'airflow.providers.standard', which may not exist or be improperly referenced.
fixEnsure that you are importing the correct module and that the 'exceptions' module exists within 'airflow.providers.standard'. Verify the module's availability in the provider's documentation.
ImportError: cannot import name 'ExternalTaskSensor' from 'airflow.sensors.external_task'
This error occurs when the 'ExternalTaskSensor' class is not found in the 'airflow.sensors.external_task' module, possibly due to changes in module structure.
fixImport 'ExternalTaskSensor' from 'airflow.providers.standard.sensors.external_task' instead: 'from airflow.providers.standard.sensors.external_task import ExternalTaskSensor'.
Upgrade
Version history
1.18.0latest on PyPI · released Aug 23, 2026
Audit
Dependencies
apache-airflowrequiredMinimum required Airflow version for this provider.
apache-airflow-providers-common-compatoptionalRequired for `common.compat` extra, which provides compatibility shims.
apache-airflow-providers-openlineageoptionalRequired for `openlineage` extra functionality.