Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecarbon/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.8"
__version__ = "3.2.9"
2 changes: 0 additions & 2 deletions docs/how-to/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ git push --force-with-lease
- Create a PR bumping the version with `uv run bumpver update --patch`. For a release candidate, use `uv run bumpver update --set-version 3.0.0_rc1`.
- Run `uv run python .github/pyproject_versions.py -c` to check version consistancy.
- Update the dependencies with `uv sync --upgrade`
- Update the API dependencies with `cd carbonserver && uv sync --upgrade && cd ..`
- Export API requirements with `uv run task carbonserver-api-requirements`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why you remove these lines ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there is no need to update the carbonserver anymore. When we release we just update the package and client. Now they have 2 separated pyproject.toml and they do not depend to each other.

We did this on purpose, so dependencies of the package do not affect dependencies on the server and viceversa.
See https://github.com/mlco2/codecarbon/blob/master/pyproject.toml and https://github.com/mlco2/codecarbon/blob/master/carbonserver/pyproject.toml

- [Build Documentation](#build-documentation) with `uv run --only-group doc task docs`.
- Push the changes.
- Merge the PR.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ docs-check-drift = "python scripts/check-docs-drift.py"
carbonboard = "python codecarbon/viz/carbonboard.py"

[tool.bumpver]
current_version = "3.2.8"
current_version = "3.2.9"
version_pattern = "MAJOR.MINOR.PATCH[_TAGNUM]"

[tool.bumpver.file_patterns]
Expand Down
Loading