You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2024/01/17 21:01:50 UTC
(allura) 01/02: pin pre-commit<3.6; python_version<'3.9'
This is an automated email from the ASF dual-hosted git repository.
dill0wn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 7e6d91baf84a3b683e7e11402c4e3f3e87da98c7
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Wed Jan 17 15:22:28 2024 -0500
pin pre-commit<3.6; python_version<'3.9'
---
requirements.in | 3 ++-
requirements.txt | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/requirements.in b/requirements.in
index c242b2c3e..a6302901b 100644
--- a/requirements.in
+++ b/requirements.in
@@ -60,4 +60,5 @@ pytest-sugar
# deployment
gunicorn
-pre-commit
+pre-commit; python_version>="3.9"
+pre-commit<3.6; python_version<"3.9"
diff --git a/requirements.txt b/requirements.txt
index e952476b1..29dccfe32 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -140,7 +140,9 @@ platformdirs==4.1.0
# via virtualenv
pluggy==1.3.0
# via pytest
-pre-commit==3.6.0
+pre-commit==3.6.0 ; python_version >= "3.9"
+ # via -r requirements.in
+pre-commit==3.5.0 ; python_version < "3.9"
# via -r requirements.in
profanityfilter==2.0.6
# via -r requirements.in