mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
compat fixes for click>=8.0
This commit is contained in:
parent
2243e025b7
commit
b1d6d5ede6
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
pathlib2
|
||||
typing; python_version < "3.5"
|
||||
click
|
||||
click<8.0; python_version < "3.6"
|
||||
click; python_version >= "3.6"
|
||||
toml
|
||||
lexid
|
||||
colorama>=0.4
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ except ImportError:
|
|||
pass # no need to fail because of missing dev dependency
|
||||
|
||||
|
||||
click.disable_unicode_literals_warning = True
|
||||
setattr(click, 'disable_unicode_literals_warning', True) # for click<8.0
|
||||
|
||||
logger = logging.getLogger("bumpver.cli")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue