Airflow Workflow component
Development
By default, Airflow runs in a container, started from the repository root with Docker Compose:
docker compose up -d
(or make up). This is the default Airflow used in development and e2e tests, available at
http://localhost:8080.
Local development
Optionally run a local standalone Airflow on the host (in the dev-container) from the repository root. This is mainly for testing Airflow version upgrades and as a backup:
make airflow-start
After execution, the Airflow logs will appear in the terminal. Passwords are pre-written
deterministically to .airflow/simple_auth_manager_passwords.json.generated from the values of .env.
Run make airflow-clean airflow-start to pick up changes to those passwords.
Once started, Airflow can be accessed via browser at http://localhost:8080.
The PORTS tab in the terminal panel also shows which port the Airflow webserver is running on, and VS Code provides "Open in browser" buttons.
If necessary, code changes can be updated for Airflow use immediately by running the command airflow dags reserialize
or make airflow-reserialize from the root of the repository.
Airflow also automatically updates DAG file changes periodically.
Developing DAGs locally
If you want to run the load dem DAG, you can place test data inside the repo root test_data folder, which is automatically mounted to the processing container.
DAG development practices
- When accessing any database, use
@task.dockersince database urls work only inside containers
Updating Airflow
numpy and scipy are pinned in the DAG component because Airflow's upstream constraints file already fixes versions for the whole dependency set, but those two packages need to be kept under explicit control in this repository so the workspace can resolve the Airflow extra consistently across components. Pulling them out of the generated constraints file and pinning them in pyproject.toml makes upgrades repeatable and avoids resolution conflicts when uv add is run.
- Update the Airflow version in
components/dags/pyproject.tomlmanually. - Update required AIRFLOW_VERSION and PYTHON_VERSION in Makefile
- Fetch and normalize the matching constraints file with
make airflow-prepare-constraints.- The helper downloads the upstream Apache Airflow constraints file for the selected Python version, removes the
numpyandscipypins, and writes a local modified copy undercomponents/dags/.airflow/constraints/. - The helper prints the upstream
numpyandscipyversions. Update thenumpyandscipypins incomponents/dags/pyproject.tomlto match.
- The helper downloads the upstream Apache Airflow constraints file for the selected Python version, removes the
- If the backend Airflow client needs to stay in sync, update the pin in
components/backend/pyproject.tomlas well. - Run
uv add --optional airflow apache-airflow[docker,postgres,standard]==<version> --constraint <path-to-modified-constraints>fromcomponents/dags. - Run tests and test standalone usage; remove warning filters or other workarounds required by the old version if necessary.
Special Cases
If there is a need to update dependencies defined by the Airflow constraint file—for example, due to a vulnerability, a bug, or a new feature in a specific provider package:
- Update the Ansible role's constraint file as needed, e.g., for a single package (add a comment explaining why it was updated from the original if necessary).
- Compile new requirements files locally (see commands at the top of the files).
- Test sufficiently.
- Deploy the update to the environments.
NOTE: Updating the shared constraint file for a single Airflow version will simultaneously push the new versions to other environments if a deployment is performed (e.g., for a configuration update) before the update has been sufficiently verified.
Metadata
Release files for pinta-dags 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pinta_dags-0.1.0.tar.gz | 28.5 kB | Without provenance | Details for pinta_dags-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pinta_dags-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pinta_dags-0.1.0-py3-none-any.whl |
Total release size: 69.5 kB
Release files / pinta_dags-0.1.0.tar.gz
| Download URL | pinta_dags-0.1.0.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24565b566bc8f8b0901989a1fc42c9860d4822a685685a1ae3a7e9b6b9c43b5a
|
|
BLAKE2b-256 checksum How to use checksums |
4dc39a6dbf310fbf08b53f626153e7f9ddf14f5efbbfc77e17236f68cef5f2fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pinta_dags-0.1.0-py3-none-any.whl
| Download URL | pinta_dags-0.1.0-py3-none-any.whl |
|---|---|
| Size | 41.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bcf70ae9549d2976afe6f42422d1083828e577a7a63705cedc53474132e363f
|
|
BLAKE2b-256 checksum How to use checksums |
bd6f4ce4d1f9d7f70a828d2b6205b2fc2adf4507af336103dfa69ea07171b523
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pinta-dags 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.