Fix too long WindowsFileLock name
{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/albertvillanova/followers', 'following_url': 'https://api.github.com/users/albertvillanova/following{/other_user}', 'gists_url': 'https://api.github.com/users/albertvillanova/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/albertvillanova/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/albertvillanova/subscriptions', 'organizations_url': 'https://api.github.com/users/albertvillanova/orgs', 'repos_url': 'https://api.github.com/users/albertvillanova/repos', 'events_url': 'https://api.github.com/users/albertvillanova/events{/privacy}', 'received_events_url': 'https://api.github.com/users/albertvillanova/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892913, 'node_id': 'MDU6TGFiZWwxOTM1ODkyOTEz', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/wontfix', 'name': 'wontfix', 'color': 'ffffff', 'default': True, 'description': 'This will not be worked on'}]
[]
["Windows users should disable the max path length limit. It's a nightmare to handle it.\r\nAlso the lock path must not be changed in a random way. Otherwise from another process the lock path might not be the same and the locking mechanism won't work."
 'Do you agree with handling the case where MAX_PATH is not disabled? If not, we can close this PR.\r\n\r\nIf so, would it work a deterministic lock path instead of random?'
 "I'd rather not handle this at all, since there will be other places in the code where the limit will break things"]
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/2222', 'html_url': 'https://github.com/huggingface/datasets/pull/2222', 'diff_url': 'https://github.com/huggingface/datasets/pull/2222.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/2222.patch', 'merged_at': None}
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2222/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}