Skip to content

Commit 08dcc1b

Browse files
authored
Merge pull request #1195 from mlco2/release/3.2.7
Release 3.2.7
2 parents 5a1dae4 + d823ce3 commit 08dcc1b

7 files changed

Lines changed: 1136 additions & 1012 deletions

File tree

codecarbon/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.2.6"
1+
__version__ = "3.2.7"

docs/explanation/why.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ codecarbon monitor -- python train.py
4141

4242
## CO₂-equivalents
4343

44-
This package enables developers to track emissions, measured as kilograms of CO₂-equivalents (CO₂eq) in order to estimate the carbon footprint of their work. We use *CO₂-equivalents [CO₂eq]*, which is a standardized measure used to express the global warming potential of various greenhouse gases: the amount of CO₂ that would have the equivalent global warming impact. For computing, which emits CO₂ via the electricity it consumes, carbon emissions are measured in kilograms of CO₂-equivalent per kilowatt-hour. Electricity is generated as part of the broader electrical grid by combusting fossil fuels, for example.
44+
This package enables developers to track emissions, measured as kilograms of CO₂-equivalents (CO₂eq) in order to estimate the carbon footprint of their work. We use *CO₂-equivalents (CO₂eq)*, which is a standardized measure used to express the global warming potential of various greenhouse gases: the amount of CO₂ that would have the equivalent global warming impact. For computing, which emits CO₂ via the electricity it consumes, carbon emissions are measured in kilograms of CO₂-equivalent per kilowatt-hour. Electricity is generated as part of the broader electrical grid by combusting fossil fuels, for example.

docs/how-to/code-of-conduct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Community Moderators take reports of violations seriously and will make every ef
5454

5555
## Addressing and Repairing Harm
5656

57-
**[NOTE: The remedies and repairs outlined below are suggestions based on best practices in code of conduct enforcement. If your community has its own established enforcement process, be sure to edit this section to describe your own policies.]**
57+
**NOTE: The remedies and repairs outlined below are suggestions based on best practices in code of conduct enforcement. If your community has its own established enforcement process, be sure to edit this section to describe your own policies.**
5858

5959
If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.
6060

docs/how-to/contributing.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
<!-- TOC start (generated with https://github.com/derlin/bitdowntoc) -->
66

77
- [Contributing to Code Carbon](#contributing-to-code-carbon)
8-
- [ Have a Question?](#-have-a-question)
9-
- [ Found a Bug?](#-found-a-bug)
10-
- [ Have a Feature Request?](#-have-a-feature-request)
8+
- [Have a Question?](#have-a-question)
9+
- [Found a Bug?](#found-a-bug)
10+
- [Have a Feature Request?](#have-a-feature-request)
1111
- [Alternative ways of contributing](#alternative-ways-of-contributing)
12-
- [ Ready to Contribute!](#-ready-to-contribute)
12+
- [Ready to Contribute!](#ready-to-contribute)
1313
- [Installation](#installation)
1414
- [Some UV commands](#some-uv-commands)
1515
- [Tests](#tests)
1616
- [Stress your computer](#stress-your-computer)
1717
- [Update all dependencies](#update-all-dependencies)
1818
- [Branching and Pull Requests](#branching-and-pull-requests)
1919
- [Debug in VS Code](#debug-in-vs-code)
20-
- [Coding style \&\& Linting](#coding-style--linting)
20+
- [Coding style \&\& Linting](#coding-style-linting)
2121
- [Dependencies management](#dependencies-management)
22-
- [Build Documentation 🖨️](#build-documentation-️)
22+
- [Build Documentation 🖨️](#build-documentation)
2323
- [Release process](#release-process)
2424
- [Test the build in Docker](#test-the-build-in-docker)
2525
- [API and Dashboard](#api-and-dashboard)
@@ -45,13 +45,13 @@ Please see the [FAQ](https://docs.codecarbon.io/latest/explanation/faq/) for que
4545
<!-- TOC --><a name="found-a-bug"></a>
4646
## </a> Found a Bug?
4747

48-
If you've identified a bug in `codecarbon`, please [submit an issue](#issue) to the GitHub repo: [mlco2/codecarbon](https://github.com/mlco2/codecarbon/issues/new). Please also feel free to submit a PR with a fix for the bug!
48+
If you've identified a bug in `codecarbon`, please [submit an issue](https://github.com/mlco2/codecarbon/issues/new) to the GitHub repo: [mlco2/codecarbon](https://github.com/mlco2/codecarbon/issues/new). Please also feel free to submit a PR with a fix for the bug!
4949

5050

5151
<!-- TOC --><a name="have-a-feature-request"></a>
5252
## </a> Have a Feature Request?
5353

54-
Feel free to describe your request by [submitting an issue](#issue) documenting the feature (with its intent) and a PR with a proposed implementation of the feature.
54+
Feel free to describe your request by [submitting an issue](https://github.com/mlco2/codecarbon/issues/new) documenting the feature (with its intent) and a PR with a proposed implementation of the feature.
5555

5656
Before submitting a new issue, please search the issues to make sure there isn't a similar issue already.
5757
New issues can be created within the [GitHub repo](https://github.com/mlco2/codecarbon/issues/new).
@@ -136,7 +136,7 @@ For example: `uv run python -m unittest tests.test_energy.TestEnergy.test_wrapar
136136

137137
Some tests will fail if you do not set *CODECARBON_ALLOW_MULTIPLE_RUNS* with `export CODECARBON_ALLOW_MULTIPLE_RUNS=True` before running test manually.
138138

139-
To test the API, see [how to deploy it](#local_deployement) first.
139+
To test the API, see [how to run it locally](#api) first.
140140

141141
Core and external classes are unit tested, with one test file per class. Most pull requests are expected to contain either new tests or test updates. If you are unusure what to test / how to test it, please put it in the pull request description and the maintainers will help you.
142142

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ edit_uri: edit/master/docs/
99
copyright: "&copy; CodeCarbon"
1010

1111
theme:
12-
name: zensical
1312
favicon: images/favicon.ico
1413
logo: images/codecarbon-logo.svg
1514
palette:

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ dev = [
9797
"scikit-learn", # For documentation examples and tests
9898
]
9999
doc = [
100+
"requests",
100101
"setuptools",
102+
"taskipy",
101103
"zensical",
102104
"mike",
103105
"mkdocstrings[python]>=0.26",
@@ -152,7 +154,7 @@ docs-check-drift = "python scripts/check-docs-drift.py"
152154
carbonboard = "python codecarbon/viz/carbonboard.py"
153155

154156
[tool.bumpver]
155-
current_version = "3.2.6"
157+
current_version = "3.2.7"
156158
version_pattern = "MAJOR.MINOR.PATCH[_TAGNUM]"
157159

158160
[tool.bumpver.file_patterns]

0 commit comments

Comments
 (0)