summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2023-01-02 13:05:22 +0700
committerJeff Forcier <jeff@bitprophet.org>2023-01-09 16:41:28 -0500
commit34ccbb7b7e590b7ab8452265124afcb15b2a61fe (patch)
tree02ff3863f03b1ec21db1289fad78d044dc0406af
parent0779aa15ce1c9e1660bc60c6fb16919ed9baaf9d (diff)
update dev-requirements pins
pin 3.6 and then 3.7+
-rw-r--r--dev-requirements.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 3ed9eb40..27068550 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,10 +1,17 @@
# Invocations for common project tasks
invoke==1.6.0
invocations==2.6.0
-pytest==4.4.2
-pytest-relaxed==1.1.5
+# Pinning has some disadvantages when testing across multiple Python versions
+# 3.6 specific pins
+pytest==4.4.2;python_version=='3.6'
+pytest-relaxed==1.1.5;python_version=='3.6'
# pytest-xdist for test dir watching and the inv guard task
-pytest-xdist==1.28.0
+pytest-xdist==1.28.0;python_version=='3.6'
+# 3.7+ specific
+pytest==7.2.0;python_version>='3.7'
+pytest-xdist==3.1.0;python_version>='3.7'
+pytest-relaxed==2.0.0;python_version>='3.7'
+
mock==2.0.0
# Linting!
flake8==3.8.3