econchick/interrogate

Interrogate has a lower bound on the Click version it can use

bildzeitung opened this issue · 1 comments

Environment

  • interrogate version(s) (interrogate --version: 1.4.0
  • Operating System(s): Linux
  • Python version(s): 3.6.8

Description of the bug

I have a project that uses a particularly old version of Click (v6.7). In version 1.3.0 of interrogate, this is fine, but version 1.4.0 uses the case_sensitive option in click.Choice(), which isn't present in that version.

This isn't a problem with interrogate, as it's perfectly reasonable behaviour, but I think it's reasonable to declare that Click needs to be version 7.x and up.

What you expected to happen

I expected that, at install time, pip would indicate that interrogate requires at least Click v7 and up and that this wasn't being met currently.

How to reproduce (as minimally and precisely as possible)

In a virtual env, install Click v6.7, then install interrogate. Invoking interrogate will cause a stack trace.

Anthing else we need to know?

Not a functional problem with interrogate as such; this is a packaging nicety.

Change merged (thank you, @econchick )! This can be closed out, I think.