diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml
index 84dab004f8bc9d280ea0ec9bc505874774aede2b..a0a9d1370c19ec590dcc47f36288ea66c0d247f1 100644
--- a/spack-environment/packages.yaml
+++ b/spack-environment/packages.yaml
@@ -294,7 +294,7 @@ packages:
     - '@1.5.3'
   py-pip:
     require:
-    - '@23.1.2'
+    - any_of: ['@23.1.2', '@23.0']
   py-pre-commit:
     require:
     - '@2.20.0'