build: Update lower bound of click to v8.0.0#1958
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1958 +/- ##
=======================================
Coverage 98.24% 98.24%
=======================================
Files 68 68
Lines 4380 4380
Branches 728 728
=======================================
Hits 4303 4303
Misses 45 45
Partials 32 32
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
* Update lower bound of the supported click versions to v8.0.0 as it is required to support behavior in PR #1909. * Update tests/constraints.txt to use click==8.0.0.
7c00d46 to
096d967
Compare
|
We now know from #1957 (comment) that click as a project only supports the latest release (currently |
|
Note: @kratsg has found in #1957 (comment) that between v7 and v8 the path type changed in click. |
No, this is wrong. Click has a bug and didn't set the path type correctly in v7.0. |

Description
Resolves #1957
clickversions tov8.0.0as it is required to support behavior in PR feat: Handle absolute paths in XML config files (xml2json / readxml) #1909. I'm not actually sure what changed, but from empirical testing something inv8.0.0is needed. :?edit: @kratsg has found in #1957 (comment) that Click v7 has a bug and didn't set the path type correctly.
pyhf/tests/constraints.txt
Line 3 in f01dcf5
to use
click==8.0.0.Checklist Before Requesting Reviewer
Before Merging
For the PR Assignees: