reuse 4.0.2 specifies attrs>=21.1. When I pip install reuse on a Travis-CI Ubuntu Jammy (22.04) runner pip tells me "already satisfied by attrs version 21.2 in /usr/lib/python3/dist-packages". But when I run reuse it errors out with ModuleNotFound for attrs.
When I run on my local Ubuntu Jammy, attrs 23.2 is installed and reuse works. So I added pip3 install --upgrade attrs to our Travis-CI script. attrs is upgraded to 23.2 and reuse works.
Conclusion: reuse 4.0.2 needs a newer version of attrs than 21.2; its version specifier is wrong.
reuse 4.0.2 specifies
attrs>=21.1
. When Ipip install reuse
on a Travis-CI Ubuntu Jammy (22.04) runnerpip
tells me "already satisfied byattrs
version 21.2 in/usr/lib/python3/dist-packages
". But when I runreuse
it errors out with ModuleNotFound forattrs
.When I run on my local Ubuntu Jammy,
attrs
23.2 is installed andreuse
works. So I addedpip3 install --upgrade attrs
to our Travis-CI script.attrs
is upgraded to 23.2 and reuse works.Conclusion: reuse 4.0.2 needs a newer version of attrs than 21.2; its version specifier is wrong.