Skip to content

Instantly share code, notes, and snippets.

@jaraco
Created February 7, 2018 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaraco/cf95de7c74d39d86d633761de2af61f3 to your computer and use it in GitHub Desktop.
Save jaraco/cf95de7c74d39d86d633761de2af61f3 to your computer and use it in GitHub Desktop.
$ git diff
diff --git a/tox.ini b/tox.ini
index e3e9110b..f55fd493 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,6 @@
[tox]
envlist = python
+minversion = 2.4
[testenv]
usedevelop = True
$ git commit -a -m "Declare minimum version of tox to support extras."
[master 34a72d55] Declare minimum version of tox to support extras.
1 file changed, 1 insertion(+)
$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 338 bytes | 338.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To https://github.com/cherrypy/cherrypy
f1001b34..34a72d55 master -> master
$ rwt 'tox<2.4' -- -m tox
Collecting tox<2.4
Downloading tox-2.3.2-py2.py3-none-any.whl (40kB)
100% |████████████████████████████████| 40kB 1.4MB/s
Collecting virtualenv>=1.11.2 (from tox<2.4)
Using cached virtualenv-15.1.0-py2.py3-none-any.whl
Collecting py>=1.4.17 (from tox<2.4)
Using cached py-1.5.2-py2.py3-none-any.whl
Collecting pluggy<0.4.0,>=0.3.0 (from tox<2.4)
Downloading pluggy-0.3.1-py2.py3-none-any.whl
Installing collected packages: virtualenv, py, pluggy, tox
Successfully installed pluggy-0.3.1 py-1.5.2 tox-2.3.2 virtualenv-15.1.0
ERROR: tox version is 2.3.2, required is at least 2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment