Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Test python click 7.0 #276

Merged
merged 1 commit into from
Dec 30, 2018
Merged

Test python click 7.0 #276

merged 1 commit into from
Dec 30, 2018

Conversation

grigouze
Copy link

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

@coveralls
Copy link

coveralls commented Dec 23, 2018

Coverage Status

Coverage increased (+0.001%) to 90.753% when pulling ed97224 on test_click_6.7_7.0 into 81406de on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling a389f64 on test_click_6.7_7.0 into 9758c10 on master.

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']
Copy link
Contributor

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

MoiTux
MoiTux previously requested changes Dec 23, 2018
Copy link
Contributor

@MoiTux MoiTux left a 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):
Copy link
Contributor

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.*",

@grigouze
Copy link
Author

@MoiTux It was just a test, i will not do the breaking changes :)

- drop support of python 2.6 and 3.3
- must be click >= 7.0
@grigouze grigouze changed the title Test python click 6.7/7.0 Test python click 7.0 Dec 30, 2018
@grigouze grigouze merged commit 8cb8de9 into master Dec 30, 2018
@grigouze grigouze deleted the test_click_6.7_7.0 branch December 30, 2018 22:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants