raulcd opened a new issue, #38239: URL: https://github.com/apache/arrow/issues/38239
### Describe the bug, including details regarding any error messages, version, and platform. On the test-conda-python nightly builds we have enabled Warnings as errors: https://github.com/apache/arrow/pull/37018 This is currently causing some nightly failures due to a new DeprecationWarning being raised by aiohttp due to s3fs: https://github.com/ursacomputing/crossbow/actions/runs/6489587884/job/17624099591#step:6:8770 ``` self = <aiohttp.client.ClientSession object at 0x7f184812d770> name = '_resolve_charset' val = <function _default_fallback_charset_resolver at 0x7f184b380260> def __setattr__(self, name: str, val: Any) -> None: if name not in self.ATTRS: > warnings.warn( "Setting custom ClientSession.{} attribute " "is discouraged".format(name), DeprecationWarning, stacklevel=2, ) E DeprecationWarning: Setting custom ClientSession._resolve_charset attribute is discouraged opt/conda/envs/arrow/lib/python3.10/site-packages/aiohttp/client.py:354: DeprecationWarning ``` [test-conda-python-3.10](https://github.com/ursacomputing/crossbow/actions/runs/6489587884/job/17624099591) [test-conda-python-3.11](https://github.com/ursacomputing/crossbow/actions/runs/6489588138/job/17624100425) [test-conda-python-3.12](https://github.com/ursacomputing/crossbow/actions/runs/6489588226/job/17624100615) [test-conda-python-3.8](https://github.com/ursacomputing/crossbow/actions/runs/6489588248/job/17624100846) [test-conda-python-3.9](https://github.com/ursacomputing/crossbow/actions/runs/6489588349/job/17624101074) ### Component(s) Continuous Integration, Python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
