Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow click versions other than 7.0 #416

Merged
merged 4 commits into from
Jun 14, 2022

Conversation

Gallaecio
Copy link
Member

Fixes #404

@codecov
Copy link

codecov bot commented Mar 18, 2022

Codecov Report

Merging #416 (8c9af23) into master (c300382) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
+ Coverage   89.52%   89.54%   +0.02%     
==========================================
  Files          34       34              
  Lines        2415     2420       +5     
==========================================
+ Hits         2162     2167       +5     
  Misses        253      253              
Impacted Files Coverage Δ
shub/utils.py 82.56% <100.00%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c300382...8c9af23. Read the comment docs.

shub/utils.py Outdated
@@ -830,6 +845,6 @@ def create_scrapinghub_yml_wizard(conf, target='default', image=None):
if image or (image is None and _detect_custom_image_project()):
repository = click.prompt(
"Image repository (leave empty to use Scrapinghub's repository)",
default=True, show_default=False)
default=True, show_default=False, type=_BooleanOrStringParamType())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was failing since click 8.0.1, specifically since pallets/click@ad52b19, which due to default=True was converting string inputs to True as well.

Comment on lines +13 to +16
[testenv:min]
deps =
{[testenv]deps}
-r requirements.txt
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A separate Tox environment to test those “minimum” versions of dependencies, while keeping the rest of the Tox environments testing the latest versions of dependencies.

Copy link
Member

@elacuesta elacuesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kalessin
Copy link
Member

When this PR will be merged?

@elacuesta elacuesta merged commit aea38d7 into scrapinghub:master Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

relax click dependency to make it possible to satisfy other project dependencies
3 participants