[1.0] Httpx migration (#3328)
* first httpx integration
* more migration
* some fixes
* download workflow should work
* Fix repocard and error utils tests
* fix hf-file-system
* gix http utils tests
* more fixes
* fix some inference tests
* fix test_file_download tests
* async inference client
* async code should be good
* Define RemoteEntryFileNotFound explicitly (+some fixes)
* fix async code quality
* torch ok
* fix hf_file_system
* fix errors tests
* mock
* fix test_cli mock
* fix commit scheduler
* add fileno test
* no more requests anywhere
* fix test_file_download
* tmp requests
* Update src/huggingface_hub/utils/_http.py
Co-authored-by: célina <hanouticelina@gmail.com>
* Update src/huggingface_hub/utils/_http.py
Co-authored-by: célina <hanouticelina@gmail.com>
* Update src/huggingface_hub/hf_file_system.py
Co-authored-by: célina <hanouticelina@gmail.com>
* not async
* fix tests
---------
Co-authored-by: célina <hanouticelina@gmail.com>