Warning when installing flex:
/opt/hostedtoolcache/Python/3.12.10/x64/lib/python3.12/site-packages/flex/__init__.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
link in that error is broken, here's the right link: https://setuptools.pypa.io/en/latest/pkg_resources.html which says:
Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.
Warning when installing flex:
link in that error is broken, here's the right link: https://setuptools.pypa.io/en/latest/pkg_resources.html which says: