jinjalint icon indicating copy to clipboard operation
jinjalint copied to clipboard

ERROR: black 19.10b0 has requirement attrs>=18.1.0, but you'll have attrs 17.2.0 which is incompatible.

Open allan-simon opened this issue 5 years ago • 2 comments

the requirements.txt state a strict equality on 17.2.0 , is it necessary ? as it seems to make jinjalint incompatible with other popular tool (I can provide a PR if necessary)

allan-simon avatar Nov 20 '19 20:11 allan-simon

This is a big blocker to jinjalint adoption for me as well. @allan-simon have you had the chance to look into what it would take to update attrs? My understanding is "not much".

Black’s dependency is defined as "attrs>=18.1.0", for reference, and attrs has a strict backwards-compat policy, so we could probably use a similarly-open range.

thibaudcolas avatar Mar 24 '20 10:03 thibaudcolas

In the end I’ve fixed this in my fork and decided to use the exact same ranges as black.

thibaudcolas avatar May 21 '20 01:05 thibaudcolas