Closed vasusen-code closed 2 years ago
It looks like the error is caused by the .dist-info
folder present in the repo. Removing it fixes the problem.
I also noticed this issue mentioned here: https://github.com/LonamiWebs/Telethon/pull/3778#issuecomment-1079651256
@Lonami is there a particular reason why the folder is named .dist-info
? Simply renaming it to e.g. third-party-licenses
should fix the CI.
Another possible fix is pinning setuptools version to setuptools==60.8.2
. The error only occurs with setuptools>=60.9.0
.
is there a particular reason why the folder is named
.dist-info
?
No particular reason, probably read it somewhere. If it can be removed without consequences and it fixes the problem, we should probably do it.
Or maybe it will be fixed in a future setuptools
version?
I'm not very knowledgeable in how setuptools works, but if I remember
correctly, folders with .dist-info
in the name are supposed to be some
sort of package metadata. Setuptools probably chokes on an unexpected
folder content. As a simple solution, I think it would be better to
delete/rename the folder to avoid any possible fututre problems.
пт, 15 апр. 2022 г., 14:03 Lonami @.***>:
is there a particular reason why the folder is named .dist-info?
No particular reason, probably read it somewhere. If it can be removed without consequences and it fixes the problem, we should probably do it.
Or maybe it will be fixed in a future setuptools version?
— Reply to this email directly, view it on GitHub https://github.com/cher-nov/cryptg/issues/17#issuecomment-1100040509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7X4FMH25DRSPXGQXOFRTTVFFEGNANCNFSM5POYTGIQ . You are receiving this because you commented.Message ID: @.***>