Package: apache-airflow
Apache AirflowApache Airflow(or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.RequirementsApache Airflow is tested with:Main version (dev)Stable version (2.8.2)Python3.8, 3.9, 3.10, 3.113.8, 3.9, 3.10, 3.11PlatformAMD64/ARM64(*)AMD64/ARM64(*)Kubernetes1.25, 1.26, 1.27, 1.28, 1.291.25, 1.26, 1.27, 1.28, 1.29PostgreSQL12, 13, 14, 15, 1612, 13, 14, 15, 16MySQL8.0, Innovation8.0, InnovationSQLite3.15.0+3.15.0+MSSQL2017(**), 2019(**)2017(**), 2019(**)* Experimental**Discontinued in 2.9.0, not recommended for the new installationNote: MySQL 5.x versions are unable to or have limitations with
running multiple schedulers -- please see theScheduler docs.
MariaDB is not tested/recommended.Note: SQLite is used in Airflow tests. Do not use it in production. We recommend
using the latest stable version of SQLite for local development.Note: Airflow currently can be run on POSIX-compliant Operating Systems. For development, it is regularly
tested on fairly modern Linux Distros and recent versions of macOS.
On Windows you can run it via WSL2 (Windows Subsystem for Linux 2) or via Linux Containers.
The work to add Windows support is tracked via#10388, but
it is not a high priority. You should only use Linux-based distros as "Production" execution environment
as this is the only environment that is supported. The only distro that is used in our CI tests and that
is used in theCommunity managed DockerHub imageisDebian Bookworm. We also have support for legacyDebian Bullseyebase image if you want to build a
custom image but it is deprecated and option to do it will be removed in the Dockerfile that
will accompany Airflow 2.9.0 so you are advised to switch toDebian Bookwormfor your custom images.Getting startedVisit the official Airflow website documentation (lateststablerelease) for help withinstalling Airflow,getting started, or walking
through a more completetutorial.Note: If you're looking for documentation for the main branch (latest development branch): you can find it ons.apache.org/airflow-docs.For more information on Airflow Improvement Proposals (AIPs), visit
theAirflow Wiki.Documentation for dependent projects like provider packages, Docker image, Helm Chart, you'll find it inthe documentation index.Installing from PyPIWe publish Apache Airflow asapache-airflowpackage in PyPI. Installing it however might be sometimes tricky
because Airflow is a bit of both a library and application. Libraries usually keep their dependencies open, and
applications usually pin them, but we should do neither and both simultaneously. We decided to keep
our dependencies as open as possible (inpyproject.toml) so users can install different versions of libraries
if needed. This means thatpip install apache-airflowwill not work from time to time or will
produce unusable Airflow installation.To have repeatable installation, however, we keep a set of "known-to-be-working" constraint
files in the orphanconstraints-mainandconstraints-2-0branches. We keep those "known-to-be-working"
constraints files separately per major/minor Python version.
You can use them as constraint files when installing Airflow from PyPI. Note that you have to specify
correct Airflow tag/version/branch and Python versions in the URL.Installing just Airflow:Note: Onlypipinstallation is currently officially supported.While it is possible to install Airflow with tools likePoetryorpip-tools, they do not share the same workflow aspip- especially when it comes to constraint vs. requirements management.
Installing viaPoetryorpip-toolsis not currently supported.There are known issues withbazelthat might lead to circular dependencies when using it to install
Airflow. Please switch topipif you encounter such problems.Bazelcommunity works on fixing
the problem inthis PR <https://github.com/bazelbuild/rules_python/pull/1166>_ so it might be that
newer versions ofbazelwill handle it.If you wish to install Airflow using those tools, you should use the constraint files and convert
them to the appropriate format and workflow that your tool requires.pipinstall'apache-airflow==2.8.2'\--constraint"https://raw.githubusercontent.com/apache/airflow/constraints-2.8.2/constraints-3.8.txt"Installing with extras (i.e., postgres, google)pipinstall'apache-airflow[postgres,google]==2.8.2'\--constraint"https://raw.githubusercontent.com/apache/airflow/constraints-2.8.2/constraints-3.8.txt"For information on installing provider packages, checkproviders.Official source codeApache Airflow is anApache Software Foundation(ASF) project,
and our official source code releases:Follow theASF Release PolicyCan be downloaded fromthe ASF Distribution DirectoryAre cryptographically signed by the release managerAre officially voted on by the PMC members during theRelease Approval ProcessFollowing the ASF rules, the source packages released must be sufficient for a user to build and test the
release provided they have access to the appropriate platform and tools.ContributingWant to help build Apache Airflow? Check out ourcontributing documentation.Official Docker (container) images for Apache Airflow are described inimages.Voting PolicyCommits need a +1 vote from a committer who is not the authorWhen we do AIP voting, both PMC member's and committer's+1sare considered a binding vote.Who uses Apache Airflow?We know about around 500 organizations that are using Apache Airflow (but there are likely many more)in the wild.If you use Airflow - feel free to make a PR to add your organisation to the list.Who maintains Apache Airflow?Airflow is the work of thecommunity,
but thecore committers/maintainersare responsible for reviewing and merging PRs as well as steering conversations around new feature requests.
If you would like to become a maintainer, please review the Apache Airflowcommitter requirements.