-
Notifications
You must be signed in to change notification settings - Fork 62
Conversation
4 similar comments
a389f64
to
fe8178b
Compare
setup.py
Outdated
@@ -41,7 +41,7 @@ def run_tests(self): | |||
version = re.compile(r".*__version__ = '(.*?)'", | |||
re.S).match(v_file.read()).group(1) | |||
|
|||
requires = ['setuptools', 'pyyaml', 'click>=3.1, <6.7', 'requests', 'IPy'] | |||
requires = ['setuptools', 'pyyaml', 'click>=3.1, >=6.7', 'requests', 'IPy'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to keep the click>=3.1
since >=3.7
will do it too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this is a very big breaking change, form what I read in the original issue form Click, just swapping param, should fix it, and should keep the compact.
Instead of doing this:
@click.option('--bg', '--background', default=False, is_flag=True,
help='Run command in background mode (default=False).')
Do this:
@click.option( '--background', '--bg', default=False, is_flag=True,
help='Run command in background mode (default=False).')
From a quick test I did on the vm.create
it seems to works and keep compact witch the current parameters (still allow the use of both long param version)
setup.py
Outdated
@@ -41,7 +41,7 @@ def run_tests(self): | |||
version = re.compile(r".*__version__ = '(.*?)'", | |||
re.S).match(v_file.read()).group(1) | |||
|
|||
requires = ['setuptools', 'pyyaml', 'click>=3.1, <6.7', 'requests', 'IPy'] | |||
requires = ['setuptools', 'pyyaml', 'click>=3.1, >=6.7', 'requests', 'IPy'] | |||
|
|||
tests_require = ['pytest', 'pytest-cov', 'tox'] | |||
if sys.version_info < (2, 7): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With Click >= 7.0
python 2.6
is deprecated so this should not be needed anymore
supported version are: python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
@MoiTux It was just a test, i will not do the breaking changes :) |
3327ac0
to
bd3a1f1
Compare
- drop support of python 2.6 and 3.3 - must be click >= 7.0
bd3a1f1
to
ed97224
Compare
No description provided.