Replace deprecated logging.warn with logging.warning
{'login': 'hugovk', 'id': 1324225, 'node_id': 'MDQ6VXNlcjEzMjQyMjU=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1324225?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/hugovk', 'html_url': 'https://github.com/hugovk', 'followers_url': 'https://api.github.com/users/hugovk/followers', 'following_url': 'https://api.github.com/users/hugovk/following{/other_user}', 'gists_url': 'https://api.github.com/users/hugovk/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/hugovk/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/hugovk/subscriptions', 'organizations_url': 'https://api.github.com/users/hugovk/orgs', 'repos_url': 'https://api.github.com/users/hugovk/repos', 'events_url': 'https://api.github.com/users/hugovk/events{/privacy}', 'received_events_url': 'https://api.github.com/users/hugovk/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Replace `logging.warn` (deprecated in [Python 2.7, 2011](https://github.com/python/cpython/commit/04d5bc00a219860c69ea17eaa633d3ab9917409f)) with `logging.warning` (added in [Python 2.3, 2003](https://github.com/python/cpython/commit/6fa635df7aa88ae9fd8b41ae42743341316c90f7)).

* https://docs.python.org/3/library/logging.html#logging.Logger.warning
* https://github.com/python/cpython/issues/57444

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/4539/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/4539', 'html_url': 'https://github.com/huggingface/datasets/pull/4539', 'diff_url': 'https://github.com/huggingface/datasets/pull/4539.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/4539.patch', 'merged_at': '2022-06-22T12:51:51Z'}