UPDATE codecarbon recipe using grayskull
{% set name = "codecarbon" %}
-{% set version = "1.0.0" %}
+{% set version = "1.2.0" %}
package:
@@ -8,11 +8,11 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/codecarbon-{{ version }}.tar.gz
- sha256: f4eb1fc5e1fdc3bb35be5e782ece55a0f475cac1403a95af4c5ed68c5c7a7e96
+ sha256: 8a89a321f6ce371abc20b9e9faf2d743d9276cdcd474c1960f194043532d0412
build:
number: 0
- noarch: python
+ skip: true # [py2k]
entry_points:
- carbonboard = codecarbon.viz.carbonboard:main
script: {{ PYTHON }} -m pip install . -vv
@@ -20,16 +20,17 @@ build:
requirements:
host:
- pip
- - python >=3.6
+ - python
run:
- apscheduler
- dash
- dash-bootstrap-components
- - dataclasses # [py<3.7]
+ - dataclasses # [py<37]
- fire
- pandas
+ - py-cpuinfo
- pynvml
- - python >=3.6
+ - python
- requests
test:
@@ -37,12 +38,14 @@ test:
- codecarbon
- codecarbon.core
commands:
+ - pip check
- carbonboard --help
+ requires:
+ - pip
about:
- home: https://github.com/mlco2/codecarbon
- license: MIT
- license_file: LICENSE
+ home: https://pypi.org/project/codecarbon/
+ license_file: PLEASE_ADD_LICENSE_FILE
extra:
recipe-maintainers:
