diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml
index 6fe7c56b7..15980260e 100644
--- a/.github/workflows/black.yml
+++ b/.github/workflows/black.yml
@@ -17,4 +17,4 @@ jobs:
       - uses: psf/black@stable
         with:
           options: "--check --diff"
-          version: "<2024"
+          version: "<25"