mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.17k stars 177 forks source link

Fix Conda Build #430

Open benoit-cty opened 1 year ago

benoit-cty commented 1 year ago

The conda build fail, see https://github.com/conda-forge/codecarbon-feedstock/pull/20

benoit-cty commented 3 weeks ago

The conda build failed also for CodeCarbon Channel:

Run uibcdf/action-build-and-upload-conda-packages@v1.3.0
Run echo "::group::Information of the trigger event"
Information of the trigger event
Run echo "::group::Checking if the file meta.yaml exists"
Checking if the file meta.yaml exists
Run echo "::group::Building conda package for host platform"
Building conda package for host platform
  conda build . --no-anaconda-upload --output-folder /tmp/compilation-ZRiiddAXIN --python 3.11
  usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
  conda: error: argument COMMAND: invalid choice: 'build' (choose from 'activate', 'deactivate', 'clean', 'compare', 'config', 'create', 'env', 'export', 'info', 'init', 'install', 'list', 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search', 'update', 'upgrade', 'content-trust', 'doctor', 'repoquery')
  Error: Process completed with exit code 2.

Maybe we could move to rattler-build that seems more stable.