Allow using Click 7 with a DeprecationWarning

As long as popular libraries (e.g. Celery) require click 7, depending
on Click 8 in Flask makes it hard to test the latest version (and its
other dependencies) in existing applications.
This commit is contained in:
Adrian Moennich 2021-04-24 20:01:09 +02:00
parent 1a8549debb
commit 26a6cc0f94
5 changed files with 26 additions and 3 deletions

View file

@ -1,6 +1,7 @@
[tox]
envlist =
py{39,38,37,36,py3}
py39-click7
style
typing
docs
@ -14,7 +15,9 @@ deps =
https://github.com/pallets/markupsafe/archive/master.tar.gz
https://github.com/pallets/jinja/archive/master.tar.gz
https://github.com/pallets/itsdangerous/archive/master.tar.gz
https://github.com/pallets/click/archive/master.tar.gz
!click7: https://github.com/pallets/click/archive/master.tar.gz
click7: click<8
examples/tutorial[test]
examples/javascript[test]