This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch pre-commit-dps
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 34c3503f1830ee2386371d4ea6152ee29ac2646a
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Thu Apr 11 16:22:03 2024 -0700

    feat: action-specific py deps pinning
---
 .github/workflows/pre-commit.yml    |  2 +-
 requirements/actions.pre-commit.in  |  1 +
 requirements/actions.pre-commit.txt | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index c4386d71d7..307beea5e4 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -37,7 +37,7 @@ jobs:
           brew install norwoodj/tap/helm-docs
       - name: pre-commit
         run: |
-          pip install pre-commit
+          pip install -r requirements/actions.pre-commit.txt
           if ! pre-commit run --all-files; then
             git status
             git diff
diff --git a/requirements/actions.pre-commit.in 
b/requirements/actions.pre-commit.in
new file mode 100644
index 0000000000..416634f528
--- /dev/null
+++ b/requirements/actions.pre-commit.in
@@ -0,0 +1 @@
+pre-commit
diff --git a/requirements/actions.pre-commit.txt 
b/requirements/actions.pre-commit.txt
new file mode 100644
index 0000000000..5150d608b7
--- /dev/null
+++ b/requirements/actions.pre-commit.txt
@@ -0,0 +1,28 @@
+# SHA1:5a0b1bb22ae805d8aebba0f3bf05ab91aceae0d8
+#
+# This file is autogenerated by pip-compile-multi
+# To update, run:
+#
+#    pip-compile-multi
+#
+cfgv==3.4.0
+    # via pre-commit
+distlib==0.3.8
+    # via virtualenv
+filelock==3.13.4
+    # via virtualenv
+identify==2.5.35
+    # via pre-commit
+nodeenv==1.8.0
+    # via pre-commit
+platformdirs==4.2.0
+    # via virtualenv
+pre-commit==3.7.0
+    # via -r requirements/actions.pre-commit.in
+pyyaml==6.0.1
+    # via pre-commit
+virtualenv==20.25.1
+    # via pre-commit
+
+# The following packages are considered to be unsafe in a requirements file:
+# setuptools

Reply via email to