This is an automated email from the ASF dual-hosted git repository. ash pushed a commit to branch upgrade-prek in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 7f4cbab15d9c5bf51120ed70dbd76957532b5d21 Author: Ash Berlin-Taylor <a...@apache.org> AuthorDate: Tue Sep 16 09:19:10 2025 +0100 Upgrade prek to fix `invalid option: --no-pager` on CI failure If the hooks made any changes, instead of seeing the git diff we would see this error instead. --- .github/actions/install-prek/action.yml | 2 +- Dockerfile.ci | 2 +- dev/breeze/README.md | 2 +- dev/breeze/doc/ci/02_images.md | 2 +- dev/breeze/pyproject.toml | 2 +- .../commands/release_management_commands.py | 2 +- dev/breeze/uv.lock | 46 +++++++++++----------- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/actions/install-prek/action.yml b/.github/actions/install-prek/action.yml index 9289c000aaa..5926e0a60b0 100644 --- a/.github/actions/install-prek/action.yml +++ b/.github/actions/install-prek/action.yml @@ -27,7 +27,7 @@ inputs: default: "0.8.17" # Keep this comment to allow automatic replacement of uv version prek-version: description: 'prek version to use' - default: "0.2.0" # Keep this comment to allow automatic replacement of prek version + default: "0.2.1" # Keep this comment to allow automatic replacement of prek version skip-prek-hooks: description: "Skip some prek hooks from installation" default: "" diff --git a/Dockerfile.ci b/Dockerfile.ci index d7f708510bc..6a48b0a19c8 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1678,7 +1678,7 @@ COPY --from=scripts common.sh install_packaging_tools.sh install_additional_depe ARG AIRFLOW_PIP_VERSION=25.2 # ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main" ARG AIRFLOW_UV_VERSION=0.8.17 -ARG AIRFLOW_PREK_VERSION="0.2.0" +ARG AIRFLOW_PREK_VERSION="0.2.1" # UV_LINK_MODE=copy is needed since we are using cache mounted from the host ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \ diff --git a/dev/breeze/README.md b/dev/breeze/README.md index 1972ba120e6..dd09eb72316 100644 --- a/dev/breeze/README.md +++ b/dev/breeze/README.md @@ -135,6 +135,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PREK. --------------------------------------------------------------------------------------------------------- -Package config hash: 69dbe16e1e5cd15584658d419c1d2b5605ebeb0d264acc525563a23aaeea82ed15dd61b2ce292a1bec408cae112378960b39f6ee4aa0b1341e35d2ca6ad47351 +Package config hash: 5640b626a3ee4d7e1cb1ed176546ea890a4a57f5456e5cf84b840f782cace8449b42b0071498ece2dac865c543c5d05cb6976ac34e7c8a65bc07949103eab607 --------------------------------------------------------------------------------------------------------- diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md index 208fe14699e..cb05c2a1956 100644 --- a/dev/breeze/doc/ci/02_images.md +++ b/dev/breeze/doc/ci/02_images.md @@ -444,7 +444,7 @@ can be used for CI images: | `ADDITIONAL_DEV_APT_ENV` | | Additional env variables defined when installing dev deps | | `AIRFLOW_PIP_VERSION` | `25.2` | `pip` version used. | | `AIRFLOW_UV_VERSION` | `0.8.17` | `uv` version used. | -| `AIRFLOW_PREK_VERSION` | `0.2.0` | `prek` version used. | +| `AIRFLOW_PREK_VERSION` | `0.2.1` | `prek` version used. | | `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. | | `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation | diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml index 82a65725b67..2d84b2d04e4 100644 --- a/dev/breeze/pyproject.toml +++ b/dev/breeze/pyproject.toml @@ -60,7 +60,7 @@ dependencies = [ "jinja2>=3.1.5", "jsonschema>=4.19.1", "packaging>=25.0", - "prek>=0.2.0", + "prek>=0.2.1", "psutil>=5.9.6", "pygithub>=2.1.1", "pytest-xdist>=3.3.1", diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py index d1330fa57f4..088d6ea38c3 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -257,7 +257,7 @@ AIRFLOW_UV_VERSION = "0.8.17" AIRFLOW_USE_UV = False GITPYTHON_VERSION = "3.1.45" RICH_VERSION = "14.1.0" -PREK_VERSION = "0.2.0" +PREK_VERSION = "0.2.1" HATCH_VERSION = "1.14.1" PYYAML_VERSION = "6.0.2" diff --git a/dev/breeze/uv.lock b/dev/breeze/uv.lock index 580132093fb..604d4da7364 100644 --- a/dev/breeze/uv.lock +++ b/dev/breeze/uv.lock @@ -75,7 +75,7 @@ requires-dist = [ { name = "jinja2", specifier = ">=3.1.5" }, { name = "jsonschema", specifier = ">=4.19.1" }, { name = "packaging", specifier = ">=25.0" }, - { name = "prek", specifier = ">=0.2.0" }, + { name = "prek", specifier = ">=0.2.1" }, { name = "psutil", specifier = ">=5.9.6" }, { name = "pygithub", specifier = ">=2.1.1" }, { name = "pytest", specifier = ">=8.3.3" }, @@ -1023,28 +1023,28 @@ wheels = [ [[package]] name = "prek" -version = "0.2.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/dc/35/2f5d0844e336af23a7705f448f864c168070bfddb725d4a9f70e6feb9a8b/prek-0.2.0.tar.gz", hash = "sha256:4c5c73751fccb8186d54fd24544b45c8ee6197e83728dda55ef48d1895728f27", size = 3111203, upload-time = "2025-09-14T04:52:46.99Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1f/46/f341dcf9f913749584db3524c1362c17ee5f45ad9e82099073596c40f09c/prek-0.2.0-py3-none-linux_armv6l.whl", hash = "sha256:119e1c95cef1565b7f3c65ccec6d0348fbd5565d9583c488722df3306bc178b6", size = 4314951, upload-time = "2025-09-14T04:52:20.444Z" }, - { url = "https://files.pythonhosted.org/packages/3c/78/9b4703fda6b888ee189f56dfdfcb6b2677865d67133b963157bed0aad323/prek-0.2.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:d5d9881b9ac156e98db7958b3a4b21e992418df21e4cd9db755f95918d41a83e", size = 4427511, upload-time = "2025-09-14T04:52:22.374Z" }, - { url = "https://files.pythonhosted.org/packages/9e/32/2ff248f35150555d9ecceb035cca25173b12ea3b9e92d0f8a8ebc863bfd3/prek-0.2.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:ac300c62ad6dd20db912aaf39576a6e36ebd617dd61a9efd2012ae2ae75955ed", size = 4130931, upload-time = "2025-09-14T04:52:23.706Z" }, - { url = "https://files.pythonhosted.org/packages/5e/7b/ce435ab6c10457bda3a81588c5429ce4970df483218925cfec88cc469fb3/prek-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:f212ce156ee26197cbe314685196b6e1d1d45714e871d682667804b7d295eaa6", size = 4293307, upload-time = "2025-09-14T04:52:25.324Z" }, - { url = "https://files.pythonhosted.org/packages/82/f3/236397a2bccce1243eae1ce2cf44eaac5b0de275f77c6efb6e26ad97c76b/prek-0.2.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:97ea5f16ea008653efebbe6cef2b5057d1cb6b94cde6543038ba382b7cc887ee", size = 4248950, upload-time = "2025-09-14T04:52:26.944Z" }, - { url = "https://files.pythonhosted.org/packages/e8/bb/f8d6a1f9f24740e65a183f15158b51c2d1a3ddc1680e8d52aeb83c6c895f/prek-0.2.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0db65bf7f3bca5d51930918ef376b7dffa328dd5545745e544821a7cf9e6752d", size = 4548363, upload-time = "2025-09-14T04:52:28.56Z" }, - { url = "https://files.pythonhosted.org/packages/36/5a/6a10eecb5b53136bec2fd07ffef2d021076e0f0a4199810abb6dc3e44d86/prek-0.2.0-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:67772d94e3d5ba56b300294ea7f2081a4f9f795f78d2c0d90b2ed0f822e0a085", size = 4970950, upload-time = "2025-09-14T04:52:30.274Z" }, - { url = "https://files.pythonhosted.org/packages/0a/88/63ed4ff105af5f7f2e6ff7b001ce66a309acc5fcd63c96eaf86850d5fdca/prek-0.2.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f4e639e543911cc2c0369d0ad7717ef19d721838fb6c06f9fcf2bafdefeef7a4", size = 4903426, upload-time = "2025-09-14T04:52:31.876Z" }, - { url = "https://files.pythonhosted.org/packages/04/d2/d727ae4260ee51dad9d09d8c2accd4b470785425fe2ab9d49410b70239f9/prek-0.2.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:acd34181168132f96dce2861bcddca202413a9174c94f8ad6e5aa64edcebcd34", size = 5026416, upload-time = "2025-09-14T04:52:33.494Z" }, - { url = "https://files.pythonhosted.org/packages/33/1c/c5bdf4d8c7e5f0c459517901171b685dff35c848e52fbbb49d1e08f27ce8/prek-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d4fcd17367d289413b32aa72d8bb45959e9e3a3078e0770cc0f887ead51d203", size = 4637846, upload-time = "2025-09-14T04:52:34.986Z" }, - { url = "https://files.pythonhosted.org/packages/22/61/6801655fe64b278c4d96fffde4375502fdd66f047b42d3f59d3843fd871a/prek-0.2.0-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:98bbaa51ad5d1e8433538a22b4fa1905dc9b728a78866f0624bf7f3f7eb8ddbd", size = 4329890, upload-time = "2025-09-14T04:52:36.529Z" }, - { url = "https://files.pythonhosted.org/packages/ed/6d/76ad8d2f50c7990e8e60a5fdc7502e946f273d9beaa0d6000a314a842c38/prek-0.2.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:6b53c333b69c3636b950f0604b5dd22fd39b564c98a9ad0018740ecae26ffc0e", size = 4418015, upload-time = "2025-09-14T04:52:37.711Z" }, - { url = "https://files.pythonhosted.org/packages/3d/e7/096d243dd5a8d7c085afde6a58158cfb587e4a5a3e475549e5d3eb8a57a8/prek-0.2.0-py3-none-musllinux_1_1_armv7l.whl", hash = "sha256:e27f8fd1bc2238f6851506cf2d21cfb518eb9fc931f4f6ddf5c902d6c101fa90", size = 4225337, upload-time = "2025-09-14T04:52:39.042Z" }, - { url = "https://files.pythonhosted.org/packages/8a/2a/8981fa44aeba53b48ec326177f595c3a5d6805d069dcd01a1cb599579cb3/prek-0.2.0-py3-none-musllinux_1_1_i686.whl", hash = "sha256:e423a429e0e322df4386acd48f3a2287668f36c67b6494994633f894d07cf0b7", size = 4444904, upload-time = "2025-09-14T04:52:40.261Z" }, - { url = "https://files.pythonhosted.org/packages/a1/78/2d0ed02efce886b47add02899ce4e2ff6b1482e9b0388864ba4ed8dd3805/prek-0.2.0-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:a91055853dd87739e720b18d9a67557abde87dfd649220635631e38f713ccb37", size = 4710850, upload-time = "2025-09-14T04:52:41.451Z" }, - { url = "https://files.pythonhosted.org/packages/ec/b6/3c1973991259026df92e1278a0a1f681de277b55af520b86ade752b6ea61/prek-0.2.0-py3-none-win32.whl", hash = "sha256:9b5e1c08b2e4fff61cc32620cf09774e9bffcd3c36af19342459208d3de975ac", size = 4159872, upload-time = "2025-09-14T04:52:43.073Z" }, - { url = "https://files.pythonhosted.org/packages/dc/da/8f02c08ea7c03be325a4a25911c4856b04465195590747a72c905e16ce85/prek-0.2.0-py3-none-win_amd64.whl", hash = "sha256:0ef9f406e5a54cb1eac4e02b1f18bb16390dd1cafc38a56a8abc54556df900ab", size = 4711819, upload-time = "2025-09-14T04:52:44.42Z" }, - { url = "https://files.pythonhosted.org/packages/ea/69/c49d98bffdd1f05ae5dffda2db0cb921ecca2212a7d9bb02103f6de197b3/prek-0.2.0-py3-none-win_arm64.whl", hash = "sha256:6b718f11591d7e7a22c4679dc62854cc4f66d7e1f7814cb53e84e72d449f1c0f", size = 4408367, upload-time = "2025-09-14T04:52:45.832Z" }, +version = "0.2.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/93/0a/b2dabb829aebc4f98a10b8f5fac0e6ca4746463d5183622457e5727f5705/prek-0.2.1.tar.gz", hash = "sha256:60543afbf72ad9ce27a5fc4301179f75f473dc4cc221ff53b2bad18ff6eac998", size = 2919831, upload-time = "2025-09-15T15:14:23.382Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/50/f2/17fdccf51bef753a2ef50e936363779ff20a528ae4e197d9c9e84be5bc53/prek-0.2.1-py3-none-linux_armv6l.whl", hash = "sha256:bdd0e71ab6a63a9b81c268539ec249bfe1cd2b50fc39823727b256b0ba67d342", size = 4320246, upload-time = "2025-09-15T15:13:54.103Z" }, + { url = "https://files.pythonhosted.org/packages/5e/fe/9a3b119ef905c8c52c17cfce1a4230d8f2f9ddfe6c0815ae52b7d616a038/prek-0.2.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:99c1611aea27c75cb76d23f7ca68440478b4372b2184e4c383af06a3ea9e8b8e", size = 4433105, upload-time = "2025-09-15T15:13:55.678Z" }, + { url = "https://files.pythonhosted.org/packages/eb/93/a3cdfcd934dd2e661a2012efbed0e5ae8b2889ef313bd42f811826b5d259/prek-0.2.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:46ec9a2dc2f536ddc3381f9bc9461afbb48b767fe0159687b9a8302a0d910f9c", size = 4135455, upload-time = "2025-09-15T15:13:57.118Z" }, + { url = "https://files.pythonhosted.org/packages/5d/d8/458d5dabe5b8671bd6054f46d8952f07b69be755d98370dc3fe80c797087/prek-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:dd97d0f8d9ec3f1749d3b1c8c3310d2d946976d1ad58e54b1dce3e177b09cbb7", size = 4301081, upload-time = "2025-09-15T15:13:58.528Z" }, + { url = "https://files.pythonhosted.org/packages/e3/32/100086408852c008e0b5e44c6fe93b5f00cc968e072029f02c7f71375350/prek-0.2.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:38c22c63bd18a29b27d4c56804fe10e5ae7e2a2b9d1ec2bcdbaebda9d80b2f86", size = 4256669, upload-time = "2025-09-15T15:14:00.191Z" }, + { url = "https://files.pythonhosted.org/packages/00/ad/dadcb1a781db3c0feed31ab8c299494fe31ef6d5cd4de4929dfe381dafb6/prek-0.2.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e198ddf56591cbe455ffa2106caa6aa8f0df11348a328a68e46e9a0e877f80f6", size = 4553470, upload-time = "2025-09-15T15:14:01.586Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a1/58ee7dc741ddc49816edf9ba5a0bf4cefa9d1ccd2fcdcf988d525773bdfc/prek-0.2.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:5be95c28c65249576e43f7894869f09db7ed62602b70b456c777881304abebf5", size = 4979408, upload-time = "2025-09-15T15:14:03.165Z" }, + { url = "https://files.pythonhosted.org/packages/b0/96/178ebf0523c47e43263e1e0f1f719d0f0b6fe8932876243eb1c9584457e7/prek-0.2.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0355c6c67afe7aa376685cb5747a45e3ba9bcc091d82547ec3725ceafbe139da", size = 4913040, upload-time = "2025-09-15T15:14:04.656Z" }, + { url = "https://files.pythonhosted.org/packages/da/3f/773f1cab7284b0dd4a2f26df68dadc8b3c5a4ff5eaa6f3baec9e0fabeac9/prek-0.2.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b784eb070ac3cfea9598f8590f8aafcdae5a871a9bcfd88535c6f6f71f315252", size = 5031851, upload-time = "2025-09-15T15:14:06.075Z" }, + { url = "https://files.pythonhosted.org/packages/da/bb/c5205b9e8561ca8e3925fb0072dc81c5a6ab57863e216aacabafb7bee40d/prek-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:300ace6901a78a203030e76750d62cff1bdc9d64b08a998029a160a2435a5575", size = 4644291, upload-time = "2025-09-15T15:14:07.582Z" }, + { url = "https://files.pythonhosted.org/packages/b1/d5/240376457cafc8a7e97ef72e2bbebd1c8d97dab2577c13a8b0485a8c4b49/prek-0.2.1-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:0b214b14d9c1cb4a3324206486cd2ea19e0c960bd2770785c49dbdaa2476a292", size = 4336230, upload-time = "2025-09-15T15:14:08.995Z" }, + { url = "https://files.pythonhosted.org/packages/1d/70/a502fefb622186ce1d0f815f516fd368614fe5ecc596d0759d80e50da7d3/prek-0.2.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a087ad088e08633469fe5b35411b6fcbc7c1bc78163f3fe2105142550917b581", size = 4424328, upload-time = "2025-09-15T15:14:10.627Z" }, + { url = "https://files.pythonhosted.org/packages/97/d1/815eebdf760b8cdc129bd9818fd88b5ef91bddef4b1ce1dd1bae9aefbcb4/prek-0.2.1-py3-none-musllinux_1_1_armv7l.whl", hash = "sha256:e3b9f592af89d95b6a189f90f9f5c694086d340c79725ad165ae526a3be0be49", size = 4235667, upload-time = "2025-09-15T15:14:12.234Z" }, + { url = "https://files.pythonhosted.org/packages/cc/6d/c86fceb0d2c4070a9218f8cb2b82b07cc2118acc910fa066ef8a78d1d15b/prek-0.2.1-py3-none-musllinux_1_1_i686.whl", hash = "sha256:194e7d898742f0e6565049f8e907e1237e5921b09c4c39ea572176e06296a745", size = 4449681, upload-time = "2025-09-15T15:14:13.723Z" }, + { url = "https://files.pythonhosted.org/packages/97/a6/73678720f9f5a03288bac0ae7dc04fbe96fb01c4b31404480154a0776cc6/prek-0.2.1-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:483aa6f021874d887553cda5d651d989b2fa38f2334faffd53438a46999fc7ad", size = 4717583, upload-time = "2025-09-15T15:14:15.487Z" }, + { url = "https://files.pythonhosted.org/packages/a2/1c/5a401e3c8db696f24bfa599022c743797af7a26bb1d5a8f79c5b0270afab/prek-0.2.1-py3-none-win32.whl", hash = "sha256:fbe488b478b47d9a7134d145b6564b90bfa1a1f7fec6bc7d7945aaa9a85f80cb", size = 4168471, upload-time = "2025-09-15T15:14:17.315Z" }, + { url = "https://files.pythonhosted.org/packages/1d/70/cf844f271171e629dc29a496130317333867c6bcc02cc357eb80969ab328/prek-0.2.1-py3-none-win_amd64.whl", hash = "sha256:f066681ffb0f4de4c3a74dfb56cf417751ee2df2c38e2ed6af78d5e15262aa5d", size = 4719355, upload-time = "2025-09-15T15:14:18.784Z" }, + { url = "https://files.pythonhosted.org/packages/20/63/1625310edb28937719eedfffcbd6e4728dd4d27f777a3f72fdf8c445976b/prek-0.2.1-py3-none-win_arm64.whl", hash = "sha256:97c8367e226930600dfad28405f091a0bc88cc601bfa66ace42ce1cd38e3ee92", size = 4414447, upload-time = "2025-09-15T15:14:20.43Z" }, ] [[package]]