apache-airflow: remove pcre from build script (#482239)

This commit is contained in:
Sandro
2026-01-21 12:39:38 +00:00
committed by GitHub
@@ -310,13 +310,13 @@ buildPythonPackage rec {
# Updates yarn.lock and package.json
passthru.updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts curl pcre "python3.withPackages (ps: with ps; [ pyyaml ])" yarn2nix
#!nix-shell -i bash -p common-updater-scripts curl "python3.withPackages (ps: with ps; [ pyyaml ])" yarn2nix
set -euo pipefail
# Get new version
new_version="$(curl -s https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html |
pcregrep -o1 'Airflow ([0-9.]+).' | head -1)"
grep -oE 'Airflow [0-9.]+' | head -1 | grep -oE '[0-9.]+')"
update-source-version ${pname} "$new_version"
# Update frontend