I also drop Python 3.8 from CI as it is deprecated https://devguide.python.org/versions/ and use the same Python version everywhere in CI for consistency. I kept 3.8 in supported version to allow our users to continue to use CodeCarbon in 3.8 until it stop working.
Following https://github.com/mlco2/codecarbon/issues/567 it will be better for CodeCarbon to use the env variable CUDA_VISIBLE_DEVICES as a default value for the parameter gpu_ids.
I also drop Python 3.8 from CI as it is deprecated https://devguide.python.org/versions/ and use the same Python version everywhere in CI for consistency. I kept 3.8 in supported version to allow our users to continue to use CodeCarbon in 3.8 until it stop working.