summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2020-10-10 18:51:35 +0300
committerGitHub <noreply@github.com>2020-10-10 18:51:35 +0300
commit3059caf1eeb34fa0c2e645832e52c29d156488ca (patch)
tree19aaa11deb36f93c90b3d75dd0789b3722ed1c3f
parent55127b2142a7047678aaf6d4fe29e8b01048feaf (diff)
downloadpytest-3059caf1eeb34fa0c2e645832e52c29d156488ca.tar.gz
Put smoke test deps in requirements.txt for Dependabot (#7806)
-rw-r--r--.github/dependabot.yml11
-rw-r--r--testing/plugins_integration/requirements.txt15
-rw-r--r--tox.ini17
3 files changed, 27 insertions, 16 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..507789bf5
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+version: 2
+updates:
+- package-ecosystem: pip
+ directory: "/testing/plugins_integration"
+ schedule:
+ interval: weekly
+ time: "03:00"
+ open-pull-requests-limit: 10
+ allow:
+ - dependency-type: direct
+ - dependency-type: indirect
diff --git a/testing/plugins_integration/requirements.txt b/testing/plugins_integration/requirements.txt
new file mode 100644
index 000000000..0763d24e7
--- /dev/null
+++ b/testing/plugins_integration/requirements.txt
@@ -0,0 +1,15 @@
+anyio[curio,trio]==2.0.0
+django==3.1.1
+pytest-asyncio==0.14.0
+pytest-bdd==4.0.1
+pytest-cov==2.10.1
+pytest-django==3.10.0
+pytest-flakes==4.0.2
+pytest-html==2.1.1
+pytest-mock==3.3.1
+pytest-rerunfailures==9.1.1
+pytest-sugar==0.9.4
+pytest-trio==0.6.0
+pytest-twisted==1.13.2
+twisted==20.3.0
+pytest-xvfb==2.0.0
diff --git a/tox.ini b/tox.ini
index daaf9a7b6..5a4a85e55 100644
--- a/tox.ini
+++ b/tox.ini
@@ -119,22 +119,7 @@ pip_pre=true
download=true
install_command=python -m pip --use-feature=2020-resolver install {opts} {packages}
changedir = testing/plugins_integration
-deps =
- anyio[curio,trio]
- django
- pytest-asyncio
- pytest-bdd
- pytest-cov
- pytest-django
- pytest-flakes
- pytest-html
- pytest-mock
- pytest-rerunfailures
- pytest-sugar
- pytest-trio
- pytest-twisted
- twisted
- pytest-xvfb
+deps = -rtesting/plugins_integration/requirements.txt
setenv =
PYTHONPATH=.
# due to pytest-rerunfailures requiring 6.2+; can be removed after 6.2.0